antvis/G6

在视图很小的时候只有两个节点的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


This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] 10 months ago

Fund this Issue

$0.00
Funded

Pull requests