clue/graph-composer

Add option to limit depth of the graph

clue opened this issue · 4 comments

clue commented

Some projects have many dependencies and the graphs can get too large (#11). One option would be to add a --depth option in order to limit the depth of the resulting graph.

For example, the following could be used to display only direct dependencies (i.e. no sub-dependencies):

$ graph-composer show --depth=1

Special care may have to be taken with regards to loops/circles in the graph.

When will we have this feature, thanks~

clue commented

This is definitely still on the roadmap. As much as I'd like to commit to specific date, I can only say that we will get to this feature as soon as time permits.

If you want to help sponsor this feature, feel free to reach out and I'm happy to take a look 👍

@ZsgsDesign This feature is already available in this Pull Request: #45

@markuspoerschke Thank you for your kindly reference. Hope to see one day this PR merged into the master branch and have a release.