antvis/G6



Do you want to work on this issue?
You can request for a bounty in order to promote it!
graph.setElementState performance issues #6313
songxiaoyu321 posted onGitHub
Describe the bug / 问题描述
页面有400个节点,批量设置选中状态 console.log( new Date().getTime()) graph.setElementState(visibleRecord); console.log( new Date().getTime()) 看了下时间要574ms,明显感觉卡顿,点数量更多时更明显 V4没有这个问题,请问有什么解决办法
Reproduction link / 重现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
No response
G6 Version / G6 版本
🆕 5.x
Operating System / 操作系统
macOS
Browser / 浏览器
Chrome
Additional context / 补充说明
No response