Function: useNode
â–¸ useNode<Data
, CustomEvents
>(id?
): Object
Type parameters
Name | Type |
---|---|
Data | any |
CustomEvents | extends Record <string , CustomEvent <any [], any >> = any |
Parameters
Name | Type |
---|---|
id? | string |
Returns
Object
Name | Type |
---|---|
connectedEdges | ComputedRef <GraphEdge <any , any >[]> |
id | string |
node | GraphNode <Data , CustomEvents > |
nodeEl | null | Ref <HTMLDivElement > |
parentNode | ComputedRef <undefined | GraphNode <any , any >> |