Skip to main content

Class: abstract AbstractNodeProgram<N, E, G>

Extends

Type Parameters

N extends Attributes = Attributes

E extends Attributes = Attributes

G extends Attributes = Attributes

Constructors

new AbstractNodeProgram()

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

Parameters

_gl: WebGLRenderingContext

_pickGl: WebGLRenderingContext

_renderer: Sigma<N, E, G>

Returns

AbstractNodeProgram<N, E, G>

Inherited from

AbstractProgram.constructor

Defined in

sigma/src/rendering/program.ts:42

Properties

drawHover

abstract drawHover: undefined | NodeHoverDrawingFunction<N, E, G>

Defined in

sigma/src/rendering/node.ts:22


drawLabel

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

Defined in

sigma/src/rendering/node.ts:21

Methods

kill()

abstract kill(): void

Returns

void

Inherited from

AbstractProgram.kill

Defined in

sigma/src/rendering/program.ts:45


process()

abstract process(nodeIndex, offset, data): void

Parameters

nodeIndex: number

offset: number

data: NodeDisplayData

Returns

void

Defined in

sigma/src/rendering/node.ts:23


reallocate()

abstract reallocate(capacity): void

Parameters

capacity: number

Returns

void

Inherited from

AbstractProgram.reallocate

Defined in

sigma/src/rendering/program.ts:43


render()

abstract render(params): void

Parameters

params: RenderParams

Returns

void

Inherited from

AbstractProgram.render

Defined in

sigma/src/rendering/program.ts:44