CommunityModules
CommunityModules copied to clipboard
SVG!Group expects *sequence* of elements
https://github.com/tlaplus/CommunityModules/blob/dd647242998a8694846a17874344bf7299c43f56/modules/SVG.tla#L96-L98
What is the meaning of the order given by the sequence? Is it the z coordinate of the svg?
@will62794 Can you shed light on this?
As I recall, the order of the given sequence should simply correspond to the order that SVG elements are appended as children to the <g> SVG element. From a quick experiment, this ordering does indeed appear to affect z order of the rendered elements, but I'd have to search more to find official SVG documentation that describes the behavior.