You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🪧 Tips
For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.
github-actionsbot
changed the title
[Bug]: 自定义节点数据量较大时,初始化很慢,拖拽卡顿
[Bug]: When the amount of data on a custom node is large, the initialization is very slow and the drag and drop is stuck
Jan 15, 2025
Describe the bug / 问题描述
自定义节点数据量较大时(5000 - 10000个节点),初始化很慢,拖拽画布和节点卡顿很厉害。
Reproduction link / 复现链接
https://stackblitz.com/edit/react-zfmr8xuw?file=index.js
Steps to Reproduce the Bug or Issue / 重现步骤
1、自定义节点较多时,初始化渲染很慢
2、已经添加了optimize-viewport-transform,拖拽画布、节点还是卡顿
3、自定义节点和线的render函数触发太频繁,如何进行节流操作
G6 Version / G6 版本
🆕 5.x
OS / 操作系统
Browser / 浏览器
The text was updated successfully, but these errors were encountered: