Skip to content
sigma.js sigma.js
v4.0.6 Docs Examples GitHub 12.2K

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.

attributes: AttributeSpecification[]

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

Attributes the layer must declare for this value.


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: boolean

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

Whether the layer must set needsNodeColors.