Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Call GraphNew to Visual Studio Code? Get it now.
Call Graph

Call Graph

LuoZhihao

|
30,479 installs
| (4) | Free
call graph for vscode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

call-graph

call-graph vscode extension for generate call graph in graphviz dot language, based on vscode call hierarchy language feature.

Features

  • generate call graph in graphviz dot language and preview.
  • save graph as dot or svg file

Quick start

  1. Open your folder and select a entry function
  2. Run CallGraph.showOutgoingCallGraph command using context menu or Ctrl+Shift+P to show outgoing calls
  3. Or Run CallGraph.showIncomingCallGraph command using context menu or Ctrl+Shift+P to show incoming calls
  4. Click save dot file or save as svg in the bottom left corner to save the graph
  5. Add .callgraphignore file in your project root directory to ignore some files or folders in workspace (the syntax is the same as .gitignore)

Configuration

You can configure ignoreFile(.callgraphignore by default), maxDepth. See the descriptions in setting.

How it works

It depends vscode.provideOutgoingCalls and vscode.provideIncomingCalls built-in commands( the same with Show Call Hierarchy command, not available for some language server ).

Changelog

See CHANGELOG.md.

For more information

  • GitHub Repository

Donate

Donate me via Paypal. Thank you for you support to this project and my open source works.

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft