Allow expanding or collapsing of arbitrary branches
Inspecting a repository with complex history might be challenging. There are some tools, like the "Compressed Graph" mode, and filtering visible branches, but they affect the whole displayed log. It would be handy if there was a method to collapse or expand only a small portion of the graph.
I propose to add commands in the context menu so that a user can select which nodes they want to collapse or expand. If a node is collapsed, its parents are not shown up to the next merge, fork, or labeled commit, similarly to a compressed graph. If a node is forced to the expanded state, its parents should be shown even if the whole graph is compressed.
Collapsing a branch
Expanding nodes in the compressed graph
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information