Skip to content

NodeGraphRenderCtx

Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:167

Context passed to renderNode.

Properties

dragging

dragging: boolean

Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:171

True when the node is being dragged (single or multi).


hovered

hovered: boolean

Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:173

True when the pointer is hovering over the node body.


selected

selected: boolean

Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:169

True when the node is part of the current selection.


zoom

zoom: number

Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:175

Current viewport zoom — useful for LOD rendering.