antvis/G6

力导向图网格效果,多次点击播放越来越慢 #5971

guapizyq posted onGitHub

Describe the bug / 问题描述

随着执行次数增加,JS调用绘制函数调用onclick次数增加,导致耗时增加 越来越卡

https://g6-next.antv.antgroup.com/zh/examples/layout/force-directed/#mesh

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

多次点击右侧执行代码,网格展开速度越来越慢

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

Windows

Browser / 浏览器

Chrome

Additional context / 补充说明

同上


image

posted by guapizyq 10 months ago

官网运行重播按钮非真实使用环境,本地开发不存在该问题

posted by Aarebecca 10 months ago

Fund this Issue

$0.00
Funded

Pull requests