@manishmishra121 wrote:
Hi, we have been using GoJS for last 3 years.
I've a diagram with nodes and links. I also have a palette full of nodes. All I want is, If I drag and drop any node from the palette or any existing node in the diagram itself onto any link, then I should get any event, which would give me both the dropped node and the target link. Dropped node I can fetch from diagram.selection, how do I get the link onto which I dropped the node?I tried patching mouseDrop event in the link template, but it doesn't work(doesn't get called), mouseDragEnter and mouseDragLeave do work, but don't think they can help.
Please suggest any simple way out
Posts: 7
Participants: 2