Replies: 1 comment
-
the code to register some shapes:
any way to load a library? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just create my own lib and then export them into a .xml file.
But it seems that they cannot be rendered correctly.
This case first occurred when I load a file with some extra shapes which named "resistors", and found that only when I modify the shape name in .xml file like this:
When I modify "mxgraph.electrical.resistors.resistor_2" to "Attenuator",it works correctly.
Now I defined some cell to my lib,but I didn't find a way to do like that.And they a not shapes but file:
My final purpose is to display my diagram in a vue project and add some event, no need for edit functions:
Any help will be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions