G6 icon indicating copy to clipboard operation
G6 copied to clipboard

关于Fruchterman布局在部分机器上显示错误的问题

Open SimNull1307 opened this issue 2 years ago • 2 comments

问题描述

当G6使用Fruchterman布局之后,在部分机器(windows,mac)上会显示错乱,包括官网的demo也是这个情况,如下图 请问有什么办法解决吗

lQLPDhtpG95923TNBaDNCgCwE3oRsP09iFUCfOIxIEA9AA_2560_1440

重现链接

https://g6.antv.vision/zh/examples/net/gpuLayout#fruchtermanComplexData

重现步骤

进入页面

预期行为

正常情况应该是这样子

image

平台

  • 操作系统: [macOS, Windows]
  • 网页浏览器: [Google Chrome, Safari]
  • G6 版本: [4.5.0 ]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

SimNull1307 avatar May 10 '22 08:05 SimNull1307

只有 gpuEnabled true 时会出现,有可能是不同显卡 GPU 的并行逻辑差异导致的

Yanyan-Wang avatar Jun 16 '22 08:06 Yanyan-Wang

This could be a duplicate of: https://github.com/antvis/G6/issues/3424

We would really like a better solution than disabling GPU layout because it takes very long to compute on CPU.

For datasets with many nodes and links, MacBooks with M1 Pro for example have this issue.

AgustinBanchio avatar Jul 19 '22 16:07 AgustinBanchio