autoflow-graphviz is a plugin for autoflow, the flow control rules engine, which can use graphviz to generate flow diagrams for the dependencies
For more information on
autoflow the lightweight flow control rules engine: http://github.com/jeffbski/autoflow
Generate graphviz diagrams for flow definitions that:
First install the open source graphviz software if not already installed on your system. You can find all about it at http://www.graphviz.org/ It can be downloaded or installed via a package manager.
brew install graphviz # mac OS Xapt-get install graphviz # ubuntu and debian linux
This should put graphviz binaries on your path, autoflow-graphviz uses
dot, so make sure that
dot is on your path, then you can install autoflow-graphviz.
npm install autoflow-graphviz # install locally
npm install -g autoflow-graphviz # installs globally
Pull from github - http://github.com/jeffbski/autoflow-graphviz
# if you installed locallynode_modules/bin/autoflow-graphviz JSFilePath# OR if using globallyautoflow-graphviz JSFilePath
Usage: autoflow-graphviz <JSPath ...> [options]Options:-h, --help output this usage information-V, --version output the version number-t, --type <type> type of output (png, pdf, gif, dot), default: png-i, --include <flowName[,flowName,...]> limit graphing to only these flowNames-o, --output <outDir> output directory (should exist), default to cwd (.)