Link the port end #1706
Link the port end
#1706
-
|
Hi! Can i connect two port end? Here are the electronic components. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
kumilingus
Jun 20, 2022
Replies: 2 comments 6 replies
-
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
ITfanheng
-
|
Hi, One more question. How to link like that manually? I have try to set the anchor in validateConnection: (cellViewS, magnetS, cellViewT, magnetT, end, linkView) => {
if (end === 'target') {
if (!magnetT) {
return false;
}
if (cellViewS === cellViewT) {
return false;
}
} else {
if (!magnetS) {
return false;
}
}
linkView.model.prop('source/anchor', { name: 'left' });
linkView.model.prop('target/anchor', { name: 'right' });
return true;
}but only the And when i move the Any help will appreciate! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




Yes. https://jsfiddle.net/kumilingus/0m2zfthw/