On Tue, May 22, 2012 at 4:45 PM, Alexandre Bergel alexandre.bergel@me.com wrote:
The reason is the following: http://cl.ly/040v2X1w1V3g1o3m410A
How are the shapes actually drawn? What determines the order?
Why do you think zOrder would hamper quadtrees?
zOrder orders the elements to be drawn. Unfortunately, this order may be different from the one specified by a user. This zOrder is one of the reason that Mondrian was not as fast as Roassal. After some discussion with Doru, it is possible that I did not fully understand what are the properties of the zOrder.
Actually, I am not completely sure whether zOrder would hamper quadtree, but it will certainly not simplify it.
Let's try to find a easy way to solve your problem. Will it be enough for you to provide a sorting block to reorder the nodes? I can provide a easy way to do this.
In the case of tree maps, it would be much better to construct nested nodes, rather than a flat graph. This would provide the nesting by default.
Regarding zOrder, its usefulness comes when it comes to drawing edges. Btw, zOrder does not have to be mandatory, but for it to work efficiently, you need to be able to store this as a property in the graph element.
Cheers, Doru
Cheers, Alexandre
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
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev