@graphty/graphty-element / session / LayerGroup
Interface: LayerGroup ​
Defined in: graphty-element/src/session/styles/values.ts:71
One layer of several read as one group of a binding across them, item i being the i-th layer from the top: what styles.layerGroups answers. The same fields as a ValueGroup of a data value, so one group editor lists both.
Since ​
3.30.0
Extends ​
Properties ​
count ​
readonlycount:number
Defined in: graphty-element/src/session/styles/values.ts:79
How many elements the layer matches.
Overrides ​
entries ​
readonlyentries:Readonly<Partial<Record<Channel,string|number>>>
Defined in: graphty-element/src/session/styles/values.ts:55
Each channel's value-table entry for it, for the channels that have one.
Inherited from ​
folded? ​
readonlyoptionalfolded?:true
Defined in: graphty-element/src/session/styles/values.ts:62
True when the group is folded into the layer's Other group (styles.setFoldBelow, or a colour palette that ran out under overflow: "other"), so it paints what Other paints. Folded groups come after the rest, largest first.
Since ​
3.27.0
Inherited from ​
hidden ​
readonlyhidden:boolean
Defined in: graphty-element/src/session/styles/values.ts:81
Whether the layer or its row is hidden.
Overrides ​
name ​
readonlyname:string
Defined in: graphty-element/src/session/styles/values.ts:75
The name the layer list shows: its row's, else the layer's own.
Overrides ​
paints ​
readonlypaints:Readonly<Partial<Record<Channel,EncodedValue>>>
Defined in: graphty-element/src/session/styles/values.ts:83
What the binding paints this layer: its channel's value, and the overflow's second cue's.
row ​
readonlyrow:string
Defined in: graphty-element/src/session/styles/values.ts:77
The style row that holds the layer (styles.hideRow, styles.renameRow take it).
value ​
readonlyvalue:string
Defined in: graphty-element/src/session/styles/values.ts:73
The layer's id: the group's value, and the key of its entry in the binding's map.