pivotick - v2.0.1
    Preparing search index...

    Interface PivotSavePayload

    What the consumer is asked to write. Live graph objects rather than raw fragments, so the payload carries whatever the graph has made of them.

    A retry carries only what is still unsaved, which is why this is built fresh per attempt rather than kept with the run.

    interface PivotSavePayload {
        attempt: number;
        children: Node[];
        edges: Edge[];
        nodes: Node[];
        origin: Node[];
        pivotId: string;
        runId: string;
        vouched: { edges: Edge[]; nodes: Node[] };
    }
    Index

    Properties

    attempt: number

    1 on the first attempt, incremented by each retry.

    children: Node[]

    Nodes this run added inside a container, flattened. Each one's container is reachable through Node.parentNode, so a payload can be grouped by parent without a second traversal.

    edges: Edge[]
    nodes: Node[]

    Top-level nodes this run created and that are still unsaved.

    origin: Node[]

    The nodes the pivot was run on — "which event does this attach to".

    pivotId: string
    runId: string
    vouched: { edges: Edge[]; nodes: Node[] }

    Already on canvas before this run: vouched for, not created. Context only — writing these is the job of the run that produced them.