-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
自定义节点导出 #3787
Comments
请问解决了吗,我这边也是画布有 组件 ( 如下代码在不使用 组件而是使用 @ant-design/icons 里的图标的时候能正常导出。
其它帖子也有这个问题我也遇到相同问题,虽然是在React中使用,但是框架应该对此没有影响。 Originally posted by @Val-istar-Guo in #1144 (comment) 会不会和这个有关系
|
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
问题描述
1、大小存在偏差
graph.exportPNG('test', {
padding: 20,
stylesheet: ``
})
2、iconfont 要怎么配置才能生成呢?
重现链接
无
重现步骤
导出
graph.exportPNG('test', {
padding: 20,
stylesheet: ``
})
预期行为
导出位置不偏移
平台
屏幕截图或视频(可选)
1、copyStyles: true

2、copyStyles: false

补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: