Command Line Interface
The command line interface is useful both for exporting graphs in a standard format (graphviz or graphml) as well as for testing the internals of the tool.
Running the command line interface:
./bin/GraphTool [-f
Description of the command line parameters:
- -f specify output format , valid output formats are "graphml", "graphviz" or "csv". graphviz is default if nothing else specified.
- -m specify a comma separated list of SWUs to graph (if not specified all SWUs will be graphed by default).
- -l run a layout algorithm to provide x,y values for a layout
- -r recursive, plot all dependencies and dependents recursively
- -X provide a min/max dependency filter in the format "-X min_dependency:max_dependency"
- -x provide a filter XML file to load
- -b run a dummy filter for testing purposes (blue colour filter)
- -D don't plot dependencies, that is don't include dependencies (if -r is specified this has not effect)
- -P dont't plot dependents (if -r is specified this has not effect)
The GraphViz program will print the requested graph format on stdout. You can pipe it to a program such as dotty
from the GraphViz package which can be used to generate images from the outputted format. You can also load the generated files in graphing software such as tulip
.