Skip to content
Shapemetry

Types - GraphSnapshot

API reference for ./model/graphSnapshot on @huukhanhnguyen/types.

See the Guide for the package's role.

API reference

Signatures are generated from the live package .d.ts - not hand-written.

GraphAssertResult

type

Graph-snapshot vocabulary — the flat node/edge picture a debugger or graph viewer reads. The SOURCE shapes (live nodes, the registry) stay in @huukhanhnguyen/model.

type GraphAssertResult
// = {
    ok: true;
}

GraphSnapshot

type

type GraphSnapshot
// = {
    nodes: GraphSnapshotNode[];
    edges: GraphSnapshotEdge[];
}

GraphSnapshotEdge

type

type GraphSnapshotEdge
// = {
    from: string;
    to: string;
    type: string;
}

GraphSnapshotNode

type

type GraphSnapshotNode
// = {
    id: string;
    key: string;
    lane: string;
    method: string;
    type: string;
    dirty: boolean;
    lastEvalMs: number;
}
Last updated: 📖 1 min readEdit on GitHub