EXPERIMENT: Start of super experimental graph views of the workspace#13894
Draft
Caleb-T-Owens wants to merge 3 commits into
Draft
EXPERIMENT: Start of super experimental graph views of the workspace#13894Caleb-T-Owens wants to merge 3 commits into
Caleb-T-Owens wants to merge 3 commits into
Conversation
Byron
reviewed
May 19, 2026
Comment on lines
+52
to
+76
| let stacks = render_stacks(&repo, &graph.into_workspace()?)?; | ||
|
|
||
| insta::assert_snapshot!(stacks[0], @" | ||
| ◎ refs/heads/E | ||
| │ | ||
| ● E | ||
| │ | ||
| ◎ refs/heads/C | ||
| │ | ||
| ● C | ||
| ├─╮ | ||
| ◎ │ refs/heads/B | ||
| │ │ | ||
| ● │ B | ||
| │ │ | ||
| │ ◎ refs/heads/D | ||
| │ │ | ||
| │ ● D | ||
| ├─╯ | ||
| ◎ refs/heads/A | ||
| │ | ||
| ● A | ||
| │ | ||
| ~ | ||
| "); |
Collaborator
There was a problem hiding this comment.
🤩🩷👍
The only reason I wouldn't instantly want to use it in all places for debug rendering (with more info in it, of course) is that I'd love to condense it vertically by cutting out empty segments like Git.
In any case, having more ways to visualize graphs is definitely good to have.
85d4a0f to
e0e175c
Compare
e0e175c to
6546391
Compare
6546391 to
291fb99
Compare
291fb99 to
54ec119
Compare
54ec119 to
e3e6a91
Compare
Closed
This was some stuff I bashed together as an experiment. It shouldn’t be seen as some decision having been made. I want to play with renderdag, the library that JJ and sapling use to render their graphs. It might be a good starting point for producing a list of rows that could be consumed by both the CLI and the web frontend
e3e6a91 to
9bd8255
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This was some stuff I bashed together as an experiment. It shouldn’t be seen as some decision having been made.
I want to play with renderdag, the library that JJ and sapling use to render their graphs. It might be a good starting point for producing a list of rows that could be consumed by both the CLI and the web frontend