Field Notes
    Preparing search index...

    Interface GridElement

    interface GridElement {
        cellSize: number;
        editor?: string;
        gridType: "square" | "hex";
        groupId?: string;
        hexOrientation: HexOrientation;
        id: string;
        index: string;
        layerId: string;
        link?: string;
        locked: boolean;
        opacity: number;
        parentId?: string;
        position: Point;
        rotation?: number;
        strokeColor: string;
        strokeWidth: number;
        type: "grid";
        version: number;
    }

    Hierarchy (View Summary)

    Index
    cellSize: number
    editor?: string

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

    gridType: "square" | "hex"
    groupId?: string

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

    hexOrientation: HexOrientation
    id: string
    index: string

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

    layerId: string
    link?: string

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

    locked: boolean
    opacity: number
    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.

    strokeColor: string
    strokeWidth: number
    type: "grid"
    version: number

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