Skip to main content

Module: node-image/src

Variables

NodeImageProgram

Const NodeImageProgram: NodeProgramType<Attributes, Attributes, Attributes>

Defined in

node-image/src/index.ts:4


NodePictogramProgram

Const NodePictogramProgram: NodeProgramType<Attributes, Attributes, Attributes>

Defined in

node-image/src/index.ts:5

Functions

createNodeImageProgram

createNodeImageProgram<N, E, G>(options?): NodeProgramType<N, E, G>

To share the texture between the program instances of the graph and the hovered nodes (to prevent some flickering, mostly), this program must be "built" for each sigma instance:

Type parameters

NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes

Parameters

NameType
options?Partial<CreateNodeImageProgramOptions<N, E, G>>

Returns

NodeProgramType<N, E, G>

Defined in

node-image/src/factory.ts:62