Hi @nidi3, and thanks for graphviz-java — I've used it happily in production for years.
Now that the Foreign Function & Memory API is final in the JDK, I put together a small experiment that binds the native libgvc directly from Java — no dot subprocess and no JS engine: https://github.com/manticore-projects/graphviz-ffm. It renders SVG/PNG/PDF in-process against whatever current Graphviz you link, and can build the graph straight through cgraph.
It's far narrower in scope than graphviz-java, and the native/FFM requirement makes it less portable than the viz.js path — but I thought the approach might interest you, or even be useful one day as an optional engine alongside the existing ones.
Would love any thoughts, and I'm happy to share what I learned wrestling with cgraph/gvc through Panama. Either way, thanks for all the work on this project!
Hi @nidi3, and thanks for graphviz-java — I've used it happily in production for years.
Now that the Foreign Function & Memory API is final in the JDK, I put together a small experiment that binds the native libgvc directly from Java — no dot subprocess and no JS engine: https://github.com/manticore-projects/graphviz-ffm. It renders SVG/PNG/PDF in-process against whatever current Graphviz you link, and can build the graph straight through cgraph.
It's far narrower in scope than graphviz-java, and the native/FFM requirement makes it less portable than the viz.js path — but I thought the approach might interest you, or even be useful one day as an optional engine alongside the existing ones.
Would love any thoughts, and I'm happy to share what I learned wrestling with cgraph/gvc through Panama. Either way, thanks for all the work on this project!