ungit icon indicating copy to clipboard operation
ungit copied to clipboard

Commit graph layout could use a little work

Open Ajedi32 opened this issue 11 years ago • 2 comments

This isn't really that big of a deal, but I have noticed that occasionally ungit organizes the commit graph in a rather confusing way:

ungit

I don't know about you, but I think the above example could have been rendered a bit better.

Ajedi32 avatar Jan 24 '14 18:01 Ajedi32

Yup agree, this is something that has been bothering me for a while too.

FredrikNoren avatar Jan 26 '14 21:01 FredrikNoren

Another contribution to the topic:

Is the green branch on the white commit? 2018-11-20_ 16-09-58 graph edge 01

after selecting the white commit, we see that the edges were overlapping 2018-11-20_ 16-09-58 graph edge 02

Would it be possible, to "drag out the anchors"? bezier curve (image for rough reference)

edit: somewhere here I guess? https://github.com/FredrikNoren/ungit/blob/master/components/graph/edge.js#L10

gitbreaker222 avatar Nov 20 '18 15:11 gitbreaker222