Skip to content

Filter from/to class #89

Description

@jose-ba

Hi, I have an idea and I would like to know if it could be something interesting for the project. In very large applications, although php-class-diagram works correctly, you get diagrams that are difficult to navigate (too many arrows and classes). My idea is to add 2 more options: "--from-class" and "--to-class", which would filter only the classes referenced from/to a specific class, up to "--depth" levels. For example:

php-class-diagram --from="InvoiceGenerator" --depth=2 app

I have a working code draft but before refactoring it and writing tests I would like to know if it is worth it.

Thank you very much

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions