Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » DirectedGraphLayout reassigns width and height
DirectedGraphLayout reassigns width and height [message #233947] Mon, 07 May 2007 13:27
Raheel Ashraf is currently offline Raheel AshrafFriend
Messages: 2502
Registered: July 2009
Senior Member
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. As a result some of these labels wouldn't even contain
the full text. Any work around this?
Previous Topic:Retargetable copy and paste action
Next Topic:Save the content of the view in an image file on disk
Goto Forum:
  


Current Time: Tue Aug 16 04:27:31 GMT 2022

Powered by FUDForum. Page generated in 0.01131 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top