能否做到像processon那样可以在两个节点之间任意连线? #2253
Answered
by
happy-little-one
happy-little-one
asked this question in
Q&A
-
process的交互逻辑是,可以在节点边缘处任意位置开始划线,然后可以链接到另一节点边缘的任务位置把它们连起来,不依赖桩点。 x6所有的连线都是基于桩点的,我能想到的是动态添加桩点,但是这样还要在删除线的时候再删除桩点,感觉不是特别好做,不知有没有更好的方案?谢谢! |
Beta Was this translation helpful? Give feedback.
Answered by
happy-little-one
Jun 28, 2022
Replies: 3 comments 2 replies
-
x6 也是支持在节点之间连线的,不过默认线都会重合在一起,可以使用 NodeAnchor 将它们区分开来。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
找到办法了,可以通过edge的tools vertices和segment实现 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
happy-little-one
-
大佬怎么弄的啊,有代码实现思路吗 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
找到办法了,可以通过edge的tools vertices和segment实现