I'm new to JUNG. I tried to draw a graph of a tree using the TreeLayout but the tree never comes out like a real tree. Every time the tree looks different. How can I make the tree look like a normal tree with the root on top & the rest of the nodes descending from it?
+1
A:
You have to Initialize the TreeLayout
after adding the Vertexes to the graph, I tried that and it worked for me.
Agent1891
2010-04-08 22:04:34