Skip to content
Entangle UI v0.13.0

NodeGraphBind

Defined in: src/components/editor/NodeGraph/useNodeGraph.ts:53

The four controlled props + change handlers, ready to spread.

edges: NodeGraphEdge[]

Defined in: src/components/editor/NodeGraph/useNodeGraph.ts:55


groups: NodeGraphGroup[]

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


nodes: NodeGraphNode[]

Defined in: src/components/editor/NodeGraph/useNodeGraph.ts:54


onEdgesChange: (edges) => void

Defined in: src/components/editor/NodeGraph/useNodeGraph.ts:59

NodeGraphEdge[]

void


onGroupsChange: (groups) => void

Defined in: src/components/editor/NodeGraph/useNodeGraph.ts:60

NodeGraphGroup[]

void


onNodesChange: (nodes) => void

Defined in: src/components/editor/NodeGraph/useNodeGraph.ts:58

NodeGraphNode[]

void


onSelectionChange: (selection) => void

Defined in: src/components/editor/NodeGraph/useNodeGraph.ts:61

NodeGraphSelection

void


selection: NodeGraphSelection

Defined in: src/components/editor/NodeGraph/useNodeGraph.ts:57