Reads a input.csv file in the same folder and creates Graphviz dot markup.
node src/index.jsClone this repository:
git clone https://github.com/DanweDE/cf-content-model-graph.js.git
cd cf-content-model-graph.jsThen install dependencies to get started:
nvm use
npm installThe 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 dotInstead of -K dot any other Graphviz layout engine like neato, fdp or circo
can be used to influence the layout of the generated graph.