FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.43k stars 636 forks source link

Commit graph layout could use a little work #293

Open Ajedi32 opened 10 years ago

Ajedi32 commented 10 years ago

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.

FredrikNoren commented 10 years ago

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

gitbreaker222 commented 5 years ago

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