Dependency graphs for component(1) projects
Pull request Compare This branch is 8 commits behind componentjs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
.gitignore
.npmignore
History.md
Makefile
Readme.md
package.json

Readme.md

component-graph

Dependency graphs for component(1).

Installation

$ npm install -g component-graph

Also requires graphviz:

$ brew install graphviz

Example

$ cd myproject && component graph && open out.png

Usage


  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]

Types

dot

twopi

fdp

License

MIT