Canvas is the morph place on which the graphs are drawn. Root is the node that contains all other nodes and edges.
Cheers, Doru
On 28 Dec 2009, at 15:52, Stéphane Ducasse wrote:
On Dec 28, 2009, at 2:52 PM, Alexandre Bergel wrote:
I discovered an opportunity to gain many % when rendering nodes.
what is the idea? in general
Each time you translate a node, you need to update the size of the canvas. Updating the canvas takes a bit of time (O(n^2)). When you do a layout, each node is translated by the algorithm. The idea is to update the canvas after having done the complete layout.
I see. What you call the size of the canvas is the entity containing all the entity? The top level entity?
Cheers, Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Some battles are better lost than fought."