get_symbol_dependency_graph
Map dependency graphs for TypeScript symbols to trace affected code, detect circular imports, and identify dead code using forward, reverse, or bidirectional traversals.
Instructions
Retrieves a bidirectional or directed dependency graph mapped to individual declarations, functions, and variables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | No | Graph traversal direction | bidirectional |
| file_path | Yes | Absolute path to the TypeScript source file | |
| symbol_name | No | Target export symbol. If omitted, maps all symbols in the file | |
| project_root | Yes | Absolute path to the TypeScript project root (must contain tsconfig.json) |