Hello,
I would like to understand a specific behaviour when copying links in goJS, I hope you can help me:
If I select a link (which is connecting two nodes), copy it to the clipboard using Ctrl + C and pasting it into the diagram using Ctrl + V, the link is not inserted because it would be unconnected, which is fine.
However, the modelChanged listener gets an Insert ChangedEvent and a Delete ChangedEvent. I assume this is intended behaviour?
Also, the “newValue” of the Insert ChangedEvent contains the details of the copied link. The from and to properties are undefined and the fromPort and toPort are set. Is this the standard behaviour or is there some issue in my code?