-
-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
classDiagram
doesn't allow colons in class names
#1635
Comments
@init-dcat-ap-de and @persidskiy, Did you find any workaround for this ? |
@mmngreco |
I will focus on this issue and see if I can make it work |
@mmngreco This issue should be resolved after #1877 PR has been merged... |
Would be nice to be able to use colons in relationship labels too. Backticks on relationship labels do not seem to work on mermaid.live. I would like to use the CURIE rdf:type (instead of type):
|
@aharth the code that you provided works in mermaid live as of 03/17/2023 - I am not sure when this changed, but it is possible to use : in names for classes as well as relationships |
@jgreywolf, do you have an example for using : in relationships? The following does not work for me on mermaid live:
|
Do you mean like this? |
I would need colons also in the labels of the edges. E.g., Con:tains. |
So the issue is actually not resolved. |
I am facing the same issue. It would be nice if we were able to define strings delimited by '`' for labels too. This would allow the usage of |
I found a workaround using "#58", e.g., dc#58;isPartOf for dc:isPartOf. It is suboptimal, but it works. |
I'm trying to use mermaid for creating an class diagram in a semantic web context. There, colons are needed for prefixes:
Also an issue for @persidskiy , see #1266 (comment)
The text was updated successfully, but these errors were encountered: