kisielk / godepgraph

A Go dependency graph visualization tool
MIT License
1.05k stars 90 forks source link

Option to group packages by Go module? #48

Closed ilius closed 1 year ago

ilius commented 1 year ago

Can we have an option to group packages by their Go module? Meaning all packages inside a Go module be combined into one rectangle/node. Including sub-packages of current module (root of the tree). So that the nodes are modules, not packages.

Because that's what we generally mean by "dependency". Once your module depends on a package from another module, your module depends on that module.

ilius commented 1 year ago

Sorry, this tool does that: https://github.com/lucasepe/modgv