Hi as you can see as i am dragging the node from outside of canvas and dropping onto link.
I did this by the help of mouseEnter and mouseOut event.I hold the from and to node into variable and use that once that node i made on canvas.By the help of firing dropontoLink event manually.
Question
.When i fire dropOntolink function manually.My diagram views get bad for fraction of sec.
You probably need to combine that with the something like the “drop” listener in the HTML Drag and Drop sample.
We aren’t familiar with JSTree, but I imagine you want to convert some HTML to a GoJS node first, then you can see if the drop location is on a link, then call something like dropOntoLink.
You could call AnimationManager.stopAnimation just after committing the transaction which adds the node/links. I’ve updated the codepen to reflect this.
Are you making sure to set the group for the newly dropped node before adding it to the diagram? You can see the updated codepen above which now includes a group.
Well, I don’t see that behavior in the codepen, so I’m not sure what’s going on in your app. You could still use the other option of giving the dropped node a location if you don’t want to use stopAnimation.