Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [Zest] New layout algorithm ?(TreeLayoutAlgorithm extension)
[Zest] New layout algorithm ? [message #733644] Wed, 05 October 2011 05:44 Go to next message
svic4ever is currently offline svic4ever
Messages: 7
Registered: October 2011
Junior Member
In this figure, I have a horizontal tree on the left. There are some unconnected nodes on the right.
If I use the provided HorizontalTreeLayoutAlgorithm, these unconnected nodes will reside on the left. However, I want them to be on the right because I want to add edges from them to the nodes in the tree (these edges are in green).
http: // img824.imageshack.us/img824/6563/layoutow.png

Does I have to write a layout algorithm for this situation ?
Thank you very much.
Re: [Zest] New layout algorithm ? [message #733703 is a reply to message #733644] Wed, 05 October 2011 09:30 Go to previous messageGo to next message
Fabian Steeg is currently offline Fabian Steeg
Messages: 72
Registered: July 2009
Member
I'm not sure I understand the issue - if you do add edges to the now unconnected nodes they will end up on the right...
Re: [Zest] New layout algorithm ? [message #733852 is a reply to message #733703] Wed, 05 October 2011 15:31 Go to previous message
svic4ever is currently offline svic4ever
Messages: 7
Registered: October 2011
Junior Member
That's correct. However, there is a situation that an unconnected node may have links to two or more nodes. Therefore, it will not end up on the right :-s
Previous Topic:Properties view
Next Topic:Direct Editing of seeral Labels in Figure
Goto Forum:
  


Current Time: Thu Jul 24 18:59:53 EDT 2014

Powered by FUDForum. Page generated in 0.02170 seconds