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

Option to exclude some sub modules #16

Open
cgl opened this issue May 31, 2024 · 1 comment
Open

Option to exclude some sub modules #16

cgl opened this issue May 31, 2024 · 1 comment

Comments

@cgl
Copy link

cgl commented May 31, 2024

It would be great to be able to exclude a given list of sub modules from the dependency graph.
This would enable us (1) to find the problematic modules, (2) get a better/simpler picture removing not very critical nodes from the graph.

@seddonym
Copy link
Owner

seddonym commented Jun 4, 2024

Agreed. Perhaps the simplest way to do this would be to support passing in a regular expression, something like:

impulse drawgraph mypackage --exclude=^mypackage\.foo*

Happy to consider a pull request for this! Or if you don't feel like doing that, it would be pretty easy to write a custom script based on Impulse's draw_graph function, which isn't very complicated.

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

2 participants