dot Labs
Submodule for rendering DOT graphs.
Index
Classes
A reusable interconnection renderer to DOT graph. |
||
A reusable nested renderer to DOT graph. |
Functions
Render a self-contained interconnection diagram. |
||
Render only the contents of an interconnection diagram, i.e. without the
surrounding |
||
Render a self-contained nested diagram. |
||
Render only the contents of a nested diagram, i.e. without the
surrounding |
Functions
- render_interconnection(graph: syside.experimental.viz.Graph, indent: int = 0) str
Render a self-contained interconnection diagram.
If rendering multiple diagrams, prefer reusing
InterconnectionRendererinstead to improve performance.
- render_interconnection_body(graph: syside.experimental.viz.Graph, indent: int = 0) str
Render only the contents of an interconnection diagram, i.e. without the surrounding
digraph. This can be useful if you want to add your own options to the rendered diagram, or insert its contents to another diagram.If rendering multiple diagrams, prefer reusing
InterconnectionRendererinstead to improve performance.
- render_nested(graph: syside.experimental.viz.Graph, indent: int = 0) str
Render a self-contained nested diagram.
If rendering multiple diagrams, prefer reusing
NestedRendererinstead to improve performance.
- render_nested_body(graph: syside.experimental.viz.Graph, indent: int = 0) str
Render only the contents of a nested diagram, i.e. without the surrounding
digraph. This can be useful if you want to add your own options to the rendered diagram, or insert its contents to another diagram. Note that there needs to be acompound=truestatement in the root scope to correctly clip edges to nodes with nested children.If rendering multiple diagrams, prefer reusing
NestedRendererinstead to improve performance.