createEdgeLabelProgram
createEdgeLabelProgram<
N,E,G>(gl,pickingBuffer,renderer,options):EdgeLabelProgram<N,E,G>
Defined in: packages/sigma/src/rendering/edges/labels/factory.ts:117
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 calls this internally and exposes the instance in
its labelProgram field.
Type Parameters
N
N extends Attributes = Attributes
E
E extends Attributes = Attributes
G
G extends Attributes = Attributes
Parameters
gl
WebGL2RenderingContext
pickingBuffer
WebGLFramebuffer | null
renderer
Sigma<N, E, G>
options
Returns
EdgeLabelProgram<N, E, G>