antvis / X6

🚀 JavaScript diagramming library that uses SVG and HTML for rendering.
https://x6.antv.antgroup.com
MIT License
5.63k stars 1.69k forks source link

toPNG/toJPEG无法导出问题 #4083

Open li-guanlong opened 9 months ago

li-guanlong commented 9 months ago

问题描述

通过toSVG方法可以导出,但是调用toPNG/toJPEG却没有反应

重现链接

no

重现步骤

通过toSVG方法可以导出,但是调用toPNG/toJPEG却没有反应

预期行为

我希望能够通过toPNG方法获取导出的图片

平台

屏幕截图或视频(可选)

image image

补充说明(可选)

no

x6-bot[bot] commented 9 months ago

👋 @li-guanlong

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. To help make it easier for us to investigate your issue, please follow the contributing guidelines. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

xieqingchun commented 2 months ago

解决了吗 我也遇到这个问题了

liwuli commented 2 months ago

我也出现了同样的问题,我是自定义了节点 节点数量特别多 大概有800个 导出svg可以 png jpeg 就不行