Please add the diagram source code to SVG file like it is done for PNG files

0 votes
asked Mar 27, 2017 in Closed feature request by PeterBakker (280 points)
PlantUML adds metadata, the parsed code, to PNG files.

Please provide this feature also for SVG files.

1 Answer

0 votes
answered Mar 27, 2017 by plantuml (295,000 points)
selected Mar 29, 2017 by PeterBakker
Best answer

It was added as a comment in the SVG file (using <!-- and --!>)

This should be OK in last beta
Tell us if it's what you are expecting !

commented Mar 29, 2017 by PeterBakker (280 points)
Thanks, it works as expected :-)
commented Apr 3, 2017 by adrian (120 points)
SVG seems to support this:

This is much better than comments since it can be red by other tools.

Thank you.