Java 中的强制导向布局实现
我一直在寻找力导向图布局算法的 Java 实现,但到目前为止还没有结果。任何帮助将不胜感激:)
I've been looking around for a Java implementation of the force-directed graph layout algorithm but got no fruits so far. Any help will be appreciated :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Jung:
http://jung.sourceforge.net/index.html
..已经存在了有一段时间了,并且有很多布局算法。
您还可以在 http://gephi.org/ 查看 Gephi - 它是一个应用程序,而不是一个库,但它是开源Java。
这里还有Processing(一种Java超级语言)和物理库:http: //www.cs.princeton.edu/~traer/physicals/random_arboretum/index.html(在框中多次单击以创建图表)。
Jung:
http://jung.sourceforge.net/index.html
.. has been around for a while, and has many layout algorithms.
You might also check out Gephi at http://gephi.org/ - it's an application, not a lib, but it's open source Java.
There's also Processing (a Java superlanguage) and the physics lib here: http://www.cs.princeton.edu/~traer/physics/random_arboretum/index.html (click in the box a bunch of times to create the graph).
我的搜索得到了四个密切相关的结果;我不知道您需要它做什么,但希望至少其中之一会有所帮助:
My searching brought up four closely-related results; I don't know what you need it for, but hopefully at least one of them will be helpful: