g3-toolkit API Reference
    Preparing search index...

    Interface StructuralChangeSet

    interface StructuralChangeSet {
        addEdges?: readonly StructuralEdge[];
        addNodes?: readonly StructuralNode[];
        removeEdges?: readonly string[];
        removeNodes?: readonly string[];
        updateEdges?: Readonly<Record<string, Partial<Omit<StructuralEdge, "id">>>>;
        updateNodes?: Readonly<Record<string, Partial<Omit<StructuralNode, "id">>>>;
    }
    Index

    Properties

    addEdges?: readonly StructuralEdge[]
    addNodes?: readonly StructuralNode[]
    removeEdges?: readonly string[]
    removeNodes?: readonly string[]

    Node ids. Incident edges cascade-remove (recorded in the diff).

    updateEdges?: Readonly<Record<string, Partial<Omit<StructuralEdge, "id">>>>
    updateNodes?: Readonly<Record<string, Partial<Omit<StructuralNode, "id">>>>

    Shallow per-node patches; id is immutable (MOD-007).