NodeGraphBind
Defined in: src/components/editor/NodeGraph/useNodeGraph.ts:53
The four controlled props + change handlers, ready to spread.
Properties
Section titled “Properties”edges:
NodeGraphEdge[]
Defined in: src/components/editor/NodeGraph/useNodeGraph.ts:55
groups
Section titled “groups”groups:
NodeGraphGroup[]
Defined in: src/components/editor/NodeGraph/useNodeGraph.ts:56
nodes:
NodeGraphNode[]
Defined in: src/components/editor/NodeGraph/useNodeGraph.ts:54
onEdgesChange
Section titled “onEdgesChange”onEdgesChange: (
edges) =>void
Defined in: src/components/editor/NodeGraph/useNodeGraph.ts:59
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
onGroupsChange
Section titled “onGroupsChange”onGroupsChange: (
groups) =>void
Defined in: src/components/editor/NodeGraph/useNodeGraph.ts:60
Parameters
Section titled “Parameters”groups
Section titled “groups”Returns
Section titled “Returns”void
onNodesChange
Section titled “onNodesChange”onNodesChange: (
nodes) =>void
Defined in: src/components/editor/NodeGraph/useNodeGraph.ts:58
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
onSelectionChange
Section titled “onSelectionChange”onSelectionChange: (
selection) =>void
Defined in: src/components/editor/NodeGraph/useNodeGraph.ts:61
Parameters
Section titled “Parameters”selection
Section titled “selection”Returns
Section titled “Returns”void
selection
Section titled “selection”selection:
NodeGraphSelection
Defined in: src/components/editor/NodeGraph/useNodeGraph.ts:57