However, there are some drawbacks of using DOT : the computation is done by an external program (dot.exe on Windows, dot on linux), and that means that :
There is a work-in-progress to have a full Java implementation of PlantUML. However, even if this is somehow working, this is not finished yet.
Recently, some user points out another possible solution (We thank him by the way!).
This means that it is possible to use PlantUML without installing GraphViz (which can be useful when you do not have administration right for example). To do so, in addition to plantuml.jar, you must have:
So, having the three files plantuml.jar, vizjs.jar and j2v8_XXXXX-3.1.6.jar in the very same folder (this is important) you can run PlantUML without having GraphViz installed.
Finally, you have to set up the
GRAPHVIZ_DOT environment variable value to
(or through the command line with -D flag or -graphvizdot flag).
Then, you can double-check your configuration by running the usual:
@startuml testdot @enduml
Note that this is only working with Java 8 (because of J2V8). For complex diagrams (especially with labels on arrow), the solution is not working very well.
An issue has been opened on viz.js side (see Error when generating graph).
However, in that case, PlantUML falls back to some degrated solution.
HOME NEWS MAP