InterconnectionRenderer

class InterconnectionRenderer

A reusable interconnection renderer to DOT graph.

Members defined in InterconnectionRenderer (4 members)

indent

RW

Indentation level

__init__

InterconnectionRenderer constructor.

render

Render a self-contained interconnection diagram.

render_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.

Attributes

property indent: int

Indentation level

Methods

__init__(indent: int = 0) None

InterconnectionRenderer constructor.

indent argument controls initial indentation, this is primarily useful when combining multiple renderers.

render(arg: syside.experimental.viz.Graph, /) str

Render a self-contained interconnection diagram.

render_body(arg: syside.experimental.viz.Graph, /) 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.