G6
G6 copied to clipboard
示例中的ER图自定义节点配置了draggable,为什么无法拖动节点?
- [x] I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
自定义节点配置了draggable,但是无法拖动节点
Environment | Info |
---|---|
g6 | 4.3.3 |
System | Big Sur 11.2 (20D64) |
Browser | Chrome 91.0.4472.114 |
这一块为这个节点拖拽的有效区域,请问是希望那里可以拖动节点呢
咦官网上ER图的示例怎么删了?
移动到自定义节点那部分去了
是这两段代码对性能的影响。在这段代码的影响下节点需要按下略停留之后才能进行拖动。
我在换成mouseover事件后就正常了。