Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [Zest] Layout(Include a new node in already calculated layout)
[Zest] Layout [message #649234] Tue, 18 January 2011 10:21 Go to next message
FB Mising name is currently offline FB Mising nameFriend
Messages: 8
Registered: October 2010
Junior Member
Hi,

I have a graph with Spring layout algorythm, is it possible to add a node and its position is automatically calculated by the layout algorythm ? when i add a node, i can set the position manually but i want it to be included naturally in the graph layout without to call redraw method on the grah (redraw() recalculate all the layout which is very messy) ..
thanks

Francois
Re: [Zest] Layout [message #1714733 is a reply to message #649234] Mon, 16 November 2015 09:48 Go to previous message
Christoph Broeter is currently offline Christoph BroeterFriend
Messages: 30
Registered: July 2015
Member
Hey there!
I've been exprimenting myself with this issue. And found out, thats not possible. Why? Cause Gef/Zest does not support the so called Mental Map. Means Gef/Zest is not using a previous layout as basis to generate the new layout containing your new node. But I can be wrong, it is just as far I've understood the layouting.
Previous Topic:Variable Diagram Size
Next Topic:[GEF4] GEF4/Zest: Tutorial/Example?
Goto Forum:
  


Current Time: Thu Apr 25 00:20:24 GMT 2024

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

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

Back to the top