Type alias: Element<NodeData, EdgeData, NodeEvents, EdgeEvents>
Ƭ Element<NodeData
, EdgeData
, NodeEvents
, EdgeEvents
>: Node
<NodeData
, NodeEvents
> | Edge
<EdgeData
, EdgeEvents
>
Type parameters
Name | Type |
---|---|
NodeData | ElementData |
EdgeData | ElementData |
NodeEvents | extends Record <string , CustomEvent > = any |
EdgeEvents | extends Record <string , CustomEvent > = any |