Groups of Objects

Here is a listing for three rectangles in a Group (the rectangle attributes have been removed for clarity). It can be seen that an Inkscape Group is just an SVG group, while an Inkscape Layer is an SVG group with some extra Inkscape parameters.


  <g                                                    1
     inkscape:label="Layer 1"
     inkscape:groupmode="layer"
     id="layer1"
    <g                                                  2
       id="g1359">                                      3
      <rect ... />                                      4
      <rect ... />
      <rect ... />
    </g>                                                5
  </g>                                                  6

  

1

Start of first SVG group corresponding to an Inkscape Layer.

2

Start of second SVG group corresponding to an Inkscape Group.

4

Three rectangle objects.

5

End of Inkscape Group.

6

End of Inkscape Layer.