Graphical Rendering in Eclipse RCP Application

I am working on an Eclipse RCP application that needs to display the internal hierarchical structure as a graph. The graph nodes should be located at different points in the background image, but should offer drag and drop support. The graph should be scalable, without resizing the nodes on the maps (scaling layout), while the background image should be scaled normally. Some kind of semantic zoom should be possible (showing and hiding on-demand approaches). What library or tool is appropriate for solving this problem?

Update: The graph should display similar to the UML class diagram.

+2


source to share


6 answers


I guess the term graph is confusing. Your description suggests a sales chart or chart style chart instead of making money off of a last quarter style chart. I think you are looking for something like GUESS or Zest .



+3


source


JFreeChart does most (maybe even all, it's a very complete tool) of what you list just builds into Eclipse. See Eclipse-CS for example usage.



+2


source


The best bet would be Graphic Edition (GEF) http://www.eclipse.org/gef/ . As it integrates very much into eclipse and includes a 2d rendering library.

As for third party libraries:

Either prefuse or processing.org are java-based which can be used for graph-based rendering. You should wrap either org.prefuse for prefuse or wrap processing.core for processing as a standalone osgi plugin for better version service.

I would recommend that you take a look at http://code.google.com/p/uofs-silver-hg/ as this is the system that has integrated prefuse into its workspace.

I also recommend that you take a look at the gephi graph toolkit http://gephi.org/toolkit/ as your problem might be with large scale information processing.

+2


source


JUNG is the best graphics package I've seen to date.

jung.sourceforge.net

Super flexible and you can pretty much cusomize everything.

Greetings.

0


source


You can use Structure101 . It will give you hierarchical plots that you can export and then manually overlay onto your graphic. In fact, you can grab package level graphs from the s101 repository using the url, so I think you could build what you are looking for in html ...

Greetings.

0


source


As far as I know: EMF (Eclipse Modeling Framework) and GMF (Graphical Modelign Framework) are the best well-known frameworks for this.

0


source







All Articles