[Bug]: When the amount of data on a custom node is large, the initialization is very slow and the drag and drop is stuck #6731
Labels
status: waiting for maintainer
These issues have not yet been reviewed by a maintainer
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: