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

GeneratedEdgeShaders

Defined in: packages/sigma/src/rendering/edges/types.ts:577

Generated shader metadata from the edge shader generator.

attributes: object[]

Defined in: packages/sigma/src/rendering/edges/types.ts:585

List of attribute specifications

name: string

size: number

type: number


constantAttributes: object[]

Defined in: packages/sigma/src/rendering/edges/types.ts:594

Constant attribute specification

name: string

size: number

type: number


constantData: number[][]

Defined in: packages/sigma/src/rendering/edges/types.ts:592

Constant attribute data (for tessellation) - single-path mode


optional constantDataPerCombination?: Map<string, number[][]>

Defined in: packages/sigma/src/rendering/edges/types.ts:610

Constant data per path/head/tail combination. Key format: “pathName:headName:tailName” Only present in multi-path mode.


fragmentShader: string

Defined in: packages/sigma/src/rendering/edges/types.ts:581

Complete fragment shader source


uniforms: string[]

Defined in: packages/sigma/src/rendering/edges/types.ts:583

List of uniform names used


optional vertexCountsPerCombination?: Map<string, number>

Defined in: packages/sigma/src/rendering/edges/types.ts:603

Vertex counts per path/head/tail combination. Key format: “pathName:headName:tailName” Only present in multi-path mode.


vertexShader: string

Defined in: packages/sigma/src/rendering/edges/types.ts:579

Complete vertex shader source


verticesPerEdge: number

Defined in: packages/sigma/src/rendering/edges/types.ts:590

Number of vertices per edge instance (single-path mode only). In multi-path mode, use vertexCountsPerCombination instead.