Mermaid-Chart / issue-tracker

Other
11 stars 2 forks source link

[BUG] Colons in the labels for relations of class diagrams return a syntax error #106

Open justin-schema opened 4 weeks ago

justin-schema commented 4 weeks ago

Describe the bug

The following line produces a syntax error when using a class diagram

Metrics --> Organization : "gist:isAbout"

To Reproduce

Expected behavior

The relation should be labelled as gist:isAbout

Screenshots

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

I use this diagram type to make models of RDF graphs. It would be great if I can use the namespace prefixes with the appropriate syntax inside the labels to support reuse of these diagrams into making actual RDF

jgreywolf commented 4 days ago

Closing this as this is a MermaidJs bug, and not Mermaid Chart. See this issue: https://github.com/mermaid-js/mermaid/issues/4488