Skip to main content



      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 09:24 Go to next message
Eclipse UserFriend
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 09:25 Go to previous message
Eclipse UserFriend
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: Wed Apr 23 23:01:54 EDT 2025

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

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

Back to the top