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

同时框选连线和节点,拖拽连线时位置错误且路径点工具冲突 #3922

Open
apankun opened this issue Sep 20, 2023 · 2 comments
Labels
bug:selection selection plugin bug

Comments

@apankun
Copy link

apankun commented Sep 20, 2023

问题描述

背景:

  1. 连线需要vertices进行路径点修改、拖拽。
  2. 连线双端无节点,通过x,y坐标生成。

重现链接

重现步骤

1.同时选中节点和没有source、target节点的连线,拖拽连线。

预期行为

预期行为:
拖拽连线,所选的所有元素可以一起拖动,拖动位置正常,且连线的工具不失效。

实际结果:
1.如果不打开showEdgeSelectionBox,就无法一起拖动。
2. 若打开showEdgeSelectionBox,vertices失效且拖拽位置有问题。

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox ...]
  • X6 版本: [2.11.1 ...]

屏幕截图或视频(可选)

  1. 未打开showEdgeSelectionBox
    https://github.com/antvis/X6/assets/48916095/a8e53e3d-0289-42e0-b433-61ba0a1d56d5

2.打开了showEdgeSelectionBox

2023-09-20.12.38.16.mov

补充说明(可选)

No response

@x6-bot
Copy link
Contributor

x6-bot bot commented Sep 20, 2023

👋 @apankun

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@NewByVector NewByVector added the bug:selection selection plugin bug label Sep 20, 2023
@zhang-yachao
Copy link

我也同样遇到了这个问题,请问如何解决呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:selection selection plugin bug
Projects
None yet
Development

No branches or pull requests

3 participants