Skip to content
This is the alpha v4 version website. Looking for the v3 documentation?

InlineDataConditional

Defined in: packages/sigma/src/types/styles.ts:181

Inline data conditional value. Chooses between then and else based on a graph attribute shorthand predicate.

  • then and else can be direct values, attribute bindings, or functions
  • else is optional; if omitted, falls back to the graphic variable’s default

Type Parameters

A

A extends Attributes

S

S

GS

GS

T

T

Properties

else?

optional else?: GraphicValue<A, S, GS, T>

Defined in: packages/sigma/src/types/styles.ts:184


then

then: GraphicValue<A, S, GS, T>

Defined in: packages/sigma/src/types/styles.ts:183


whenData

whenData: DataPredicate<A>

Defined in: packages/sigma/src/types/styles.ts:182