antvis/G6

为什么开了gpu选项布局变成这样 #4566

wwwing123 posted onGitHub

问题描述

开gpu加速后布局被无限拉伸

重现链接

截图

重现步骤

布局参数 { type: 'fruchterman', gpuEnabled: true, preventOverlap: true, width: 900, height: 500, gravity: 5, }

预期行为

布局不要错乱

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • G6 版本: [4.5.1 ... ]

屏幕截图或视频(可选)

112 111

补充说明(可选)

No response


给个在线复现 demo 呢?数据量小的话可以不用 gpu,或者换 force2 相对比较快

posted by Yanyan-Wang almost 2 years ago

个别电脑会出现这种情况,而且换GPU驱动也不行

posted by GuokrSun almost 2 years ago

我也出现这种情况

posted by leo1u777 over 1 year ago

我也出现这种情况。关了gpu就好了

posted by DIVADING about 1 year ago

Fund this Issue

$0.00
Funded

Pull requests