Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG!Group expects *sequence* of elements #17

Open
lemmy opened this issue Jul 15, 2020 · 2 comments
Open

SVG!Group expects *sequence* of elements #17

lemmy opened this issue Jul 15, 2020 · 2 comments

Comments

@lemmy
Copy link
Member

lemmy commented Jul 15, 2020

(**************************************************************************)
(* Group element. 'children' is a sequence of elements that will be *)
(* contained in this group. *)

What is the meaning of the order given by the sequence? Is it the z coordinate of the svg?

@lemmy
Copy link
Member Author

lemmy commented Aug 27, 2020

@will62794 Can you shed light on this?

@will62794
Copy link
Contributor

will62794 commented Sep 14, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants