Skip to content

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 ​

NameType
NodeDataElementData
EdgeDataElementData
NodeEventsextends Record<string, CustomEvent> = any
EdgeEventsextends Record<string, CustomEvent> = any

Released under the MIT License.