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

导出的相关问题 #4285

Open
Makaite opened this issue Apr 29, 2024 · 3 comments
Open

导出的相关问题 #4285

Makaite opened this issue Apr 29, 2024 · 3 comments

Comments

@Makaite
Copy link

Makaite commented Apr 29, 2024

Describe the bug

1、导出图片时,使用相关参数的默认参数,自动获取画布大小,导出后的图片内容会有确实,截取不完整
2、导出图片时,画布会出现一个闪动效果,有时闪动会立即恢复正常画布内容,有时会变为空白,需要鼠标主动点击一次画布才可以恢复画布的内容

Your Example Website or App

Steps to Reproduce the Bug or Issue

1、完成一个流程图的配置
2、设置一个按钮,调用导出的相关api,toSVG/toPN/toJPEG/exportSVG/exportPNG/exportJPEG等
3、观察页面会出现闪动效果
4、如果没有另外处理相关样式问题,导出的图片会缺失部分内容,截图不完整

Expected behavior

是否可以做到导出时不要出现页面闪动,导出的图片至少是完整的

Screenshots or Videos

Platform

windows
Chrome
2.11.1

Additional context

@x6-bot
Copy link
Contributor

x6-bot bot commented Apr 29, 2024

👋 @Makaite

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.

@Makaite
Copy link
Author

Makaite commented Apr 29, 2024

还有就是,如果在节点中设置了外部图片,导出后的图片是不会自动添加在导出的图片上的,需要通过一些处理才可以

@sxdPanda
Copy link

这里有记录图片导出问题:https://www.yuque.com/sxd_panda/antv/x6

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

No branches or pull requests

2 participants