views:

105

answers:

3

I need a java graph library for visualization that I can incorporate in my own application. I found that jgraph is excellent for visualization but require explicit positioning of the nodes. Is there any open source java graph library that support automatic layout. Any suggestion will be really helpful for me.

A: 

I've used JGo for years with success - not free (has free eval).

http://www.nwoods.com/go/jgo.htm

It has autolayout options for digraphs and force-directed, for sure, maybe more. I think the newer versions are much spiffier.

Steve Jackson
Thx for the reply. I have found that Jung possibly a solution for my problem. It support auto layout and it is open source. I will try JGo also.
Muhammad Asaduzzaman
A: 

JGraph does support automatic layout and includes a number of graph and hieracichal layout algorithms.

See Section 7 of the JGraph manual:

http://www.jgraph.com/pub/jgraphmanual.pdf

Simon
+1  A: 

There are numerous packages to do that. If you are used to graphviz, then you may like Grappa, which is a sort of graphviz library for java (though not as complete as the original).

jung is also quite good, providing various layout engines.

Another tool of interest to build nice graph visualizations and animations is prefuse. It it very flexible, and can lead to very good looking visualizations, with complex layouts.

All of them are java libraries, and open source.

tonio