antvis/G6


Do you want to work on this issue?
You can request for a bounty in order to promote it!
[Bug]: Force layout will report an error when enableWorker is enabled #6812
yvonneyx posted onGitHub
Describe the bug / 问题描述
在官网示例中尝试 WebWorker 加速 force 布局计算,效果不符合预期
开启前:
<img width="1673" alt="Image" src="https://github.com/user-attachments/assets/95fa9dbe-a60f-4d22-bc44-b7c501a0fd13" />
开启后
<img width="1681" alt="Image" src="https://github.com/user-attachments/assets/3db36d8f-9ff0-4dff-b7a0-28524ad714de" />
Reproduction link / 复现链接
https://g6.antv.antgroup.com/examples/layout/force-directed/#force
Steps to Reproduce the Bug or Issue / 重现步骤
No response
Version / 版本
🆕 5.x
OS / 操作系统
- macOS
- Windows
- Linux
- Others / 其他
Browser / 浏览器
- Chrome
- Edge
- Firefox
- Safari (Limited support / 有限支持)
- IE (Nonsupport / 不支持)
- Others / 其他