Type alias: Element<NodeData, EdgeData, NodeEvents, EdgeEvents>
Ƭ Element<NodeData
, EdgeData
, NodeEvents
, EdgeEvents
>: Node
<NodeData
, NodeEvents
> | Edge
<EdgeData
, EdgeEvents
>
Initial elements (before parsing into state)
Type parameters
Name | Type |
---|---|
NodeData | ElementData |
EdgeData | ElementData |
NodeEvents | extends Record <string , CustomEvent > = any |
EdgeEvents | extends Record <string , CustomEvent > = any |