OptionalclassExtra CSS class added to the visible line.
OptionalcolorStroke color of the visible line. Any CSS color, including CSS variables. Empty inherits the theme default.
OptionaldasharrayDash pattern in SVG stroke-dasharray syntax, e.g. '5,5' for a dashed line.
OptionallinecapStroke line cap of the line ends.
OptionallinejoinStroke line join at the line's corners.
OptionalsourceMarker at the source end: a LinkMarkerName, a LinkMarkerRecord, or 'none' for no marker.
OptionaltargetMarker at the target end: a LinkMarkerName, a LinkMarkerRecord, or 'none' for no marker.
OptionalwidthStroke width of the visible line, a number (px) or CSS length string. Empty inherits the theme default.
OptionalwrapperExtra CSS class added to the wrapper.
OptionalwrapperStroke color of the wrapper. Usually transparent, set it to make the hit area visible while debugging.
OptionalwrapperStroke width, in px, of the transparent wrapper that widens the pointer hit area.
Visual styling for a link, the visible line plus its invisible pointer hit-area wrapper. Hand it to linkStyle (or a link record's
stylefield); empty-string values fall back to the CSS variables intheme.css.