You have a very strange effect when you are dragging nodes. Clearly, this should not happen.
How can I try this example on my machine?
MORoot cannot have a shape since there is no thing to render for the root node itself.
Cheers,
Alexandre
> _______________________________________________
On 18 Apr 2012, at 03:16, Dennis Schenk wrote:
> Hi,
>
> I made some progress with the TreeMapLayout. Two challenges remain to be solved.
> The first one is related to dragging. It is kind if complicated to explain in words, so I made this short screencast:
>
> http://cl.ly/150n1t2Z2h1y3L0z1U0L
>
> As you can see the positions of the shapes get updated only when hovering over them, not instantly when dragging, as I would like them to.
>
> One difference code-wise to other graph layouts is that the owner of all shapes is, in this case, not MORoot but the node "org", which is a normal MONode. I had to do this (change ownership) because MORoot does not get drawn (is this by design?).
>
> Does anyone have some ideas on what could explain this behavior?
>
> Another question would be: Is it possible to make the inner nodes not draggable? The user should not be able to move individual shapes inside the TreeMap around.
>
> Cheers,
> Dennis
>
> 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