Creating Graphviz output - ashish-gehani/SPADE GitHub Wiki
SPADE includes support for sending all the provenance metadata from the SPADE kernel to a single file in Graphviz DOT format.
To do this, add the Graphviz storage before sending provenance metadata (by adding a SPADE reporter):
-> add storage Graphviz output=/tmp/provenance.dot
Adding storage Graphviz... done
At this point, any provenance metadata sent will result in corresponding elements in the /tmp/provenance.dot
file. (Note that the file will be overwritten if it already existed.)
To stop further provenance metadata from being sent to the file, the Graphviz storage can be removed:
-> remove storage Graphviz
Shutting down storage Graphviz... done
Assuming Graphviz is installed, the /tmp/provenance.dot
file can be rendered with:
dot -Tsvg -o /tmp/provenance.svg /tmp/provenance.dot
The resulting file /tmp/provenance.svg
can be opened with a Web browser:
firefox /tmp/provenance.svg