why does DirectedGraphLayoutDirectedGraphLayout assigns width and height [message #233843] |
Thu, 03 May 2007 09:24  |
Eclipse User |
|
|
|
HI,
I found it strange that we have to assign the node's width and height
before we can layout the graph (i.e. use DirectedGraphLayout) but what is
strange is that after this layout algorithm finishes, it reassigns the
height and width to the nodes. Why is that? So its like I begin by saying
that all my nodes are 80x80 and then once the layout is done, some nodes
come out to be 5,80 some 25,80 etc. This makes the graph look and feel
inconsistent because all labels (I am drawing the nodes as Labels) now are
of different sizes and as a result some of these labels wouldnt contain
the full text. Any work around this?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03137 seconds