digraph-generator

Generate dependency graph from CSV file

Usage no npm install needed!

<script type="module">
  import digraphGenerator from 'https://cdn.skypack.dev/digraph-generator';
</script>

README

Digraph Generator

CLI utility to generate directed graph. The description of the digraph is from CSV file.

Example

Prepare input in a CSV file:

Will generate directed graph:

Usage

$ digraph --help
/usr/local/bin/digraph [options] <csv-file>

Options:
  --image              Output image format
                                    [choices: "png", "svg", "eps"] [default: "svg"]
  -s, --export-source  Export plantuml source
  --example            Create an example csv file in current directory
  --version            Show version number
  --help               Show help

Known Issue: Generating png format sometimes got blank or half output. It might be a bug inside underlay library used by digraph.

Install

Prerequisite

You need to have these software installed:

Install

$ npm install digraph-generator -g