ndspflow.workflows.create_graph

ndspflow.workflows.create_graph(wf, npad=2)[source]

Create a networkx graph of the workflow.

Parameters
wfndspflow.core.workflow.WorkFlow

Workflow.

npadint, optional, default: 2

Number of zeros to pad node names with.

Returns
graphnetworkx.DiGraph

Directed workflow graph.