antvis/G6
The issue has been closed
使用updateLayout切换布局时报错layout failed #3272
lghuahua posted onGitHub
- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
https://codepen.io/lghua/pen/VwzpqaK
Steps to reproduce
- 使用fruchterman类型布局,并设置gpuEnabled为true
- 使用updateLayout更新为forceAtlas2布局
控制台输出 Web-Worker layout error! layout forceAtlas2-gpu not found 并报错 layout failed
Environment | Info |
---|---|
g6 | 4.3.11 |
System | win10 |
Browser | Google Chrome 94.0.4606.81 |
<!-- generated by antv-issue-helper. DO NOT REMOVE -->