Skip to content

Function: useNode

useNode<Data, CustomEvents>(id?): Object

Type parameters

NameType
Dataany
CustomEventsextends Record<string, CustomEvent<any[], any>> = any

Parameters

NameType
id?string

Returns

Object

NameType
connectedEdgesComputedRef
idstring
nodeGraphNode
nodeElRef | null
parentNodeComputedRef

Released under the MIT License.