sinedied / hads

:books: Markdown superpowered documentation for Node.js
MIT License
167 stars 28 forks source link

PlantUML Support #35

Open atifsyedali opened 5 years ago

atifsyedali commented 5 years ago

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.

sinedied commented 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.

sinedied commented 5 years ago

In the meantime, you can always use http://www.gravizo.com if you have online access, that will do the job :)

atifsyedali commented 5 years ago

Just came across this: https://github.com/mdaines/viz.js

atifsyedali commented 5 years ago

Some more links: