antvis/G6

元素很多时 downloadFullImage 导出图片失败 #4137

yxc1 posted onGitHub

问题描述

https://github.com/antvis/G6/issues/2980 https://github.com/antvis/G6/issues/3675 查看了这两个issues 已经关闭了,但项目中数据量大导出图片还是会报错。 g6 版本:4.7.11 浏览器版本: chrome 108.0.5359.98 layout.type: compactBox 树 节点数量: 500+ 每个节点高宽:width:200 height:100 container入器高宽: html宽高 , 可拖动和缩放 导出图片时,会报错

重现链接

重现步骤

layout.type: compactBox 树 节点数量: 500+ 每个节点高宽:width:200 height:100 渲染正常,导出图片有时能成功,但是图片打不开,有时就会报错.

预期行为

导出图片正常

平台

  • 操作系统: [macOS, Windows]
  • 网页浏览器: [Google Chrome]
  • G6 版本: [4.7.11 ]

屏幕截图或视频(可选)

image image

补充说明(可选)

目前的解决办法是 graph.zoomTo(0.1) 缩放到0.1倍,图片能正常下载,但是实在是太模糊.


This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] 12 months ago

同样的问题,图片太大下载不了

posted by keminu 10 months ago

Fund this Issue

$0.00
Funded

Pull requests