NodeGraphRenderCtx
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:167
Context passed to renderNode.
Properties
Section titled “Properties”dragging
Section titled “dragging”dragging:
boolean
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:171
True when the node is being dragged (single or multi).
hovered
Section titled “hovered”hovered:
boolean
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:173
True when the pointer is hovering over the node body.
selected
Section titled “selected”selected:
boolean
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:169
True when the node is part of the current selection.
zoom:
number
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:175
Current viewport zoom — useful for LOD rendering.