You must have some code to be able to start drawing a new link from no node/port at all but the diagram background, is that true? If so, what code are you using to accomplish that feature?
Hi Walter, i am using the ‘Draggable Link’ as base. According to this example, if i configure “linkingTool.isUnconnectedLinkValid” in true, i can create links without one of the two ends.
I did this and i can create a link without the “to” node, but i get a error when i try to create a link without “from” node.
In the sample, all is ok, no error.
However, I can create a disconnected link with no “fromNode”, without ever reconnecting an existing link:
This depends on the fact that the ports on the “End” nodes only support GraphObject.toLinkable and notGraphObject.fromLinkable. So that the only way to draw a new link connecting with a port on an “End” node must go “to” that “End” node.