aboutsummaryrefslogtreecommitdiffstats
path: root/html
diff options
context:
space:
mode:
Diffstat (limited to 'html')
-rw-r--r--html/js/git-deps-layout.coffee4
1 files changed, 4 insertions, 0 deletions
diff --git a/html/js/git-deps-layout.coffee b/html/js/git-deps-layout.coffee
index d5c85a9..3024e4d 100644
--- a/html/js/git-deps-layout.coffee
+++ b/html/js/git-deps-layout.coffee
@@ -51,6 +51,10 @@ dagre_row_groups = ->
row_groups[y].push
sha1: sha1
x: x
+
+ for y, nodes of row_groups
+ nodes.sort (n) -> -n.x
+
return row_groups
build_constraints = ->