Hello,
We'd like to use Draw.io to make process diagrams. Then to export the diagrams in SVG files in order to embed them into a web application.
We created a bunch of symbols in SVG, with attributes (id, class,...) that are needed to be rendered in a special way in our application.
I noticed that:
- when importing a SVG file into
draw.io, none of the SVG tags are kept, but a long string of letter and figures instead. And therefore the attributes (id, class,...) are not imported.
- when exporting to a SVG file, the original SVG is not recovered and we lost the tags and attributes. We still have the long string instead.
Furthermore:
- when creating a shape directly into Draw.io, and giving it some attributes (which I could call "id" or "class"), these attributes are not preserved when exporting to an SVG file.
Are we doing something wrong ?
To resume, is it possible to:
1- make a Draw library from SVG symbols, with attributes ("id", "class") and connectors
2- Use Draw to make diagrams using these symbols
3- Export the diagrams in proper SVG format, which preserves SVG tags and attributes
I thank you in advance for your help
Best regards,
Nicolas