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

generateEdgeProgram

generateEdgeProgram<N, E, G>(gl, pickingBuffer, renderer, edgePrimitives, antialias, nodePrimitives): GeneratedEdgeProgram<N, E, G>

Defined in: packages/sigma/src/primitives/parser.ts:348

Generates the full edge program suite from a primitives declaration. Wraps createEdgeProgram with primitive parsing and tacks on the declared graphic variables and the resolved path list.

N extends Attributes = Attributes

E extends Attributes = Attributes

G extends Attributes = Attributes

WebGL2RenderingContext

WebGLFramebuffer | null

Sigma<N, E, G>

EdgePrimitives | undefined

boolean

NodePrimitives | undefined

GeneratedEdgeProgram<N, E, G>