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

set depth in pyreverse #9233

Open
ggrrll opened this issue Nov 13, 2023 · 1 comment · May be fixed by #10077
Open

set depth in pyreverse #9233

ggrrll opened this issue Nov 13, 2023 · 1 comment · May be fixed by #10077
Labels
Enhancement ✨ Improvement to a component Needs PR This issue is accepted, sufficiently specified and now needs an implementation pyreverse Related to pyreverse component

Comments

@ggrrll
Copy link

ggrrll commented Nov 13, 2023

Question

Is there a way to set depth in pyreverse ?

(which, afaics, is not --max-color-depth <depth> )

thanks

ps: thanks for the nice too, btw :)

Documentation for future user

in pyreverse -h

Additional context

No response

@ggrrll ggrrll added Documentation 📗 Needs triage 📥 Just created, needs acknowledgment, triage, and proper labelling Question labels Nov 13, 2023
@DudeNr33
Copy link
Collaborator

There is currently no option to control that in the same way --max-color-depth works.

What is available is:

--show-associated <association_level>, -s <association_level>
                        show <association_level> levels of associated classes not in <projects> (default: None)
--show-ancestors <ancestor>, -a <ancestor>
                        show <ancestor> generations of ancestor classes not in <projects> (default: None)

In another tool (dep-check) I have seen an option to layer and fold packages to reduce the complexity of the diagram, which I would love to see for pyreverse, but I don't have the time to implement it myself at the moment.

@DudeNr33 DudeNr33 added pyreverse Related to pyreverse component and removed Needs triage 📥 Just created, needs acknowledgment, triage, and proper labelling labels Nov 13, 2023
@Pierre-Sassoulas Pierre-Sassoulas added Enhancement ✨ Improvement to a component Needs PR This issue is accepted, sufficiently specified and now needs an implementation and removed Question Documentation 📗 labels Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement ✨ Improvement to a component Needs PR This issue is accepted, sufficiently specified and now needs an implementation pyreverse Related to pyreverse component
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants