Skip to main content

Class: abstract AbstractEdgeProgram<N, E, G>

Extends

Type Parameters

N extends Attributes = Attributes

E extends Attributes = Attributes

G extends Attributes = Attributes

Constructors

new AbstractEdgeProgram()

new AbstractEdgeProgram<N, E, G>(_gl, _pickGl, _renderer): AbstractEdgeProgram<N, E, G>

Parameters

_gl: WebGLRenderingContext

_pickGl: WebGLRenderingContext

_renderer: Sigma<N, E, G>

Returns

AbstractEdgeProgram<N, E, G>

Inherited from

AbstractProgram.constructor

Defined in

sigma/src/rendering/program.ts:43

Properties

drawLabel

abstract drawLabel: undefined | EdgeLabelDrawingFunction<N, E, G>

Defined in

sigma/src/rendering/edge.ts:20

Methods

kill()

abstract kill(): void

Returns

void

Inherited from

AbstractProgram.kill

Defined in

sigma/src/rendering/program.ts:46


process()

abstract process(edgeIndex, offset, sourceData, targetData, data): void

Parameters

edgeIndex: number

offset: number

sourceData: NodeDisplayData

targetData: NodeDisplayData

data: DisplayData

Returns

void

Defined in

sigma/src/rendering/edge.ts:22


reallocate()

abstract reallocate(capacity): void

Parameters

capacity: number

Returns

void

Inherited from

AbstractProgram.reallocate

Defined in

sigma/src/rendering/program.ts:44


render()

abstract render(params): void

Parameters

params: RenderParams

Returns

void

Inherited from

AbstractProgram.render

Defined in

sigma/src/rendering/program.ts:45