Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » why does DirectedGraphLayoutDirectedGraphLayout assigns width and height
why does DirectedGraphLayoutDirectedGraphLayout assigns width and height [message #233843] Thu, 03 May 2007 13:24 Go to next message
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 and as a result some of these labels wouldnt contain
the full text. Any work around this?
Re: why does DirectedGraphLayoutDirectedGraphLayout assigns width and height [message #233851 is a reply to message #233843] Thu, 03 May 2007 13:25 Go to previous message
Raheel Ashraf is currently offline Raheel AshrafFriend
Messages: 2502
Registered: July 2009
Senior Member
Sorry about the repeated words (DirectedGraphLayout) in the subject
Previous Topic:"Unhandled event loop exception" when using custom dll with GEF Prj
Next Topic:GEF or GMF editor for Dynamic eCore models
Goto Forum:
  


Current Time: Thu Apr 25 00:42:58 GMT 2024

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

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

Back to the top