views:

484

answers:

4

I am working on an Eclipse RCP application which should display an internal hierarchical structure as a graph. The nodes of the graph should be positioned on different points of a background image but should offer drag support. The graph should be zoom-able possibly without resizing the nodes on the maps (layout zoom) while the background image should be scaled normally. Some kind of semantic zoom (showing and hiding sub nodes on request) should be possible. Which library or tool would be suitable to solve this problem?

Update: The graph should be displayed similar to an UML class diagram.

+1  A: 

JFreeChart does most (maybe even all, it is a very comprehensive tool) of what you list, It is simply embeddable in Eclipse. See the Eclipse-CS plugin for example usage.

Rich Seller
+2  A: 

I guess the term graph is confusing. Your description suggests a travelling salesman or or class diagram style graph, instead of a earning for the last quarter style graph. I think you are looking for something along the lines of GUESS or Zest.

whatnick
@whatnick, good point, if this is the case my answer is useless
Rich Seller
A: 

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

jung.sourceforge.net

Super flexible and you can pretty much cusomize everything.

Cheers.

Helpful Dude
But the JUNG package is based on Swing, and there is only a alpha version of a SWT port of the visualization system.
zizzo
A: 

You could use Structure101. It will give you the hierarchical graphs which you can export and then manually overlay on your graphic. In fact, you can grab package-level graphs from a s101 repository using an url so I guess you could maybe construct what you're looking for in html...

Cheers.

Chris Chedgey