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

ResolvedEdgeColor

Defined in: packages/sigma/src/rendering/edges/layers/color-value.ts:25

An EdgeColorValue resolved to GLSL, plus the requirements that come with it.

Properties

attributes

attributes: AttributeSpecification[]

Defined in: packages/sigma/src/rendering/edges/layers/color-value.ts:34

Attributes the layer must declare for this value.


glsl

glsl: string

Defined in: packages/sigma/src/rendering/edges/layers/color-value.ts:31

GLSL vec4 expression (straight alpha), carrying only the color’s own alpha. Edge opacity is applied once to the final composited fragment by the generator, never per layer color.


needsNodeColors

needsNodeColors: boolean

Defined in: packages/sigma/src/rendering/edges/layers/color-value.ts:37

Whether the layer must set needsNodeColors.