@graphty/graphty-element / session / ValueCategory
Interface: ValueCategory ​
Defined in: graphty-element/src/session/styles/values.ts:101
One value a categorical binding paints: its group of the layer's elements.
Properties ​
count ​
readonlycount:number
Defined in: graphty-element/src/session/styles/values.ts:105
How many of the layer's elements carry it.
entry? ​
readonlyoptionalentry?:string|number
Defined in: graphty-element/src/session/styles/values.ts:109
The binding's value-table entry for it, or undefined when it follows the palette.
hidden ​
readonlyhidden:boolean
Defined in: graphty-element/src/session/styles/values.ts:107
Whether the binding hides it (styles.setValueHidden).
name? ​
readonlyoptionalname?:string
Defined in: graphty-element/src/session/styles/values.ts:111
The name a reader gave the value (session.data.setValueLabel), when it has one.
Since ​
3.26.0
value ​
readonlyvalue:unknown
Defined in: graphty-element/src/session/styles/values.ts:103
The value, spelled as the data spells it: the number 3, not the text "3".