grapher.to_mermaid()

Usage

Source

grapher.to_mermaid(
    graph,
    *,
    label_fn=None,
    max_nodes=100,
    include_formula_on_nodes=True,
    max_formula_length=120
)