-
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
如何实现拖拽linkPoint(或anchor)时,edge 跟着鼠标移动的效果 #33
Comments
chandkumn
changed the title
如何实现拖拽anchor时,edge 跟着鼠标移动的效果
如何实现拖拽linkPoint(或anchor)时,edge 跟着鼠标移动的效果
May 20, 2020
就是在behavior里面不停的重置edge的x1y1x2y2坐标,主要是触发重绘的时机,一般都是通过事件,所以你如果没法触发dragStart事件就不好弄 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
看了下源码,好像要自定义anchor ,然后 注册 自定义behavior dragPoint来监听 anchor:dragStart 事件等。请问有简单点的实现方式吗?
The text was updated successfully, but these errors were encountered: