antvis/G6

The issue has been closed
“force2”布局,右键展开功能,偶现扩展的节点堆叠在一起,layout中nodeSpacing设置了50 #4045
xichao520 posted onGitHub
Describe the bug
“force2”布局,右键展开功能,偶现扩展的节点堆叠在一起,layout中nodeSpacing设置了50
Your Example Website or App
https://codesandbox.io/s/youthful-surf-jzjwh0?file=/src/App.js
Steps to Reproduce the Bug or Issue
1.等待页面加载完成 2.随便找个结点,右键-》展开 3.然后再随便找个结点,右键-》展开,不断重复该操作即可复现
Expected behavior
期望每次“右键-》展开“操作不会出现结点堆叠在一起的情况
Screenshots or Videos
Platform
- OS: [Windows]
- Browser: [Chrome]
- Version: [e.g. 91.1]
Additional context
No response