Hi Lucid,
Perhaps a bit of a specialized use case here, but likely a straightforward enhancement.
I’ve been working on some tools that parse and post-process diagrams in SVG format for use in an interactive web UI. The SVG export capability in Lucid is functional, but the resulting SVG images are built from generic SVG <path/> elements that are otherwise devoid of any attributes or metadata that can tie them back to the corresponding shape information from the Lucid document.
I’d find it highly useful if Lucid attached metadata from shapes as custom XML attributes to generated <path/> elements in SVG output. In particular, it would be nice to have text labels from Lucid shapes passed through as a SVG custom attribute. The Lucid shape ID could also be passed through as an “id” attribute. These attributes would be ignored by standard SVG parsers/renderers, but could be picked up out of the DOM model by custom JavaScript SVG parsers like mine.
Thanks!