Skip to main content

Function: drawSquareNodeLabel()

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

Type Parameters

N extends Attributes = Attributes

E extends Attributes = Attributes

G extends Attributes = Attributes

Parameters

context: CanvasRenderingContext2D

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

settings: Settings<N, E, G>

Returns

void

Defined in

node-square/src/utils.ts:6