graph-toolkit
    Preparing search index...

    Function fromMermaid

    • Parses simple Mermaid flowcharts: a --> b, a --- b, a -->|3| b, node labels such as n0["name"]. Vertex ids are labels when given, else keys. The graph is directed when any --> appears. Subgraphs, styling and chained edges are not supported.

      Parameters

      • text: string

      Returns Graph