InlineDataConditional
Defined in: packages/sigma/src/types/styles.ts:176
Inline data conditional value.
Chooses between then and else based on a graph attribute shorthand predicate.
thenandelsecan be direct values, attribute bindings, or functionselseis optional; if omitted, falls back to the graphic variable’s default
Type Parameters
Section titled “Type Parameters”A extends Attributes
S
GS
T
Properties
Section titled “Properties”
optionalelse?:GraphicValue<A,S,GS,T>
Defined in: packages/sigma/src/types/styles.ts:179
then:
GraphicValue<A,S,GS,T>
Defined in: packages/sigma/src/types/styles.ts:178
whenData
Section titled “whenData”whenData:
DataPredicate<A>
Defined in: packages/sigma/src/types/styles.ts:177