graph-composer icon indicating copy to clipboard operation
graph-composer copied to clipboard

Add option to limit depth of the graph

Open clue opened this issue 9 years ago • 4 comments

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.

clue avatar Jul 07 '16 13:07 clue

When will we have this feature, thanks~

ZsgsDesign avatar May 25 '20 06:05 ZsgsDesign

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 :+1:

clue avatar May 25 '20 08:05 clue

@ZsgsDesign This feature is already available in this Pull Request: https://github.com/clue/graph-composer/pull/45

markuspoerschke avatar Jul 04 '20 19:07 markuspoerschke

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

ZsgsDesign avatar Jul 05 '20 01:07 ZsgsDesign