Skip to Content
You are viewing the v12 docs of React Flow. You can find the latest version here.
ReferenceTypes

EdgeMarker

Source on GitHub 

Edges can optionally have markers at the start and end of an edge. The EdgeMarker type is used to configure those markers! Check the docs for MarkerType for details on what types of edge marker are available.

Fields

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