Effort to decouple PlantUML from graphviz

0 votes
asked May 28, 2016 in Wanted features by anonymous

I see on your website that you are investigating the use of Smetana to decouple from grapviz.  I was just wondering if you had considered https://github.com/nidi3/graphviz-java for this purpose. I have no experience with it but it appears to have taken a different route to achieve a similar goal. Of course it may have introduced new undesirable dependencies?

commented Nov 16, 2016 by anonymous
Here is something similar: https://github.com/gboersma/jdot

1 Answer

0 votes
answered May 30, 2016 by plantuml (183,480 points)
Thanks for pointing this out!
This looks very interesting. Integrating this with PlantUML should be possible, and even easiest to do than our own Smetana translation.
(Because it generates a SVG file, so we can reuse the existing code we wrote for regular GraphViz use).

However, it does not parse DOT files. You have to build a graph using objects with some specific API.
We've done something similar with Smetana (except that our API is different)
Honestly the graphviz-java API is really better/prettier than ours, so maybe we are going to copy this API so that both smetana and graphviz-java use a similar API.

We'll see, we are still thinking about all this. Right now, we keep graphviz-java as a possible B-plan.

Anyway, thanks again for pointing this!
commented Feb 3 by Serano
Hi, I've tried the visjs and java smetana integration for a plantuml integration and both are not supporting fully arrows/relationship for UML class diagrams. So it seems that the only way to produce correct UML diagrams with PlantUML is via Graphviz or am I wrong? Is there any progress to get rid of the dot executable?
commented Feb 4 by plantuml (183,480 points)
Smetana is indeed still underwork.
However, vizjs ( http://plantuml.com/vizjs ) should be fully functional (except maybe on larger diagrams).
Could you post here the diagram that is not working for you ?
Thanks
commented Feb 5 by anonymous
I've just created an issue => https://github.com/plantuml/vizjs/issues/1
...