How to call GraphViz from java and how to call GraphViz functions using java? What are the necessary jar files that are to be included inorder to access the GraphViz library for
There seems to be a solution for graphviz in java without dot binary: https://github.com/nidi3/graphviz-java
From the github page it says:
To execute the graphviz layout engine, one of these options is used:
- If the machine has graphviz installed and a dot command is available, spawn a new process running dot.
- Use this javascript version of graphviz and execute it on the V8 javascript engine. This is done with the bundled J2V8 library.
- Alternatively, the javascript can be executed on Java's own Nashorn or GraalVM engine.
I have not tested it yet though