projectstorm / react-diagrams

a super simple, no-nonsense diagramming library written in react that just works
https://projectstorm.cloud/react-diagrams
MIT License
8.46k stars 1.16k forks source link

TypeError: this.port.createLinkModel is not a function #885

Open KurtKellens opened 2 years ago

KurtKellens commented 2 years ago

I still have this issue, while creating a link between two components while using the 'right-mouse' button.

How to reproduce:

I would expect the link should be removed. Especially when the option allowLooseLinks is false. new DragNewLinkState({ allowLooseLinks: false });

image

This issue can also be reproduces on the live demo example. Any help appreciated!