graph2dot¶
-
lsst.ctrl.mpexec.
graph2dot
(qgraph: QuantumGraph, file: Any) → None¶ Convert QuantumGraph into GraphViz digraph.
This method is mostly for documentation/presentation purposes.
Parameters: - qgraph: `pipe.base.QuantumGraph`
QuantumGraph instance.
- file : str or file object
File where GraphViz graph (DOT language) is written, can be a file name or file object.
Raises: OSError
is raised when output file cannot be open.ImportError
is raised when task class cannot be imported.