G6 icon indicating copy to clipboard operation
G6 copied to clipboard

开启gpu后丢失节点

Open tianxiumei opened this issue 3 years ago • 1 comments

问题描述

fruchterman 布局设置 gpuEnabled为true 节点数量为19个第一个点会画不出来

重现链接

https://codesandbox.io/s/sweet-water-hp6rdd?file=/index.js

重现步骤

直接进去就可以看到

预期行为

不丢失点

平台

macOS m1 g6 最新版本

屏幕截图或视频(可选)

image

补充说明(可选)

No response

tianxiumei avatar Aug 17 '22 06:08 tianxiumei

没有丢失,为图配置 fitView: true,可以看到有些点在很远的地方。这里应该有计算问题,感谢报告我们会尽快修复。可以先使用其它布局 gForce 也可以使用 gpu

Yanyan-Wang avatar Aug 19 '22 06:08 Yanyan-Wang