Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v5 sets enableWorker to true, and the nodes will all be squeezed together, and I feel that there is still a problem with the calculated position #6294

Open
pomelo-alias opened this issue Sep 7, 2024 · 1 comment
Labels

Comments

@pomelo-alias
Copy link

pomelo-alias commented Sep 7, 2024

Describe the bug / 问题描述

v5 设置 enableWorker 为 true ,节点会都挤到一起,感觉还是计算出来的 position 有问题

Reproduction link / 重现链接

https://stackblitz.com/edit/react-amcwmt?file=index.js

Steps to Reproduce the Bug or Issue / 重现步骤

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

macOS

Browser / 浏览器

Chrome

Additional context / 补充说明

No response

@Aarebecca
Copy link
Contributor

目前 WebWorker 执行布局有点问题,后续会进行修复。先暂不要配置 enableWorker: true

@github-actions github-actions bot changed the title v5 设置 enableWorker 为 true ,节点会都挤到一起,感觉还是计算出来的 position 有问题 Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants