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

EdgeReducer

EdgeReducer<N, E, G, ES, GS> = (key, data, attrs, state, graphState, graph) => Partial<EdgeDisplayData>

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

Type Parameters

N

N extends Attributes = Attributes

E

E extends Attributes = Attributes

G

G extends Attributes = Attributes

ES

ES = { }

GS

GS = { }

Parameters

key

string

data

EdgeDisplayData

attrs

E

state

FullEdgeState<ES>

graphState

FullGraphState<GS>

graph

Graph<N, E, G>

Returns

Partial<EdgeDisplayData>