Arrow Head Styles
Overview
Arrow shapes support multiple head styles and can render at the end, the start, or both ends.
Access in the Editor
Update the arrow object properties using arrowHead settings and the existing pointerLength/pointerWidth size controls.
Behavior
arrowHead.stylecontrols the head shape.arrowHead.atEndenables the head at the end of the arrow (default:true).arrowHead.atStartenables the head at the start of the arrow (default:false).pointerLengthandpointerWidthcontrol head size (triangle/diamond use length + width; circle/square use width for size).
Supported Styles
triangle(default)triangle-outline(outline only)diamondcirclesquarenone(no head rendered)
Example
editor.updateObjectProperty(arrowId, 'arrowHead', {
style: 'diamond',
atStart: true,
atEnd: true,
})