Converts mermaid code (potentially produced by graphToMermaid) to an url that presents the graph in the mermaid editor.
code to convert
if true, the url will point to the editor, otherwise it will point to the viewer
Converts mermaid code (potentially produced by graphToMermaid) to an url that presents the graph in the mermaid editor.