Skip to main content

Type Alias: NodeLabelDrawingFunction()<N, E, G>

NodeLabelDrawingFunction<N, E, G>: (context, data, settings) => void

Defined in: sigma/src/rendering/node-labels.ts:6

Type Parameters​

• N extends Attributes = Attributes

• E extends Attributes = Attributes

• G extends Attributes = Attributes

Parameters​

context​

CanvasRenderingContext2D

data​

PartialButFor<NodeDisplayData, "x" | "y" | "size" | "label" | "color">

settings​

Settings<N, E, G>

Returns​

void