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.
Type Parameters
Section titled “Type Parameters”N extends Attributes = Attributes
E extends Attributes = Attributes
G extends Attributes = Attributes
Parameters
Section titled “Parameters”WebGL2RenderingContext
pickingBuffer
Section titled “pickingBuffer”WebGLFramebuffer | null
renderer
Section titled “renderer”Sigma<N, E, G>
edgePrimitives
Section titled “edgePrimitives”EdgePrimitives | undefined
antialias
Section titled “antialias”boolean
nodePrimitives
Section titled “nodePrimitives”NodePrimitives | undefined
Returns
Section titled “Returns”GeneratedEdgeProgram<N, E, G>