Skip to content

LabelAttachmentContext

Defined in: packages/sigma/src/primitives/types.ts:126

A label attachment renderer receives context about the node and returns a drawable image source (canvas, image, etc.) or null to skip.

Properties

attributes

attributes: Record<string, unknown>

Defined in: packages/sigma/src/primitives/types.ts:128


labelHeight

labelHeight: number

Defined in: packages/sigma/src/primitives/types.ts:131


labelWidth

labelWidth: number

Defined in: packages/sigma/src/primitives/types.ts:130


node

node: string

Defined in: packages/sigma/src/primitives/types.ts:127


pixelRatio

pixelRatio: number

Defined in: packages/sigma/src/primitives/types.ts:129