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

NodeReducer

NodeReducer<N, E, G, NS, GS> = (key, data, attrs, state, graphState, graph) => Partial<NodeDisplayData>

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

Type Parameters

N

N extends Attributes = Attributes

E

E extends Attributes = Attributes

G

G extends Attributes = Attributes

NS

NS = { }

GS

GS = { }

Parameters

key

string

data

NodeDisplayData

attrs

N

state

FullNodeState<NS>

graphState

FullGraphState<GS>

graph

Graph<N, E, G>

Returns

Partial<NodeDisplayData>