grapher.to_mermaid()
Render a cell graph, SheetGraph, or SeriesGraph as a Mermaid flowchart.
Usage
grapher.to_mermaid(
graph,
*,
label_fn=None,
max_nodes=100,
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 use a dashed arrow.