resolveGraphicValue
resolveGraphicValue<
A,S,GS,T>(value,attributes,state,graphState,graph,defaultValue):T
Defined in: packages/sigma/src/core/styles.ts:199
Resolves a GraphicValue to its actual value.
This is the main entry point for style resolution. It handles all value types:
- Literal values (pass-through)
- Attribute bindings (direct, numerical range, categorical dict)
- Function values
- Inline conditionals
Type Parameters
A
A extends Attributes = Attributes
S
S extends BaseNodeState | BaseEdgeState = BaseNodeState
GS
GS extends BaseGraphState = BaseGraphState
T
T = unknown
Parameters
value
GraphicValue<A, S, GS, T>
attributes
A
state
S
graphState
GS
graph
AbstractGraph
defaultValue
T
Returns
T