-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
this.graph.getContentBBox()计算graph高度不准确 #4309
Comments
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
在第一版的时候有个导出功能,通过getContentBBox获得的高度是真实的graph高度;
升级到v2之后,通过getContentBBox获得的高度是真实的graph高度不准确,通过加入参数{ useCellGeometry: false }可以解决,但是导出为png底层调用的getContentBBox是没有参数的,导致导出图片显示不全
重现链接
内网
重现步骤
点击导出按钮导出topo为png
预期行为
宽高正确
实际不准确
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: