Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

画布上 内容过多以及数据处理过多,会出现拖拽 双击,刷新渲染等 卡顿问题? #1234

Closed
HTML110 opened this issue Jul 18, 2023 · 5 comments
Labels
help wanted Extra attention is needed 优化 New feature or request

Comments

@HTML110
Copy link

HTML110 commented Jul 18, 2023

image
请问,有没有好的处理方案,或者如何去解决这些问题 给个思路

@wangzhengbo
Copy link

节点过多,确实有卡顿问题。不知道官方有没有做过性能测试,大概最多能支持多少量的边/节点

@wumail
Copy link
Collaborator

wumail commented Jul 20, 2023

现在没办法的,渲染出来的都是实实在在的DOM节点

@HTML110
Copy link
Author

HTML110 commented Jul 21, 2023

把这些节点放大到一定效果,卡顿的就没那个明显了,但是依然能让你感觉的到, @towersxu

@wbccb
Copy link
Contributor

wbccb commented Jul 22, 2023

最好提供个在线demo(填充目前展示的大量数据)。我尝试看看能不能优化下

@boyongjiong boyongjiong added 优化 New feature or request help wanted Extra attention is needed labels Jul 26, 2023
@wangyong991
Copy link

image 请问,有没有好的处理方案,或者如何去解决这些问题 给个思路

我最近也碰到这个问题,我这边排查发现的是,在自定义节点的properties 属性中,有一个属性值是一个ref对象。把这个ref删掉或者unref,缩放和拖拽就不卡了。目前我最多试了70多个节点。你可以参考看看有没有相同的情况,或者删掉自定义的东西,用他原本的节点渲染是否有卡顿。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed 优化 New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants