Hi,
I have a question on this event, here’s the story:
I need to check with a recursive function the creation of some ports on the parent group of the node added. For example : I drag two group nodes, one with key “foo” and group property “foo” (default) and the second group with key “goo” and group “goo”. When they are both on canvas I drag “goo” into “foo”. The result now is that I have group “goo” with key “-1” and group property=“foo”, “foo” group node remains the same. This is the normal behaviour at the end of the action, but when I check it in the memberAdded event after the drag, the dragged group still have group property equal to key property, why? I need to know exactly what node’s been dragged and what is its parent because I need to check recursively on parents going up on the tree… I need to specify something else on the function or this is a normal behaviour? If it’s so are there some others action that I can do to obtain the parent of the dragged object after the dragging?
Pls help
Thx