Skip to content

Commit 12b4b0b

Browse files
author
beicause
committed
update readme and icon and use npm instead yarn
1 parent 845ba6e commit 12b4b0b

File tree

6 files changed

+2359
-1396
lines changed

6 files changed

+2359
-1396
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
# call-graph
22

3-
![call-graph](https://raw.githubusercontent.com/beicause/call-graph/master/images/call-graph.png)
3+
![call-graph](./images/call_graph_outgoing.png)
44
vscode extension for generate call graph in [graphviz dot language](https://www.graphviz.org/doc/info/lang.html), based on vscode call hierarchy language feature.
55

66
## Features
77

8-
* generate call graph in dot language and preview.
8+
* generate call graph in graphviz dot language and preview.
99
* save graph as dot or svg file
1010

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

1718
## How it works
1819
It depends `vscode.provideOutgoingCalls` and `vscode.provideIncomingCalls` built-in commands( the same with `Show Call Hierarchy` command, not available for some language server ).

images/call-graph.png

-777 KB
Binary file not shown.

images/call_graph_outgoing.png

160 KB
Loading

0 commit comments

Comments
 (0)