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

StylesDeclaration

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

Styles API:

Type Parameters

NA

NA extends Attributes = Attributes

EA

EA extends Attributes = Attributes

NS

NS = { }

ES

ES = { }

GS

GS = { }

NodeProgramVariables

NodeProgramVariables = EmptyVariables

EdgeProgramVariables

EdgeProgramVariables = EmptyVariables

Layer

Layer extends string = string

Properties

edges?

optional edges?: EdgeStyles<EA, FullEdgeState<ES>, FullGraphState<GS>, EdgeProgramVariables, Layer>

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


nodes?

optional nodes?: NodeStyles<NA, FullNodeState<NS>, FullGraphState<GS>, NodeProgramVariables, Layer>

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


stage?

optional stage?: StageStyles<FullGraphState<GS>>

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