On 12/09, Guillaume Larcheveque wrote:
You still have a #stable and #development versions in ConfigurationOfRoassal2 (created by Chris Andrei) :)
In my opinion you should really optimize #encompassingRectangle in TRCompositeShape and use relative position for sub elements. In addition a cache would be great for this.
I don't know what are the improvements in the optimized layout, but is there a reason why you are physically (in canvas) moving the elements during the iterations?
Wouldn't it be faster to have a dual representation of the shapes in the quad tree and move the real shapes only at the very end?
That way you could compute the #encompassingRectangle rectangle once for all shapes (labels are also very slow) and work in the layout just with Rectangles.
2015-12-09 0:35 GMT+01:00 Johan Fabry jfabry@dcc.uchile.cl:
Are you going to maintain 2 versions of a force based layout? My guess is that the answer to that is no. I would replace the old one with the optimized version.
On Dec 8, 2015, at 19:29, Alexandre Bergel alexandre.bergel@me.com
wrote:
Well… If something care about creating a stable and development version.
Then sure, why not…
Alexandre
On Dec 8, 2015, at 6:42 PM, Ferlicot D. Cyril cyril.ferlicot@gmail.com
wrote:
Le 08/12/2015 22:24, Alexandre Bergel a écrit :
So why create a new class instead of updating the existing one?
Because I have not tested it enough. Moreover, I feel this may impact
the continuous layout one may have.
Inspect the following expression: RTGeneralExample new forceBasedLayout
The optimized layout may not be efficient here.
Alexandre
IMO this is why we have stable/development version for a project. If we decide that it is stable nobody have to change it and during the development phase everyone can test it/improve it without problem using the development version of Roassal. But this is just my opinion :)
-- Cyril Ferlicot
165 Avenue Bretagne Lille 59000 France
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD and RyCh labs - Computer Science Department (DCC) - University of Chile
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- *Guillaume Larcheveque*
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev