Skip to content

Function: useEdge

â–¸ useEdge<Data, CustomEvents>(id?): Object

Type parameters

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

Parameters

NameType
id?string

Returns

Object

NameType
edgeGraphEdge<Data, CustomEvents>
edgeElnull | Ref<HTMLDivElement>
idstring

Released under the MIT License.