Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop-allow is not appear #28

Open
FlownChao opened this issue May 4, 2017 · 6 comments
Open

drop-allow is not appear #28

FlownChao opened this issue May 4, 2017 · 6 comments

Comments

@FlownChao
Copy link

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?

@sporritt
Copy link
Member

sporritt commented May 4, 2017

i dont know. can you put together a jsfiddle for this?

@FlownChao
Copy link
Author

@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

@sporritt
Copy link
Member

sporritt commented May 4, 2017

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?

@FlownChao
Copy link
Author

@sporritt https://jsfiddle.net/FlownChao/eocnm7mp/1/
when I connect A and B in third,it dosen't work

@sporritt
Copy link
Member

sporritt commented May 4, 2017

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:

https://jsfiddle.net/eocnm7mp/3/

@FlownChao
Copy link
Author

@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

@sporritt sporritt transferred this issue from jsplumb/jsplumb Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants