issue_tree
    Preparing search index...

    Function buildGraph

    • Build a typed-edge dependency graph from a loaded cache: issue nodes, lifted PR nodes, text-extracted edges from bodies and comments, structurally-inferred child-of / duplicate-of edges, synthesised stub nodes for any un-fetched endpoint, and deduplication by (from, to, kind).

      Parameters

      • cache: Cache

        the loaded scanner cache

      • cachePath: string

        the cache file path, recorded into Graph.meta.cachePath

      Returns Graph

      the complete unfiltered Graph (status still defaults to open/closed)

      const g = buildGraph(loadCache('c.json'), 'c.json');
      g.edges.every(e => ['gating','informational','structural','pr-linkage']
      .includes(e.linkClass)) // => true