ElementGroup
id: string
A string identifying the element group.
name: string
The name of the element group. This is shown in the legend.
caption: null | string
The caption of the element group. This is shown in the legend.
elementIds: string[]
The ids of the elements in the element group.
You can use these ids to get the full element objects via the method.
visible: boolean
Whether the element group is visible or not.
shownInLegend: boolean
Whether the element group is shown in the legend or not.