Skip to content

Pyreverse: Add option to ignore classes without relationships #8476

@nickdrozd

Description

@nickdrozd

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement ✨Improvement to a componentpyreverseRelated to pyreverse component

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions