antvis/G6

Do you want to work on this issue?

You can request for a bounty in order to promote it!

A large number of nodes are framed and dragged and stuck #6422

izhl2020 posted onGitHub

Describe the bug / 问题描述

1.在对比4.x的框选后发现,5.x在一样的节点数据的情况框选的效率比不上4.x的效果 2.在数据量大的情况下,多点几次画布空白地方再去操作比如框选,会发现这时候画布已经卡顿了,pointerup 基本上都是1000ms以上 3.我使用的是drag-element 的shadow模式进行拖拽节点,可以看到视频中非常的卡顿

No response

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

image

Uploading 20241018_172446.mp4…

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

Windows

Browser / 浏览器

Chrome

Additional context / 补充说明

No response


官网运行环境性能较低,建议在本地新起项目或者到 codesandbox 中运行,会好一些

posted by Aarebecca 6 months ago

同样这个问题,升级v5之后渲染时间明显变长,并且框选改变状态这类会造成页面卡顿(也就五百个点),开了optimize-viewport-transform也没有太大改善

posted by songxiaoyu321 6 months ago

同样遇到,有解决方案吗

posted by 1055041142 3 months ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests