go-callvis icon indicating copy to clipboard operation
go-callvis copied to clipboard

how to gen a whole call graph in my go module

Open Nononoa-Zoro opened this issue 3 years ago • 1 comments

Currently, i use
go-callvis -file=filename <module_name> to gen a svg call graph for my project. But i find the output is just a filename.svg that cover main.go .

Acctually, i want to gen all svg call graph of my proj, instead of an interactive mode or just a single file's call graph.

So that , i can jump arbitrarily locally instead of request HTTP server.

Is there any solution to help me solve the above question?

Nononoa-Zoro avatar Jan 23 '22 03:01 Nononoa-Zoro

Try adding flag -focus='"". If the output is too large or very complex or even fails, try to set focus to the name of a specific package you want to focus your call graph on.

ondrajz avatar Aug 07 '22 22:08 ondrajz