Group all submodules into its module
See original GitHub issueBackground: I have too many submodules and this makes difficult to have a quick overview of the diagram.
I would like to be able of foldind/grouping submodules so that I dont get overloaded of information. I need that a module and all of its children be treated the module itself. This would allow me to have a more coarse view, instead of overwhelming fine-grainess.
For instance, in the following diagram:
I would like that app.routers, app.routers.tama_job, app.routers.msn, app.routers.program and app.routers.upload_data all become a single app.routers, and that the arrows change correspondingly in a way that if at least one of the submodules had an arrow to another module MODULE or its submodules, the app.routers would also have an arrow to MODULE.
I expected that it would happened because I put this on the .pydeps file:
[pydeps]
max_bacon = 2
no_show = True
show_dot = True
verbose = 0
pylib = False
reverse = True
exclude =
app.tests
only =
app
app.main
app.models
app.repos
app.routers
app.schemas
app.services
app.storage
I thought that it would not show submodules of, say, app.routers, because otherwise I would have listed then one per one. It would be nice if the graph showed the same fine-grainess or coarse-grainess as described in the only
field, or that it could be controlled somehow
Goal:
In general, it should be allowed to group all submodules as its parent module, like this:
Before:
After:
Question/Wish
-
I didnt find a way of doing that. Is it possible currently, and how?
-
Or this would be a new feature?
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:11
- Comments:12 (4 by maintainers)
interesting. I’ll take a deeper look at it later in the week when I get some free time 😃
Hi @thebjorn thank you for the change. At least for me, it works like a charm 🔥