1.0.1 • Published 8 years ago

digraph-generator v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Digraph Generator

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

Example

Prepare input in a CSV file:

npm.io

Will generate directed graph:

npm.io

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