Skip to content

Saving always returns blank diagram. #14

Answered by marcveens
Vladmidir asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for your extensive example! I think I found the issue.

I see in your example that you export and import in a xmlpng format. By default, the DrawIoEmbed exports in a xmlsvg format. I realize now that it's not documented in the readme, but it's possible to change the default export format by using <DrawIoEmbed exportFormat="xmlpng" />. When running your example, this solves the issue. I'll make sure to update the docs!

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@marcveens
Comment options

Answer selected by Vladmidir
@Vladmidir
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants