Skip to content
sigma.js sigma.js
v4.0.6 Docs Examples GitHub 12.2K

SigmaOptions

Defined in: packages/sigma/src/types.ts:504

Type of the options argument of the Sigma constructor.

N extends Attributes = Attributes

E extends Attributes = Attributes

G extends Attributes = Attributes

NS = { }

ES = { }

GS = { }

P extends PrimitivesDeclaration = PrimitivesDeclaration

optional customEdgeState?: ForbidBaseKeys<BaseEdgeState, ES>

Defined in: packages/sigma/src/types.ts:528


optional customGraphState?: ForbidBaseKeys<BaseGraphState, GS>

Defined in: packages/sigma/src/types.ts:529


optional customNodeState?: ForbidBaseKeys<BaseNodeState, NS>

Defined in: packages/sigma/src/types.ts:527


optional edgeReducer?: EdgeReducer<N, E, G, ES, GS>

Defined in: packages/sigma/src/types.ts:526


optional nodeReducer?: NodeReducer<N, E, G, NS, GS>

Defined in: packages/sigma/src/types.ts:525


optional primitives?: P

Defined in: packages/sigma/src/types.ts:513


optional settings?: Partial<Settings>

Defined in: packages/sigma/src/types.ts:524


optional styles?: StylesDeclaration<N, E, NoInfer<NS>, NoInfer<ES>, NoInfer<GS>, ExtractNodeVarsFromPrimitives<P>, ExtractEdgeVarsFromPrimitives<P>, ExtractDepthLayersFromPrimitives<P>>

Defined in: packages/sigma/src/types.ts:514