Crabviz is a LSP-based call graph generator. It leverages the Language Server Protocol to generate interactive call graphs, helps you visually explore source code.
Features
Workable for various programming languages
Highlight on click
Two kinds of graphs
You can generate a call graph for selected files to get an overview, or a selected function to track the call hierarchy.
Export call graphs as SVG
Requirements
Since Crabviz utilizes the capabilities of language servers under the hood, if you want to analyze source code with it, you should have corresponding language extensions installed.
Usage
Generate a call graph for selected files and folders
Select the files and folders (support multiple selections) you want to analyze, right click and select Crabviz: Generate Call Graph in the context menu.
Generate a call graph for the selected function
Right click on the function you want to analyze, and select Crabviz: Generate Function Call Graph in the context menu.