问题
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