@graphty/graphty-element / session / ValueGroup
Interface: ValueGroup ​
Defined in: graphty-element/src/session/styles/values.ts:45
One value of a category path with everything one layer paints it, across every channel: what styles.groups answers.
Since ​
3.26.0
Extended by ​
Properties ​
count ​
readonlycount:number
Defined in: graphty-element/src/session/styles/values.ts:49
How many of the layer's elements carry it.
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.
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
hidden ​
readonlyhidden:boolean
Defined in: graphty-element/src/session/styles/values.ts:51
Whether the layer hides it (styles.setValueHidden), which it does in every channel at once.
name? ​
readonlyoptionalname?:string
Defined in: graphty-element/src/session/styles/values.ts:53
The name a reader gave the value (session.data.setValueLabel), when it has one.
value ​
readonlyvalue:unknown
Defined in: graphty-element/src/session/styles/values.ts:47
The value, spelled as the data spells it.