Edge
Union type for all edge types in Vue Flow.DefaultEdge
The base interface for defining edges in Vue Flow.Unique edge identifier
Source node id
Target node id
Source handle id
Target handle id
Edge type - can be a default type or a custom type
Edge label
Additional data passed to your custom components
Interaction Properties
Whether the edge is animated
Enable or disable selecting this edge
Enable or disable focusing this edge (accessibility)
Enable or disable deleting this edge
Enable or disable updating edge. Can be
boolean, 'target', or 'source'Radius of mouse event triggers (to ease selecting edges). Defaults to 2
Markers
Edge marker at the start. Can be
string, MarkerType, or EdgeMarker objectEdge marker at the end. Can be
string, MarkerType, or EdgeMarker objectLabel Styling
Label styles
Show label background
Label background styles
Label background padding as
[horizontal, vertical]Label background border radius
Styling
Additional class names. Can be a string, array, object, or callback
Additional styles. Can be an object or a callback
Hide or show the edge
z-index for the edge
Accessibility
Aria label for the edge
General escape hatch for adding custom attributes to the edge’s DOM element
Deprecated Properties
Overwrites current edge type
Contextual and custom events
SmoothStepEdgeType
Smooth step edge with configurable path options.SmoothStepPathOptions
Offset for the smooth step path
Border radius for corners
BezierEdgeType
Bezier edge with configurable curvature.BezierPathOptions
Curvature of the bezier curve
GraphEdge
Internal edge type that extendsEdge with computed properties.
Whether the edge is currently selected
Reference to the source node
Reference to the target node
X coordinate of source position
Y coordinate of source position
X coordinate of target position
Y coordinate of target position
EdgeProps
Props passed to edge components when rendering custom edges.Edge identifier
Source node id
Target node id
Source node object
Target node object
Edge type
Edge label
Whether edge is selected
Whether edge is animated
Whether edge is updatable
Source handle position
Target handle position
Source handle id
Target handle id
Source X coordinate
Source Y coordinate
Target X coordinate
Target Y coordinate
Marker URL for start
Marker URL for end
Edge styles
Additional data
MarkerType
Enum for edge marker types.EdgeMarker
Detailed edge marker definition.Marker type
Unique marker id
Marker color
Marker width
Marker height
Marker units
Marker orientation
Marker stroke width
EdgeMarkerType
Type for edge marker specification.EdgeUpdatable
Type for edge updatable property.true- both ends can be updatedfalse- edge cannot be updated'target'- only target can be updated'source'- only source can be updated