ondrajz / go-callvis

Visualize call graph of a Go program using Graphviz
https://ofabry.github.io/go-callvis
MIT License
5.85k stars 406 forks source link

How about add a option, only show call links rely on package(s) #79

Open Me1onRind opened 3 years ago

Me1onRind commented 3 years ago

Such as main.go --> a.NewA() -> b.NewB() -> c.NewC()

go-callvis --relies pkg/c

Only show call links rely on pkg/c, ignore other links. It's useful when finding which codes rely a underlying package.