resolveGraphicValue
resolveGraphicValue<
A,S,GS,T>(value,attributes,state,graphState,graph,defaultValue):T
Defined in: packages/sigma/src/core/styles.ts:198
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
Section titled “Type Parameters”A extends Attributes = Attributes
S extends BaseNodeState | BaseEdgeState = BaseNodeState
GS extends BaseGraphState = BaseGraphState
T = unknown
Parameters
Section titled “Parameters”GraphicValue<A, S, GS, T>
attributes
Section titled “attributes”A
S
graphState
Section titled “graphState”GS
AbstractGraph
defaultValue
Section titled “defaultValue”T
Returns
Section titled “Returns”T