Skip to content

useNodeGraphData

useNodeGraphData(): NodeGraphDataState

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

Subscribe to the data slice — re-renders when the graph contents (nodes, edges, groups, default size) change.

Returns

NodeGraphDataState