antvis/G6

The issue has been closed
在视图很小的时候只有两个节点的Fruchterman布局节点会重叠在一起 #4393
tianxiumei posted onGitHub
Describe the bug
Fruchterman在视图很小的时候,节点会重叠在一起
Your Example Website or App
https://codesandbox.io/s/sad-yonath-xx0tk8?file=/package.json
Steps to Reproduce the Bug or Issue
1、进去例子 2、缩小图区域大小 3、节点一节点二重叠 <img width="1167" alt="image" src="https://user-images.githubusercontent.com/38803966/227829360-e6f9acf3-7e5e-40af-832f-d856701bc778.png">
Expected behavior
节点不重叠
Screenshots or Videos
No response
Platform
- OS: [e.g. macOS, Windows, Linux] mac
- Browser: [e.g. Chrome, Safari, Firefox] chrome
- Version: [e.g. 91.1] 最新
Additional context
No response