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.

export type EdgeMarker = {
  type: MarkerType;
  color?: string;
  width?: number;
  height?: number;
  markerUnits?: string;
  orient?: string;
  strokeWidth?: number;
};

Fields

#type
MarkerType
#color?
string
#width?
number
#height?
number
#markerUnits?
string
#orient?
string
#strokeWidth?
number