Function: useEdge
â–¸ useEdge<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 |
---|---|
edge | GraphEdge <Data , CustomEvents > |
edgeEl | null | Ref <HTMLDivElement > |
id | string |