-
Notifications
You must be signed in to change notification settings - Fork 248
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
连接线的首末两端是否可以支持拖动? #58
Comments
我觉得这个项目也需要这个功能,我琢磨一下咋弄 |
我有个思路是:首先需要先选中一条edge,然后在dragEdge的onDragStart事件中增加判断,如果拖拽的anchor关联了一条已选中的edge的话,那就拖拽当前这条edge,绘制的delegate虚线也按照当前的edge来绘制,应该可以,就是体验没那么好,但是可以改变edge的开始或结束节点。 |
感谢回复! |
如何判断拖拽的anchor关联了一条已选中的edge呢 |
请教大佬,有个需求场景:a-->b,现在想拖动连接线的末端变成 a-->c 这样支持嘛?或者有啥好的建议、思路
The text was updated successfully, but these errors were encountered: