I am currently developing a webapp in Java for which the main output is a graph in the dot-format. For the visualization part I want to use CanViz which needs xdot as input. So far I couldn't find any Java-Library which converts dot to xdot. Does anyone know such a Library?
我目前正在开发一个Java的webapp,其主要输出是点格式的图形。对于可视化部分,我想使用需要xdot作为输入的CanViz。到目前为止,我找不到任何将dot转换为xdot的Java库。有谁知道这样的图书馆?
I already tried running "dot graph.cv -Txdot -ograph-xdot.gv" via exec, unfortunately that did not work. (Cannot run program "dot": error=2, No such file or directory)
我已经尝试通过exec运行“dot graph.cv -Txdot -ograph-xdot.gv”,遗憾的是这不起作用。 (无法运行程序“dot”:error = 2,没有这样的文件或目录)
Thanks in advance, Moritz
莫里茨提前谢谢你
1 个解决方案
#1
0
Just for completion:
刚完成:
http://www.loria.fr/~szathmar/off/projects/java/GraphVizAPI/index.php
provides a nice wrapper for calling dot from Java.
提供了一个很好的包装器,用于从Java调用dot。
#1
0
Just for completion:
刚完成:
http://www.loria.fr/~szathmar/off/projects/java/GraphVizAPI/index.php
provides a nice wrapper for calling dot from Java.
提供了一个很好的包装器,用于从Java调用dot。