Skip to content

useNodeGraphInteraction

useNodeGraphInteraction(): NodeGraphInteractionState

Defined in: src/components/editor/NodeGraph/NodeGraphContext.ts:56

Subscribe to the interaction slice — re-renders on gesture lifecycle (drag, connect, marquee) and on per-frame deltas during a drag.

Returns

NodeGraphInteractionState