Knowledge Graph Engine

Building the directed dependency graph of your codebase.

Graph Construction

The Knowledge Graph Engine takes the symbols discovered by the Scout Engine and links them into a directed graph stored in graph.db (SQLite).

  • Nodes — files, functions, classes, interfaces, and type aliases.
  • Edgesimports, calls, implements, extends, uses_type.

Impact Analysis

Because relationships are directional, Linear Canal can compute the blast radius of any change — which files downstream will be affected if you modify a given symbol.

bash
linear-canal db

The DB TUI shows graph statistics, coupling pairs, and lets you explore the graph interactively.

Knowledge Graph Engine | Linear Canal Docs | Linear Canal