nested_graphviz#
- maize.utilities.visual.nested_graphviz(flow: Graph, max_level: int = 9223372036854775807, coloring: Literal['nesting', 'status'] = 'nesting', labels: bool = True, _dot: graphviz.Digraph | None = None, _level: int = 0) graphviz.Digraph [source]#
Create a graphviz digraph instance from a workflow or graph.
- Parameters:
flow – Workflow to convert
_dot – Graphviz dot for recursive internal passing
_level – Current nesting level for internal passing
- Returns:
Graphviz object for visualization
- Return type:
graphviz.Digraph