Skip to Content
Vue Flow v2 is here and joins xyflow! Read more here →
ReferenceTypes

EdgeTypesObject

The EdgeTypesObject type maps custom edge type names to the components that render them — the shape of the edgeTypes prop. In Vue Flow you can also register edge types with the #edge-<type> slots instead.

Fields

NameTypeDefault
defaultEdgeComponent<Edge<Record<string, unknown>, string>>
straightEdgeComponent<Edge<Record<string, unknown>, string>>
simplebezierEdgeComponent<Edge<Record<string, unknown>, string>>
stepEdgeComponent<Edge<Record<string, unknown>, string>>
smoothstepEdgeComponent<Edge<Record<string, unknown>, string>>