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

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) ..

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
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:Invoking a Direct Edit Action
Next Topic:Lines in Figure objects are not straight lines but having jerks
Goto Forum:

Current Time: Mon Jun 18 10:01:04 GMT 2018

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

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

Back to the top