Skip to content

Resolution & Frameworks

Extraction produces nodes and raw edges; resolution turns names into real connections.

After parsing, CodeGraph resolves:

  • Imports → the source files they point at (including tsconfig path aliases and cargo workspace members).
  • Calls → their definitions, by import resolution and name matching.
  • Inheritanceextends / implements between types.

CodeGraph recognizes web-framework routing files and emits route nodes linked by references edges to their handler classes or functions — so querying the callers of a view or controller surfaces the URL pattern that binds it. See Framework Routes for the full list of recognized frameworks.

Static parsing misses computed and indirect calls, so flows can break at dynamic dispatch. CodeGraph bridges several of these boundaries with synthesizers so a flow connects end-to-end:

  • Callback / observer registration
  • EventEmitter channels
  • React re-render (setStaterender)
  • JSX child (render → child component)
  • Django ORM descriptors

Every synthesized edge is marked provenance: 'heuristic' with the site that wired it, and is shown inline wherever a path crosses it.