Temporary Ports with No Real Port

The design and code I just gave you makes use of an explicit default port (i.e. portId === “”) which would be a valid target during linking or relinking. However, the “LinkDrawn” and “LinkRelinked” listeners would make sure that the newly created or reconnected Link would not actually connect with the default port.

You might be able to just set portId to “” on the whole Node. That way the user doesn’t have to drag all the way to the body of the node. The positions of the ports don’t really matter in this design.