Hello, I think it would be very helpful for my use case if more metadata about an object was included in each path element that is created in the SVG export for each Vectornator object. Specifically, I would like the object’s label to be included as the SVG element’s id attribute (or something else) as well as position and size data. Inkscape and Adobe Illustrator both have these features to some degree.
My use case specifically is the SVGs that I am creating are to be used as the interface for modules I am writing for the VCV Rack Eurorack simulator software: https://vcvrack.com/
The module development toolchain comes with a tool that parses a module and will automatically generates the C++ class that maps to that module. This allows designers to add placeholder objects where standard UI elements from VCV Rack should be placed and developers don’t have to manually create the declarations of where these elements are (e.g. knobs, sliders, and buttons). From there, developers can generate their C++ class without having to manually notate the exact locations and names of the different “components” (as VCV Rack calls them).
I know for Inkscape, an exported SVG will use rect elements for squares and rectangles (which have required width, height, and position attributes) and circle elements for perfect circles (which have required radius and position attributes), but Vectornator seems to just turn everything into path elements (which don’t have position attributes). I don’t really care specifically about rect and circle elements being used, but I do need the position and size data for those elements if possible. The existing VCV Rack tooling does not support path elements, but I’m willing to patch said tooling to support Vectornator if an alternative approach to getting the data I need is implemented.
So far I am loving the workflow and efficiency of Vectornator, especially on my iPad with my Apple Pencil, but I am not sure how useful the software will really be for me as it currently stands with how SVGs are exported. Overall, the performance of this app is miles ahead of Inkscape. The ability to generate these C++ classes from my SVGs is crucial.