Open FlownChao opened 7 years ago
i dont know. can you put together a jsfiddle for this?
@sporritt thanks,I can't the put together a jsfiddle for this because of some company reasons, do you know which situation the function of addEndpoint become invalid
i havent got enough information to suggest anything to you really. can you not reproduce the situation in a jsfiddle that does not compromise your company's privacy?
@sporritt https://jsfiddle.net/FlownChao/eocnm7mp/1/
when I connect A and B in third,it dosen't work
i think it's working fine, it's just that your new connections are using the same anchor points so they are all piled on top of each other. try this version, in which we alert how many connections there are:
@sporritt Sorry,could you please try again. In my case the arrow must be droped on the green dot. My problem is I'm able to establish connection from the green point of A to the green point of B for three times but for the fourth time,the connection can not be created.(it's ok if I drop the arrow around the greenpoint of B) . if they are all piled on top of each other, the connection should not be created for the second time and the third time. by the way, I can create connections from B to A with no limit, but from A to B, at most 3 connections can be created
First,I use set two point ,A and B,by using addEndpoint , then I connect A and B by the function of jsplumb.connect,and I delete the link between A and B by jsplumb.detach,connnect C with A and B , but after I conneted A and B in second and deleted, I couldn't connect A and B in third,and I find B could connect A,just like B can't be targetpoint,B could also connect other points, is this the problem of jsplumb or mine?