pyan
pyan copied to clipboard
Feature Suggestion: Customize depth (level) of generated graph
pyan now visits down to the level of functions. If you can provide a parameter called depth or level, which enables users to get a package (or module) level of the graph generated, then pyan will also become a module dependency analysis tool.
To achieve this, take Graphviz .dot format file for example, we just need to remove the last double low dash __xxx part, and remove duplicate edges.
Before:

After:
