• Converts mermaid code (potentially produced by graphToMermaid) to an url that presents the graph in the mermaid editor.

    Parameters

    • code: string

      code to convert

    • edit: boolean = false

    Returns string