Commit Graph

8 Commits

Author SHA1 Message Date
Alex Palaistras 892a5cec4d Render paths to end of time for branches with no final merges
This is orthogonal to behaviour for rendering paths from the beginning of time for branches created
before the first commit, and helps frame the history in a better way.
2019-08-06 12:51:57 +01:00
Alex Palaistras 72d1059416 Simplify merge handling, add more tests
This further simplifies handling of merges, which was made correct in commit 675e79c. We now
correctly set both source and destination commit references, where an empty source reference means
the base of the branch being merged into.
2019-08-06 12:29:25 +01:00
Alex Palaistras 852a796f4a Fix documentation, function names, label text alignment
This commit contains a few minor fixes to documentation and function names, for clarity, and adds a
`textLength` attribute to `<text>` elements in labels, thereby ensuring that the text is contained
within the label.

Fixes #1
2018-01-13 14:14:55 +00:00
Alex Palaistras b5708197cf Add initial path for primary branch, fix font pitch to 0.5 of height
The primary branch (`master` or whichever other branch is the primary) has now
an automatic merge path that leads to the beginning of time, much like branches
that have been created before the first commit.

The font pitch is also fixed to half the height, as is usually the case with
monospace fonts.
2017-01-12 22:31:50 +00:00
Alex Palaistras 55cacf1c89 Fix bugs, styling, README.md 2016-12-31 18:19:50 +00:00
Alex Palaistras b194ffae2a Fix issues with incorrect canvas sizing, label font size 2016-12-28 22:18:50 +00:00
Alex Palaistras b956f428a6 Add `git tag` support, labels on sidebar for tags and branch names 2016-12-28 21:13:49 +00:00
Alex Palaistras b1291b4adf Moved tests, added color pallete for branches, fixed merges 2016-12-18 13:59:44 +00:00