Closed BoovendanM closed 1 year ago
draw.io already supports mermaid, just insert the the mermaid code. Here's how to insert mermaid code: https://drawio-app.com/blog/create-mermaid-diagrams-in-draw-io/.
Looking forward to use the embedded draw.io with mermaid script dynamically remoted to the drawio in program..
To achieve this need to convert the mermaid script to mxgraph xml which drawio understands..
It's a good idea @BoovendanM, but I think it's out of scope for the mermaid-cli
project (especially since none of maintainers of mermaid-cli
have Draw.IO or MXGraph experience).
My feeling is that this would be a separate package, maybe named something like mermaid-to-mxgraph
?
convert to xml mxgraphmodel which is supported by draw.io.
This feature will be highly helpful to load the mermaid script generated through ai to draw io for further modifications