Skip to content

DanweDE/cf-content-model-graph.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reads a input.csv file in the same folder and creates Graphviz dot markup.

node src/index.js

Installation

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

Drawing the graph

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published