Skip to main content


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 09:44 Go to next message
svic4ever is currently offline svic4everFriend
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 13:30 Go to previous messageGo to next message
Fabian Steeg is currently offline Fabian SteegFriend
Messages: 76
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 19:31 Go to previous message
svic4ever is currently offline svic4everFriend
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: Tue Mar 19 06:16:30 GMT 2024

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

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

Back to the top