When I use the custom library, the exported xml format, cannot obtain the value of shape

1.firstly,

I use custom library defines the data format through , and gives value, id, shape attributes. like this:

[{“data”:“data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB0PSIxNjE3MTcyOTQ1MzcxIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMTA3LjAwNzk5NTYwNTQ2ODc1IDEwNC40NDgwNDM4MjMyNDIxOSA4MTAuNjc3NDkwMjM0Mzc1IDgxMy4wOTYwNjkzMzU5Mzc1IiB2ZXJzaW9uPSIxLjEiIHAtaWQ9IjE5NjU4IiB3aWR0aD0iODEwLjY3NzQ5MDIzNDM3NSIgaGVpZ2h0PSI4MTMuMDk2MDY5MzM1OTM3NSI+PGRlZnM+PHN0eWxlIHR5cGU9InRleHQvY3NzIi8+PC9kZWZzPjxwYXRoIGQ9Ik0yNDkuODU2IDE3OS4yaDEzOC43NTJjMC0yNS42LTQuMDk2LTUxLjItMTIuOC03Mi43MDRIMjAyLjc1MmMtNTMuMjQ4IDAtOTUuNzQ0IDQyLjQ5Ni05NS43NDQgOTUuNzQ0djE4My4yOTZjMjEuNTA0IDYuMTQ0IDQ1LjA1NiAxMC43NTIgNjguMDk2IDEwLjc1Mmg0LjA5NlYyNDkuODU2QzE3OS4yIDE5Ni4wOTYgMTk2LjA5NiAxNzkuMiAyNDkuODU2IDE3OS4yeiBtMzUxLjc0NCAyMTUuNTUyYzAgNDEuNDcyIDMzLjI4IDc0Ljc1MiA3NC4yNCA3NC43NTJzNzQuNzUyLTMzLjI4IDc0Ljc1Mi03NC4yNHYtMC41MTJjMC00MS40NzItMzMuMjgtNzQuNzUyLTc0LjI0LTc0Ljc1Mi00MS40NzIgMC03NC43NTIgMzMuMjgtNzQuNzUyIDc0LjI0djAuNTEyeiBtODkuNiAzMjBIMjQ5Ljg1NmMtNTMuMjQ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iIgZmlsbD0iI0ZGNkEwMCIgcC1pZD0iMTk2NjAiLz48L3N2Zz4=”,“w”:518,“h”:520,“title”:"postgresql PostgreSQL ",“aspect”:“fixed”, “id”:“awscloud”,“value”:“postgresql” }]

import mxlibrary data format : like this

https://user-images.githubusercontent.com/342686/179490285-3abba0bc-b577-4601-88db-51bacb414d2e.png

  1. Second,

When exporting the xml format, under cannot export the attributes of each svg data format, such as shape = awscloud value

the export xml file like this: export mxGraphModel data format:

https://user-images.githubusercontent.com/342686/179490347-01caab4a-db01-4281-a013-190d3bff471d.png

  1. I wish to the export file can be add the value the first step add , mxGraphModel data format like the

Shape definition of built-in lib cisco: like this:

This way I can know what is the unique id of each svg, the identity of this svg graphic

Hope to get a solution, thanks!

Thanks for posting this here. Unfortunately, we can only support draw.io support that is related to the Atlassian apps.

I assume your question is unrelated to the Atlassian ecosystem, right?

Yes, so, if it’s not related to draw.io for Confluence, please contact the open source diagrams.net support at:

• First, look through all of the self-help resources
• If you cannot find an answer to your question or problem, you can post a new question to the Google Group.
• If your issue is a technical bug or a feature request, the best place for those is the issue tracker on this project.