Skip to content
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

开启snapline,多个节点同时移动的时候,节点位置偏移 #2794

Closed
yuedud opened this issue Oct 24, 2022 · 6 comments · Fixed by #2798
Closed

开启snapline,多个节点同时移动的时候,节点位置偏移 #2794

yuedud opened this issue Oct 24, 2022 · 6 comments · Fixed by #2798

Comments

@yuedud
Copy link
Collaborator

yuedud commented Oct 24, 2022

Describe the bug

开启snapline:true
选中读逻辑和逻辑回归两个节点
同时移动两个节点
两节点的相对位置发生偏移

https://antv-x6.gitee.io/zh/examples/showcase/practices#dag

Your Example Website or App

https://antv-x6.gitee.io/zh/examples/showcase/practices#dag

Steps to Reproduce the Bug or Issue

  1. 进入页面
  2. 选中读逻辑和逻辑回归两个节点
  3. 同时移动两个节点

Expected behavior

我期待移动节点的时候位置不偏移

Screenshots or Videos

No response

Platform

  • OS: macOS
  • Browser: Chrome
  • Version: lastest

Additional context

No response

@yuedud
Copy link
Collaborator Author

yuedud commented Oct 24, 2022

猜一下你们是不是做了对齐 的辅助能力(自动偏移帮我们对齐)?

@NewByVector
Copy link
Contributor

/cib

@x6-bot
Copy link
Contributor

x6-bot bot commented Oct 24, 2022

@struggleRoue

Branch issue/issue-2794 was created for this issue. We will investigate into the matter and get back to you as soon as possible.

感谢反馈问题或提供改进建议,我们创建了 issue/issue-2794 分支来处理这个问题,你可以继续跟进后续的解决方案。

@yuedud
Copy link
Collaborator Author

yuedud commented Oct 25, 2022

能帮忙介绍下问题产生原因吗?
感谢

@NewByVector
Copy link
Contributor

@struggleRoue snapline 中移动节点与 selection 中监听节点移动来同时移动多个框选节点,这两个地方有冲突。

@x6-bot
Copy link
Contributor

x6-bot bot commented Oct 26, 2023

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.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Oct 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants