pipeline2dot

lsst.ctrl.mpexec.pipeline2dot(pipeline, file)

Convert Pipeline into GraphViz digraph.

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

Parameters
pipelinepipe.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 is raised when output file cannot be open.
ImportError is raised when task class cannot be imported.
MissingTaskFactoryError is raised when TaskFactory is needed but not
provided.