Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

digraph-generator

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

install

npm i digraph-generator

Downloadsweekly downloads

6

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability