EdgeLabelBackgroundData
Defined in: packages/sigma/src/rendering/edges/labels/background.ts:52
Properties
Section titled “Properties”baseFontSize
Section titled “baseFontSize”baseFontSize:
number
Defined in: packages/sigma/src/rendering/edges/labels/background.ts:56
Base font size in pixels
color:
number
Defined in: packages/sigma/src/rendering/edges/labels/background.ts:66
Packed RGBA color from floatColor()
edgeAttributes
Section titled “edgeAttributes”edgeAttributes:
Record<string,unknown>
Defined in: packages/sigma/src/rendering/edges/labels/background.ts:70
Resolved edge display data — source for the path attributes packed into the attribute texture.
edgeIndex
Section titled “edgeIndex”edgeIndex:
number
Defined in: packages/sigma/src/rendering/edges/labels/background.ts:54
Row index in the edge data texture
id:
number
Defined in: packages/sigma/src/rendering/edges/labels/background.ts:68
Packed picking id from indexToColor()
margin
Section titled “margin”margin:
number
Defined in: packages/sigma/src/rendering/edges/labels/background.ts:62
Label margin in pixels (gap between edge surface and label)
padding
Section titled “padding”padding:
number
Defined in: packages/sigma/src/rendering/edges/labels/background.ts:64
Background padding in pixels
positionMode
Section titled “positionMode”positionMode:
number
Defined in: packages/sigma/src/rendering/edges/labels/background.ts:60
0=over, 1=above, 2=below, 3=auto
totalTextWidth
Section titled “totalTextWidth”totalTextWidth:
number
Defined in: packages/sigma/src/rendering/edges/labels/background.ts:58
Label text width in atlas (glyph) units