plantuml icon indicating copy to clipboard operation
plantuml copied to clipboard

Graphviz dependency

Open paulvi opened this issue 6 years ago • 5 comments

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.

paulvi avatar Jun 09 '18 07:06 paulvi

J2V8 is https://github.com/eclipsesource/j2v8
Where is GraphViz .js script?

paulvi avatar Jun 09 '18 07:06 paulvi

Graphviz (not required)

is said here https://github.com/shd101wyy/markdown-preview-enhanced/blob/master/docs/diagrams.md#plantuml

paulvi avatar Jun 09 '18 08:06 paulvi

Found https://github.com/mdaines/viz.js

paulvi avatar Jun 09 '18 09:06 paulvi

You'll find more information about vizjs here http://plantuml.com/vizjs and here https://github.com/plantuml/vizjs

arnaudroques avatar Jun 09 '18 09:06 arnaudroques

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.

boessu avatar Oct 11 '18 11:10 boessu