GraphViz 的纯 Java 重新实现?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/654294/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Pure Java reimplementation of GraphViz?
提问by paweloque
Is there an Open Source java alternative to GraphViz? I'm aware of the existence of Grappa which basically wraps the Graph interface to GraphViz as an JavaAPI. However the layouting is still done by the GraphViz binaries.
是否有 GraphViz 的开源 java 替代品?我知道 Grappa 的存在,它基本上将 Graph 接口作为 JavaAPI 包装到 GraphViz。然而,布局仍然由 GraphViz 二进制文件完成。
I'm looking for a pure-java, open source library providing the same functions and layouting algorithms as GraphViz.
我正在寻找一个纯 Java 的开源库,它提供与 GraphViz 相同的功能和布局算法。
采纳答案by DrDee
You can have a look at JUNG (Java Universal Network/Graph Framework)which has visualization and analytics functions. It's open source.
您可以查看具有可视化和分析功能的JUNG(Java 通用网络/图形框架)。它是开源的。
回答by Joachim Sauer
回答by Mark
回答by Mike Chen
回答by Big Rich
Interestingly, the Eclipse project has an SWT/JFace component/framework capable of displaying and generating (import/export) Graphviz's 'DOT' format, in pure Java:
有趣的是,Eclipse 项目有一个 SWT/JFace 组件/框架,能够以纯 Java 显示和生成(导入/导出)Graphviz 的“DOT”格式:
ZEST (home page & download links)
See http://wiki.eclipse.org/Graphviz_DOT_as_a_DSL_for_Zestfor usage examples.
有关用法示例,请参阅http://wiki.eclipse.org/Graphviz_DOT_as_a_DSL_for_Zest。
Although ZEST is touted as an Eclipse plugin, it does seem that the DOT-manipulation API's can be used standalone and external to an Eclipse installation.
尽管 ZEST 被吹捧为 Eclipse 插件,但 DOT 操作 API 似乎可以独立使用,也可以在 Eclipse 安装外部使用。
To clarify, the DOT functionality is a part of the ZEST 2functionality, which itself is a sub-component of the GEF4project.
澄清一下,DOT 功能是ZEST 2功能的一部分,它本身是GEF4项目的一个子组件。
Cheers
干杯
Rich
富有的
Update (May 2017)https://github.com/nidi3/graphviz-java
更新(2017 年 5 月)https://github.com/nidi3/graphviz-java