dot Labs

Submodule for rendering DOT graphs.

Index

Classes

InterconnectionRenderer

A reusable interconnection renderer to DOT graph.

NestedRenderer

A reusable nested renderer to DOT graph.

Functions

render_interconnection

Render a self-contained interconnection diagram.

render_interconnection_body

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.

render_nested

Render a self-contained nested diagram.

render_nested_body

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 a compound=true statement in the root scope to correctly clip edges to nodes with nested children.


󰊕 Functions

render_interconnection(graph: syside.experimental.viz.Graph, indent: int = 0) str

Render a self-contained interconnection diagram.

If rendering multiple diagrams, prefer reusing InterconnectionRenderer instead 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 InterconnectionRenderer instead 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 NestedRenderer instead 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 a compound=true statement in the root scope to correctly clip edges to nodes with nested children.

If rendering multiple diagrams, prefer reusing NestedRenderer instead to improve performance.