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

EdgeMarker

The EdgeMarker type describes an edge marker in detail: its MarkerType, size (width / height), color, strokeWidth, and orientation. Set it as an edge’s markerStart / markerEnd when you need more than a bare marker type.

Fields

NameTypeDefault
typeMarkerType | "arrow" | "arrowclosed"
colorstring | null
widthnumber
heightnumber
markerUnitsstring
orientstring
strokeWidthnumber