plantuml
plantuml copied to clipboard
Graphviz dependency
It would be nice to install Graphviz automatically,
or use it embeddable alternatives
From https://modeling-languages.com/interview-plantuml/
There is now a weird solution that does work: using a port to Javascript of GraphViz and running it on the J2V8 engine. I have also partially translated GraphViz source from C to Java (which is a huge and painful task). This allows PlantUML to fully run in pure Java environment.
J2V8 is https://github.com/eclipsesource/j2v8
Where is GraphViz .js script?
Graphviz (not required)
is said here https://github.com/shd101wyy/markdown-preview-enhanced/blob/master/docs/diagrams.md#plantuml
Found https://github.com/mdaines/viz.js
You'll find more information about vizjs here http://plantuml.com/vizjs and here https://github.com/plantuml/vizjs
This integrate an old version of viz.js. The reason why it was never updated is simply because the integration is surprisingly solid and the performance is stunning (never change a running system if you don't need to ;-). we can update that to a new version if needed, but I would like to test that properly before, as the already available integration runs here since years without any problems; even with fairly big diagrams.