Replies: 1 comment
-
![]() |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Situation:
I am currently working on a kind of mermaid editor. The user can enter some mermaid code and that is being rendered via mermaid-js. I am using Gradio for the whole implementation. It works for almost every type of graph I have tried, except for the ZenUML type. If I try to render any ZenUML Graph, I get the following error:
My Code:
I use the following code to display my mermaid graph:
Trying to google the problem has not yielded any helpful results that would be useful to me.
I was wondering if using a local instance of the Live Editor could be used to render the graph and I could then display that. However, trying to save a ZenUML Graph with the Live Editor as .PNG or .SVG also does not seem to work correctly. The example code from https://mermaid.js.org/syntax/zenuml.html:
This shows up correctly in the editor, but saving it as .SVG results in a broken graph:
I would be grateful for any information that might help me to display a ZenUML graph.
Thanks in advance for any tips :)
Beta Was this translation helpful? Give feedback.
All reactions