X6 icon indicating copy to clipboard operation
X6 copied to clipboard

halo中的link功能无法拖拽edge

Open 1160809039 opened this issue 2 years ago • 3 comments

问题描述

通过halo中的link功能创建的edge,无法移动也不能点击,无法拖拽到另一个节点上

重现链接

https://codesandbox.io/s/serene-marco-hxcopd?file=/src/App.vue

重现步骤

1、创建graph 2、graph监听node:mouseup事件,创建Halo 3、人为创建一个新的Node,并选中Node 4、点击link按钮,创建edge

edge创建后无法拖拽到另一个节点上

预期行为

通过link创建的edge可以拖拽并链接到另外的节点上去

平台

  • 操作系统: Windows
  • 网页浏览器: Google
  • X6 版本: [1.32.6]

屏幕截图或视频(可选)

image

补充说明(可选)

No response

1160809039 avatar Jul 14 '22 10:07 1160809039

👋 @1160809039

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 Jul 14 '22 10:07 x6-bot[bot]

WechatIMG590 我也看了一下这个问题,在这个edge上设置了`pointer-events:none;`,会将边禁止移动,具体在哪里配置还需要看一下

babachao avatar Jul 14 '22 12:07 babachao

@1160809039 @babachao 给 edge 添加一个 tools 搭配使用。

NewByVector avatar Jul 20 '22 06:07 NewByVector

请问上面的回答有解决你的问题吗,为了高效沟通,我们暂时关闭这个 issue,如果有必要,请重新开一个新的 issue。

NewByVector avatar Aug 21 '22 13:08 NewByVector

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[bot] avatar Aug 22 '23 00:08 x6-bot[bot]