pipeline2dot

lsst.ctrl.mpexec.pipeline2dot(pipeline: Pipeline | Iterable[TaskDef], file: Any) None

Convert Pipeline into GraphViz digraph.

This method is mostly for documentation/presentation purposes. Unlike other methods this method does not validate graph consistency.

Parameters:
pipelinelsst.pipe.base.Pipeline

Pipeline description.

filestr or file object

File where GraphViz graph (DOT language) is written, can be a file name or file object.

Raises:
OSError

Raised if the output file cannot be opened.

ImportError

Raised if the task class cannot be imported.

Deprecated since version v27.0: pipeline2dot should now be imported from lsst.pipe.base.dot_tools. Will be removed in v29.