component-graph

Dependency graphs for component(1)

component-graph

Dependency graphs for component(1).

$ npm install -g component-graph

Also requires graphviz:

$ brew install grapviz
$ cd myproject && component graph --out graph.png
 
  Usage: component-graph [options]
 
  Options:
 
    -h, --help           output usage information
    -t, --type <name>    graph type [neato|twopi|fdp|dot]
    -f, --format <name>  set output format [png]
    -o, --out <path>     output to the <path> [out.png]
 

MIT