Skip to main content

to_graphviz()

Render a cell graph, SheetGraph, or SeriesGraph as GraphViz DOT.

Usage

Source

to_graphviz(
    graph,
    *,
    label_fn=None,
    highlight=None,
    rankdir="TB",
    include_formula_on_nodes=True,
    max_formula_length=120
)

Formula-label options apply to cell graphs. Sheet and series graphs emit one node per worksheet or bound series and label each consolidated edge with its cell-edge count. Fully guarded quotient edges are dashed.