antvis/G6






Do you want to work on this issue?
You can request for a bounty in order to promote it!
在4.8.21版本中使用combocombind布局,outerLayout使用ForceAtlas2时。偶尔会出现节点位置为NaN的情况。 #6144
xyaiwh posted onGitHub
Describe the bug / 问题描述
在4.8.21版本中使用combocombind布局,outerLayout使用ForceAtlas2时。偶尔会出现节点位置为NaN的情况。
Reproduction link / 重现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
在4.8.21版本中使用combocombind布局,outerLayout使用ForceAtlas2时。偶尔会出现节点位置为NaN的情况。
当我随意删除三个节点时,展示又是正常的
layout 的配置如下
G6 Version / G6 版本
4.x
Operating System / 操作系统
Windows
Browser / 浏览器
Chrome
Additional context / 补充说明
偶现的,不是所有情况下都会出现这种情况,想询问一下节点位置计算的时候,什么情况下会计算出NaN。这样我就可以排查一下是不是节点某些数据导致计算出现错误。