Call Graph Navigator is a focused VS Code extension for exploring Python call relationships directly inside the editor. It helps you inspect how functions connect, move between callers and callees, and understand code flow without leaving your workspace.
Features
- Opens an interactive call graph panel inside VS Code.
- Focuses the graph around the current Python function.
- Reveals callers and callees from editor commands.
- Supports graph refresh when the workspace changes.
- Includes configurable graph size and traversal depth limits.
Usage
Open a Python file and place your cursor inside a function or method body.
The easiest way to open the graph is to right click inside the editor and select:
Open Call Graph Navigator
You can also run these commands from the Command Palette:
Open Call Graph NavigatorFocus Call Graph Navigator on Current FunctionRefresh Call Graph Navigator IndexReveal CallersReveal Callees
Technology
Call Graph Navigator is built with:
- TypeScript
- VS Code Extension API
- Tree-sitter for parsing
- Webview-based graph rendering
- esbuild for extension bundling
- Mocha and ESLint for testing and code quality
Current Scope
The first supported language is Python. So support for more languages can be added over time.
Roadmap
More updates are planned, including improvements to graph accuracy, navigation, visual layout, and language support. This first release focuses on establishing a clean Python call graph experience inside VS Code. UI related issue and implementation will be worked on soon!
Feedback
Call Graph Navigator is actively being improved. If you notice a bug, have an idea, or want to suggest an improvement, please open an issue on GitHub.
Repository
Source code and issue tracking are available on GitHub:
https://github.com/VishnuDevi123/Call-Graph
LICENSE
MIT