Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
justin-schema opened this issue Oct 31, 2024 · 1 comment

Comments

@justin-schema
Copy link

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants