X6 icon indicating copy to clipboard operation
X6 copied to clipboard

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

Open apankun opened this issue 2 years ago • 2 comments

问题描述

背景:

  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

https://github.com/antvis/X6/assets/48916095/d2badfed-41f9-4c34-aec0-fd9e72f005cb

补充说明(可选)

No response

apankun avatar Sep 20 '23 04:09 apankun

👋 @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.

x6-bot[bot] avatar Sep 20 '23 04:09 x6-bot[bot]

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

zhang-yachao avatar Apr 22 '24 01:04 zhang-yachao