You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe (and I could be horrible wrong), that the issue is in the file packages/mermaid/src/diagrams/class/classRenderer-v2.js on line 254, where the relations are iterated and the edgeData.id is assigned with a count cnt.
Instead if the id was assigned with more lexical term such as
Proposal
Currently when an edge path is created in a class diagram, it produces an
id
which is just with a count.Example:
In this case the two paths are assigned ids of
id1
andid2
This prevents selection of specific edgePaths for specific CSS styling - an issue described in this StackOverflow question:
https://stackoverflow.com/questions/74908612/mermaid-class-diagram-hide-conceal-certain-nodes-and-links-edgepaths
I believe (and I could be horrible wrong), that the issue is in the file
packages/mermaid/src/diagrams/class/classRenderer-v2.js
on line 254, where therelations
are iterated and theedgeData.id
is assigned with a countcnt
.Instead if the id was assigned with more lexical term such as
Example
This should produce something like the following where the ids of the two paths are
id_Animal_Zebra
andid_Animal_Lion
Screenshots
No response
The text was updated successfully, but these errors were encountered: