Field Notes
    Preparing search index...

    Interface ArrowElement

    interface ArrowElement {
        bend: number;
        cachedControlPoint?: Point;
        color: string;
        editor?: string;
        fixedSegments?: readonly ArrowFixedSegment[];
        from: Point;
        fromBinding?: Binding;
        groupId?: string;
        id: string;
        index: string;
        label?: string;
        layerId: string;
        link?: string;
        locked: boolean;
        parentId?: string;
        position: Point;
        rotation?: number;
        routing?: "bezier" | "elbow";
        strokeStyle?: ArrowStrokeStyle;
        to: Point;
        toBinding?: Binding;
        type: "arrow";
        version: number;
        width: number;
    }

    Hierarchy (View Summary)

    Index
    bend: number
    cachedControlPoint?: Point

    Derived from from/to/bend. Redundant in serialized state — safe to omit.

    color: string
    editor?: string

    Peer that wrote the accepted remote version; absent after a local edit.

    fixedSegments?: readonly ArrowFixedSegment[]

    Ordered user-fixed axes for an elbow route.

    from: Point
    fromBinding?: Binding
    groupId?: string

    Optional flat group membership. Elements sharing a groupId select/move/delete as a unit.

    id: string
    index: string

    Fractional order key within the layer; '' only on input, meaning "place on top".

    label?: string

    Use viewport.setBoundText. Loading a board moves the label into a bound TextElement.

    layerId: string
    link?: string

    Opens from the select tool; http(s), mailto or #fn:element=<id> only.

    locked: boolean
    parentId?: string

    Optional containing element. Parent and child share a layer.

    position: Point
    rotation?: number

    Rotation in radians (clockwise) about the element's center. Absent = 0 (unrotated). Applied to note/text/image/html/shape/stroke; ignored for arrows. Extension element definitions own their rotation semantics.

    routing?: "bezier" | "elbow"

    Absent means the legacy bezier route.

    strokeStyle?: ArrowStrokeStyle

    Line dash appearance. Absent = solid. Decoupled from binding.

    to: Point
    toBinding?: Binding
    type: "arrow"
    version: number

    Per-element revision: local edits bump it, remote edits carry the accepted value.

    width: number