Open atifsyedali opened 5 years ago
That would be nice, but it would increase complexity of the system a lot I think.
Currently Mermaid graphs are generated by the browser directly, and the server is lightweight. To make such an integration, you would need a new API to generate the graphs server-side, that needs to communicate with the underlying graphviz binary.
The problem is how to install the graphviz binary, as I could not find any native wrappers for NodeJS allowing to install it along npm dependencies 😞 And I don't think requiring all users to install graphviz manually is a good idea.
In the meantime, you can always use http://www.gravizo.com if you have online access, that will do the job :)
Just came across this: https://github.com/mdaines/viz.js
Some more links:
Would be really nice to have PlantUML supported. This along with DOT is the default diagramming supported in all Markdown editors in Jetbrains IDEs like IDEA and Webstorm.