Skip to main content

Function: createNodeImageProgram()

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

Defined in: node-image/src/factory.ts:68

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​

• N extends Attributes = Attributes

• E extends Attributes = Attributes

• G extends Attributes = Attributes

Parameters​

options?​

Partial<CreateNodeImageProgramOptions<N, E, G>>

Returns​

NodeProgramType<N, E, G>