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

Pyreverse: Add option to ignore classes without relationships #8476

Closed
nickdrozd opened this issue Mar 21, 2023 · 1 comment · Fixed by #8520 or #9093
Closed

Pyreverse: Add option to ignore classes without relationships #8476

nickdrozd opened this issue Mar 21, 2023 · 1 comment · Fixed by #8520 or #9093
Labels
Enhancement ✨ Improvement to a component pyreverse Related to pyreverse component
Milestone

Comments

@nickdrozd
Copy link
Collaborator

Current problem

Class diagrams are great for understanding the relationships between classes. But the class diagrams produced by Pyreverse include all classes, including those that have no relationships. Those objects clutter the diagrams.

In this example, there are seven unconnected nodes:

classes

Desired solution

It would be nice to have an option to exclude unconnected classes from the class diagram. With the option enabled, Pyreverse would only display classes that have some kind of relationship to other classes.

Additional context

Maybe the package diagram too?

@nickdrozd nickdrozd added Enhancement ✨ Improvement to a component pyreverse Related to pyreverse component labels Mar 21, 2023
@nickdrozd
Copy link
Collaborator Author

The same diagram without the stray nodes:

classes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement ✨ Improvement to a component pyreverse Related to pyreverse component
Projects
None yet
2 participants