title: comparing open source java graph drawing frameworks(JUNG and Prefuse) for drawing network topology
body: <p>which of the open source Java graph drawing frameworks to use for a network diagram with the following requirements? The graph will have less than 1000 nodes.</p>
  
  <p>1) has parallel edges<br>
  2) directed and undirected edges within a single graph<br>
  3) nodes represented by images<br>
  4) user interaction with nodes and edges<br>
  5) dynamically adding/deleting nodes and edges<br>
  6) multiple labelling on nodes and edges , different levels of labelling can be turned off/on by users. (like drawing in layers and turning off / on a layer)<br>
  7) different layout algorithms to display star, ring, mesh topologies  </p>
  
  <p>I evaluated JUNG and Prefuse. This is what I found for each of my requirements.</p>
  
  <p>1) Prefuse cannot display parallel edges while JUNG supports it. Can prefuse code be manipulated to display parallel edges ? Since this involves basic data level changes I believe this would be more difficult that the usual customized rendering changes.</p>
  
  <p>2) I didnt find any reference to combined graph (both directed and undirected edges) in both prefuse and JUNG. Does anyone know otherwise?</p>
  
  <p>3) This seems easy with both Prefuse and JUNG</p>
  
  <p>4) Again both prefuse and JUNG provides support for user interaction.</p>
  
  <p>5) Both prefuse and JUNG supports it. How does each framework perform while redrawing the graph ? I saw in another post that prefuse does not perform well for dynamic updates (<a href="https://stackoverflow.com/questions/502763/prefuse-toolkit-dynamically-adding-nodes-and-edges"><a href="https://stackoverflow.com/questions/502763/prefuse-toolkit-dynamically-adding-nodes-and-edges">Prefuse Toolkit: dynamically adding nodes and edges</a></a>) </p>
  
  <p>6) This comes down to modifying the graph and redrawing it. So the question becomes the same as 5)</p>
  
  <p>7) Both JUNG and prefuse has multiple layout algorithms. But When I tried to display the same dataset using FruchtermanReingoldLayout in both JUNG and Prefuse I get different displays. Any ideas why ? Somehow the layout algorithms in Prefuse seem to display a better layout than in JUNG (rendering is also better I think) though most of the layout algorithms in Prefuse are based on JUNG implementation. 
  Prefuse layouts such as ForceDirectedLayout/FruchtermanReingoldLayout and CircleLayout directly maps to star,circle, mesh topologies.</p>
  
  <p>Outside of these requirements, prefuse has good support for expressions and query language but looks like it is not actively developed unlike JUNG. which one has better visualization? Any suggestions on which one will be suitable and how to overcome the shortcomings ?   </p>
  
  <p>Any other frameworks out there which I can use ? </p>