export
export
#
Export methods bound onto Procedure — JSON and Graphviz.
Thin node-side wrappers so a node exports itself without the caller reaching for
the exporter functions: node.to_json() and node.to_graphviz(). The
machinery lives in capturegraph.procedures.procedure.exporting; those modules
import Procedure back, so each wrapper imports its exporter lazily.
__repr__(self)
#
The node's DAG as pretty-printed JSON.
Equivalent to this node's to_json.
Source code in capturegraph-lib/capturegraph/procedures/procedure/methods/export.py
to_graphviz(self, group_by_depth=False)
#
This node's DAG as a Graphviz diagram for visualization.
Source code in capturegraph-lib/capturegraph/procedures/procedure/methods/export.py
to_json(self, indent=4, target_schema=None)
#
This node's DAG as a JSON string in the cross-platform wire form.
See procedure_to_json.