Disabling ports when connected already. #2809
Answered
by
kumilingus
gintarasgraciovas
asked this question in
Q&A
-
IntroductionI'm currently trying to disable ability to create a link from already connected ports. I assume that there is such functionality, but I can find it. Please help :) Steps to reproduce
Observe that link is being created when it shouldn't. Restrictions & ConstraintsNo response Does your question relate to JointJS or JointJS+. Select both if applicable.JointJS, JointJS+ |
Beta Was this translation helpful? Give feedback.
Answered by
kumilingus
Nov 26, 2024
Replies: 1 comment
-
For that, you can use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gintarasgraciovas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For that, you can use
validateMagnet()
paper option. Here's an example: https://www.jointjs.com/demos/working-with-ports