Skip to content
This is the alpha v4 version website. Looking for the v3 documentation?

EdgeLabelShaderOptions

Defined in: packages/sigma/src/rendering/edges/labels/generator.ts:46

Properties

fontSizeMode?

optional fontSizeMode?: "fixed" | "scaled"

Defined in: packages/sigma/src/rendering/edges/labels/generator.ts:52

Font size mode: “fixed” or “scaled”


fullVisibilityThreshold?

optional fullVisibilityThreshold?: number

Defined in: packages/sigma/src/rendering/edges/labels/generator.ts:56

Visibility ratio for full opacity (default: 0.6)


hasBorder?

optional hasBorder?: boolean

Defined in: packages/sigma/src/rendering/edges/labels/generator.ts:50

Whether to render text border (outline)


minVisibilityThreshold?

optional minVisibilityThreshold?: number

Defined in: packages/sigma/src/rendering/edges/labels/generator.ts:54

Minimum visibility ratio to show label (default: 0.5)


paths

paths: EdgePath[]

Defined in: packages/sigma/src/rendering/edges/labels/generator.ts:48

The path types for positioning labels along edges (supports multi-path)