-
Notifications
You must be signed in to change notification settings - Fork 77
Creating Graphviz output
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
This material is based upon work supported by the National Science Foundation under Grants OCI-0722068, IIS-1116414, and ACI-1547467. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
- Setting up SPADE
- Storing provenance
-
Collecting provenance
- Across the operating system
- Limiting collection to a part of the filesystem
- From an external application
- With compile-time instrumentation
- Using the reporting API
- Of transactions in the Bitcoin blockchain
- Filtering provenance
- Viewing provenance
-
Querying SPADE
- Illustrative example
- Transforming query responses
- Protecting query responses
- Miscellaneous