Reads a input.csv
file in the same folder and creates Graphviz dot markup.
node src/index.js
Clone this repository:
git clone https://github.com/DanweDE/cf-content-model-graph.js.git
cd cf-content-model-graph.js
Then install dependencies to get started:
nvm use
npm install
The generated dot markup can either be copy pasted to viz-js.com
or the output can be piped directly to the dot
command to generate a rendered graph: Graphviz installation:
node . --file path/to/input.csv | dot -o graph.svg -T svg -K dot
Instead of -K dot
any other Graphviz layout engine like neato
, fdp
or circo
can be used to influence the layout of the generated graph.