Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Suggestion: Customize depth (level) of generated graph #80

Open
z0gSh1u opened this issue Nov 26, 2021 · 0 comments
Open

Feature Suggestion: Customize depth (level) of generated graph #80

z0gSh1u opened this issue Nov 26, 2021 · 0 comments

Comments

@z0gSh1u
Copy link

z0gSh1u commented Nov 26, 2021

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:

before

After:

after

@z0gSh1u z0gSh1u changed the title Feature Suggestion: Customize depth of generated graph Feature Suggestion: Customize depth (level) of generated graph Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant