Skip to main content
Version: 4.3

LinkMarkerRecord

A link endpoint marker, an SVG complex-marker JSON plus an optional length. Attach one to a LinkStyle's sourceMarker / targetMarker. The built-in linkMarker* factories return this shape, or you can hand-write one.

Extends​

  • SVGComplexMarkerJSON

Properties​

attrs?​

optional attrs?: NativeSVGAttributes;

id?​

optional id?: string;

length?​

readonly optional length?: number;

The marker's visual length along the link, in px. Connection-point math pulls the line tip back by this much so the line meets the marker instead of poking through it. Omit it to apply no offset (treated as 0).


markup​

markup: string | MarkupJSON;

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub