Module: node-image/src
Variables
NodeImageProgram
• Const
NodeImageProgram: NodeProgramType
<Attributes
, Attributes
, Attributes
>
Defined in
NodePictogramProgram
• Const
NodePictogramProgram: NodeProgramType
<Attributes
, Attributes
, Attributes
>
Defined in
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
Name | Type |
---|---|
N | extends Attributes = Attributes |
E | extends Attributes = Attributes |
G | extends Attributes = Attributes |
Parameters
Name | Type |
---|---|
options? | Partial <CreateNodeImageProgramOptions <N , E , G >> |
Returns
NodeProgramType
<N
, E
, G
>