Skip to content

@vue-flow/monorepo • Docs


Type Alias: FlowElement<NodeData, EdgeData, NodeEvents, EdgeEvents> ​

FlowElement<NodeData, EdgeData, NodeEvents, EdgeEvents>: GraphNode<NodeData, NodeEvents> | GraphEdge<EdgeData, EdgeEvents>

Type Parameters ​

• NodeData = ElementData

• EdgeData = ElementData

• NodeEvents extends Record<string, CustomEvent> = any

• EdgeEvents extends Record<string, CustomEvent> = any

Deprecated ​

  • will be removed in the next major version A flow element (after parsing into state)

Released under the MIT License.