visualizer
visualizer
#
A procedure DAG as a Graphviz flowchart.
One box per node (its label, kind and settings), one edge per data-flow input (labeled with the input name) and per substep (labeled with its step number), so the picture shows the same structure the wire form carries.
procedure_to_graphviz(procedure, group_by_depth=False)
#
Render a Procedure DAG as a Graphviz diagram.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
procedure
|
Procedure
|
The root procedure to visualize (any procedure in the DAG). |
required |
group_by_depth
|
bool
|
Rank nodes by their depth in the hierarchy, so each level lays out on one row. |
False
|
Returns:
| Type | Description |
|---|---|
Digraph
|
A Graphviz |