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
Section titled “Properties”attributes
Section titled “attributes”attributes:
Record<string,unknown>
Defined in: packages/sigma/src/primitives/types.ts:128
labelHeight
Section titled “labelHeight”labelHeight:
number
Defined in: packages/sigma/src/primitives/types.ts:131
labelWidth
Section titled “labelWidth”labelWidth:
number
Defined in: packages/sigma/src/primitives/types.ts:130
node:
string
Defined in: packages/sigma/src/primitives/types.ts:127
pixelRatio
Section titled “pixelRatio”pixelRatio:
number
Defined in: packages/sigma/src/primitives/types.ts:129