Skip to main content



      Home
Home » Eclipse Projects » GEF » [Zest] Layout(Include a new node in already calculated layout)
[Zest] Layout [message #649234] Tue, 18 January 2011 05:21 Go to next message
Eclipse UserFriend
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 04:48 Go to previous message
Eclipse UserFriend
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: Sat Nov 08 14:29:53 EST 2025

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

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

Back to the top