G6
G6 copied to clipboard
关于Fruchterman布局在部分机器上显示错误的问题
问题描述
当G6使用Fruchterman布局之后,在部分机器(windows,mac)上会显示错乱,包括官网的demo也是这个情况,如下图 请问有什么办法解决吗
重现链接
https://g6.antv.vision/zh/examples/net/gpuLayout#fruchtermanComplexData
重现步骤
进入页面
预期行为
正常情况应该是这样子
平台
- 操作系统: [macOS, Windows]
- 网页浏览器: [Google Chrome, Safari]
- G6 版本: [4.5.0 ]
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
只有 gpuEnabled true 时会出现,有可能是不同显卡 GPU 的并行逻辑差异导致的
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.