Skip to content

Type alias: Element<NodeData, EdgeData, NodeEvents, EdgeEvents>

Ƭ Element<NodeData, EdgeData, NodeEvents, EdgeEvents>: Node<NodeData, NodeEvents> | Edge<EdgeData, EdgeEvents>

Type parameters

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

Released under the MIT License.