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
lsst.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.
- qgraph
- Raises:
- OSError
Raised if the output file cannot be opened.
- ImportError
Raised if the task class cannot be imported.
Deprecated since version v27.0: graph2dot should now be imported from lsst.pipe.base.dot_tools. Will be removed in v29.