Skip to content

new features? --depth, --hide-unlinked and --hide-nodes #35

@fabien-marty

Description

@fabien-marty

Hi!

I have (mainly) vide-coded some extra features for "impulse" and I open this issue to see if you are interested in. In that case, I will work a little more on them, and I will open them in this repository.

First feature: --depth=

By default, we have --depth=1 (only immediate descendants of the given package are shown on the graph). This is great for most cases but sometimes you will need a little more depth view.

Example with --depth=1 (default)
Image

Example with --depth=3

Image

Corresponding WIP PR: fabien-marty#2

Second feature: --hide-unlinked

To remove unlinked nodes on the graph:

Image

Corresponding WIP PR: fabien-marty#1

Third feature: --hide-nodes

Sometimes, to simplify the graph you want to hide some nodes (and corresponding links). In the previous example, I want to hide the "utils" package used by every other. But, on a more general way, I added a coma separated list of fnmatch patterns to hide several nodes easily.

Example with --hide-nodes=utils

Image

Example with --hide-nodes=utils,adapters.*.dummy,adapters.*.memory

Image

Corresponding WIP PR: fabien-marty#3

=> What are your feelings about these features? Do you think these would be good additions to this project?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions