G6 icon indicating copy to clipboard operation
G6 copied to clipboard

示例中的ER图自定义节点配置了draggable,为什么无法拖动节点?

Open in-vane opened this issue 3 years ago • 4 comments

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

自定义节点配置了draggable,但是无法拖动节点

Environment Info
g6 4.3.3
System Big Sur 11.2 (20D64)
Browser Chrome 91.0.4472.114

in-vane avatar Jun 28 '21 03:06 in-vane

image 这一块为这个节点拖拽的有效区域,请问是希望那里可以拖动节点呢

mxz96102 avatar Jun 30 '21 09:06 mxz96102

咦官网上ER图的示例怎么删了?

in-vane avatar Jul 19 '21 07:07 in-vane

移动到自定义节点那部分去了

Yanyan-Wang avatar Aug 06 '21 10:08 Yanyan-Wang

image image 是这两段代码对性能的影响。在这段代码的影响下节点需要按下略停留之后才能进行拖动。 我在换成mouseover事件后就正常了。

phi0217 avatar Aug 26 '22 09:08 phi0217