You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have a green circle and want to duplicate it to many translated positions, then the circle's svg source will get textually duplicated. When the duplicand has a lot of source this can get very verbose. Any chance to use xml references optionally to refer to the original?
The text was updated successfully, but these errors were encountered:
This is definitely something we want to support. It shouldn't be too hard to get a simple version working: add a new type of Annotation (in diagrams-core) specifying some sort of id, then modify the SVG backend to notice these and only generate one copy, with references. However, doing it that way requires the user to come up with unique names (giving the same name to different subdiagrams would result in wrong output). I've thought a bit about how to do recovery of sharing automatically, using a system of hashes, but that would be more work.
When I have a green circle and want to duplicate it to many translated positions, then the circle's svg source will get textually duplicated. When the duplicand has a lot of source this can get very verbose. Any chance to use xml references optionally to refer to the original?
The text was updated successfully, but these errors were encountered: