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

V5性能问题 #6214

Open
North-City opened this issue Aug 22, 2024 · 1 comment
Open

V5性能问题 #6214

North-City opened this issue Aug 22, 2024 · 1 comment

Comments

@North-City
Copy link

Describe the bug / 问题描述

按照5的数据格式,上图节点150左右,连接线600左右. 上图渲染完成后,在拖拽画布过程中,有明显的延时效果. 一点卡顿问题. 在配置optimize-viewport优化后,虽有明显改善,但在切换布局会出现问题,提示className 未定义等问题.
数据量不太大,在不做优化的情况下.性能有一点差. 请问默认的是使用WebGL渲染器吗? 之前预览版本的时候看过文档是有三种配置渲染器的.现在文档没了.

Reproduction link / 重现链接

No response

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

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

macOS, Windows

Browser / 浏览器

Chrome, Edge

Additional context / 补充说明

No response

@Aarebecca
Copy link
Contributor

G6 默认使用 Canvas 进行渲染,但同时支持 SVG 和 WebGL 渲染,我们完善了切换渲染器的相关说明文档 https://github.com/antvis/G6/pull/6216。
对于你提到的 "className 未定义" 等问题,可以提供相关代码说明。
性能相关问题正在优化当中。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants