Commit 464ca2a248fc2fd3ddda6209d0a6a1780fd19b18

Authored by Dmitry Kalinkin
1 parent efc86f97

network graph: change lines to be more github-like (removes some ambiguousness i…

…n graph presentation)
Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
vendor/assets/javascripts/branch-graph.js
@@ -79,10 +79,10 @@ function branchGraph(holder) { @@ -79,10 +79,10 @@ function branchGraph(holder) {
79 .attr({stroke: colors[c.space], "stroke-width": 2}); 79 .attr({stroke: colors[c.space], "stroke-width": 2});
80 80
81 } else if (c.space < commits[i].space) { 81 } else if (c.space < commits[i].space) {
82 - r.path(["M", x - 5, y + .0001, "l-5-2,0,4,5,-2C", x - 5, y, x - 17, y + 2, x - 20, y - 10, "L", cx, y - 10, cx, cy]) 82 + r.path(["M", x - 5, y + .0001, "l-5-2,0,4,5,-2C", x - 5, y, x - 17, y + 2, x - 20, y - 5, "L", cx, y - 5, cx, cy])
83 .attr({stroke: colors[commits[i].space], "stroke-width": 2}); 83 .attr({stroke: colors[commits[i].space], "stroke-width": 2});
84 } else { 84 } else {
85 - r.path(["M", x - 5, y, "l-5-2,0,4,5,-2C", x - 5, y, x - 17, y - 2, x - 20, y + 10, "L", cx, y + 10, cx, cy]) 85 + r.path(["M", x - 3, y + 4, "l-4,3,3,2,1,-4L", x - 10, y + 14, "L", x - 10, cy, cx, cy])
86 .attr({stroke: colors[commits[i].space], "stroke-width": 2}); 86 .attr({stroke: colors[commits[i].space], "stroke-width": 2});
87 } 87 }
88 } 88 }