vscode extension for generate call graph in graphviz dot language, based on vscode call hierarchy language feature.
- generate call graph in graphviz dot language and preview.
- save graph as dot or svg file
- Open your folder and select a entry function
- Run
CallGraph.showOutgoingCallGraph
command using context menu orCtrl+Shift+P
to show outgoing calls - Or Run
CallGraph.showIncomingCallGraph
command using context menu orCtrl+Shift+P
to show incoming calls - Click
save dot file
orsave as svg
in the bottom left corner to save the graph - Add
.callgraphignore
file in your project root directory to ignore some files or folders in workspace (the syntax is the same as.gitignore
)
You can configure ignoreFile
(.callgraphignore by default), maxDepth
. See the descriptions in setting.
It depends vscode.provideOutgoingCalls
and vscode.provideIncomingCalls
built-in commands( the same with Show Call Hierarchy
command, not available for some language server ).
See CHANGELOG.md.
Donate me via Paypal. Thank you for you support to this project and my open source works.
Enjoy!