Skip to content

@vue-flow/monorepo • Docs


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 ​

• NodeData = ElementData

• EdgeData = ElementData

• NodeEvents extends Record<string, CustomEvent> = any

• EdgeEvents extends Record<string, CustomEvent> = any

Released under the MIT License.