Skip to content

SigmaOptions

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

Type of the options argument of the Sigma constructor.

Type Parameters

N

N extends Attributes = Attributes

E

E extends Attributes = Attributes

G

G extends Attributes = Attributes

NS

NS = { }

ES

ES = { }

GS

GS = { }

P

P extends PrimitivesDeclaration = PrimitivesDeclaration

Properties

customEdgeState?

optional customEdgeState?: ForbidBaseKeys<BaseEdgeState, ES>

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


customGraphState?

optional customGraphState?: ForbidBaseKeys<BaseGraphState, GS>

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


customNodeState?

optional customNodeState?: ForbidBaseKeys<BaseNodeState, NS>

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


edgeReducer?

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

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


nodeReducer?

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

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


primitives?

optional primitives?: P

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


settings?

optional settings?: Partial<Settings>

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


styles?

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