-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
X6力导图的demo拖拽节点的时候整个页面能有动态的效果吗 #3858
Comments
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. |
试试监听node:mousemove,节点按下并移动时触发 |
其实就是在布局 tick 回调中一直修改节点位置就行。 |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
问题描述
https://g6.antv.antgroup.com/zh/examples/net/forceDirected/#basicForceDirectedDragFix G6的整个拖拽某个节点,其他节点都有动态拖拽的效果,但是X6的官方demo没有https://x6.antv.antgroup.com/zh/examples/layout/general#force。
好像是这几行代码生效,拖动节点,重新布局,但是X6里面我看好像不行。目前能支持吗一下。
重现链接
https://g6.antv.antgroup.com/zh/examples/net/forceDirected/#basicForceDirectedDragFix
重现步骤
https://g6.antv.antgroup.com/zh/examples/net/forceDirected/#basicForceDirectedDragFix G6的整个拖拽某个节点,其他节点都有动态拖拽的效果,但是X6的官方demo没有https://x6.antv.antgroup.com/zh/examples/layout/general#force。
好像是这几行代码生效,拖动节点,重新布局,但是X6里面我看好像不行。目前能支持吗一下。
预期行为
X6力导图类似G6这种拖拽节点,其他节点重新布局https://g6.antv.antgroup.com/zh/examples/net/forceDirected/#basicForceDirectedDragFix
平台
屏幕截图或视频(可选)
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: