pivotick - v2.0.1
    Preparing search index...

    Interface HistoryEntry

    One reversible thing that happened, as one row in the history.

    interface HistoryEntry {
        at: number;
        edgeIds: string[];
        id: string;
        kind: HistoryKind;
        label: string;
        nodeIds: string[];
        ordinal?: number;
        persisted: boolean;
        pivotId?: string;
        sealed: boolean;
    }
    Index

    Properties

    at: number
    edgeIds: string[]
    id: string

    Stable handle, and what GraphHistoryLike.undo addresses. A pivot entry's id is its runId, so a PivotRunOutcome already carries the id of its own row.

    label: string

    What the row says: Correlations, Deleted 3 nodes, Hid 5 nodes.

    nodeIds: string[]

    The elements this entry touched — the row's counts, and what a hover highlights.

    ordinal?: number

    For a pivot entry, which run of that pivot this is, counting from 1. The tie-break between two runs of the same pivot: counts and clocks both collide, an ordinal cannot.

    persisted: boolean

    The consumer reported this operation as written through to its backend. A persisted creation still reverses: the canvas loses what the backend keeps, which a re-fetch undoes. The row says so, and the footer counts it.

    pivotId?: string

    For a pivot entry, which pivot produced it — two runs of one pivot share it.

    sealed: boolean

    Never reversed — a deletion the consumer wrote through to its backend. Undo is a canvas operation and issues no compensating write, so restoring these would put back nodes the record of truth no longer has. Listed, and stepped over inside a span rather than walling it.