createEdgeLabelProgram
createEdgeLabelProgram<
N,E,G>(gl,pickingBuffer,renderer,options):EdgeLabelProgram<N,E,G>
Defined in: packages/sigma/src/rendering/edges/labels/factory.ts:116
Builds an edge label program instance for a specific path type. The program renders text labels along edge paths using an SDF (Signed Distance Field) atlas for crisp text at any zoom level.
createEdgeProgram exposes it through its createLabelPrograms method.
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>
options
Section titled “options”Returns
Section titled “Returns”EdgeLabelProgram<N, E, G>