digraph-generator
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i digraph-generator

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • aleung