I am dropping node from pallete to diagram in Group node. The mouseDrop event is assigned for groupTemplate.
Group node already have some nodes inside. Now whenever new node is dropped from pallete, mouseDrop event gets fired. Same event gets fired even when node is dropped on the any of node.
How one can get the node on which new node is dropped ? (Using mouseDrop event attached to group template)
The sample code is similar to thread - Repositioning node link gets truncated
To detect the node on which, drop happened - attaching same function mouseDrop event in node template causes same function fired twice - one for node and another for group. - so expecting to attach the event for group template only and detect drop happening on node or group.