Skip to content

view

Functions:

Name Description
view

Visualize the graph via graphviz.

view

view(
    node: Node, format: Literal["png", "svg", "dot"]
) -> str

Visualize the graph via graphviz.

Parameters:

Name Type Description Default
node Node

The node to visualize.

required
format Literal['png', 'svg', 'dot']

The format to render the graph in.

required

Returns:

Type Description
str

The path to the rendered graph.