oh-my-git icon indicating copy to clipboard operation
oh-my-git copied to clipboard

UX: visualizing nodes in a straight line

Open artt opened this issue 3 years ago • 1 comments

On the "Reordering events" level, after you do git reset --hard [The Beginning], the graph displayed becomes:

image

You need to drag a node so that it becomes something more legible:

image

I think this is because all nodes are in the straight line. Maybe need to add some noise if there's only one branch?

artt avatar Apr 15 '21 03:04 artt

Ah, well spotted, thanks! And yeah, I think your proposed solution to add a small amount of randomness to the nodes' positions would be perfect!

blinry avatar May 10 '21 10:05 blinry