Graph visualization libraries for SWT/AWT

拥有回忆 提交于 2019-12-04 14:51:33

问题


Is there a mature, solid open-source graph visualization library implementation for SWT or AWT (I am referring to sets of vertices connected with edges, not charts and diagrams)?

Which one do you use/recommend?

I saw Zest for SWT, but could not find a Maven repository for it.

Thank you.


回答1:


I recommend Prefuse: http://prefuse.org/




回答2:


Have a look at JUNG ( http://jung.sourceforge.net/ )




回答3:


If you don't want to use Zest (which I prefer), there is still Draw2D:

Draw2D

Also, there is a good tutorial on this available here:

Display a UML Diagram using Draw2D

Finally, I found this Maven repository:

Repository

Don't really know much about Maven, but isn't this a repository for Zest?:

Zest




回答4:


Check out Piccolo2D, it supports 2D structured graphics and ZUI. Here is a simple demo of a graph builder. Also, here are some Java applications that are based on Piccolo2D.




回答5:


For Zest Core:

<groupId>org.eclipse.zest</groupId>
 <artifactId>core</artifactId>

For Zest Layout:

<groupId>org.eclipse.zest</groupId>
<artifactId>layouts</artifactId>

For JUNG2

<dependency>
 <groupId>net.sf.jung</groupId>
 <artifactId>jung2</artifactId>
 <version>2.0.1</version>
</dependency>


来源:https://stackoverflow.com/questions/11546807/graph-visualization-libraries-for-swt-awt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!