Improve network graph
This commit is contained in:
parent
65737bd5bd
commit
70687cd581
2 changed files with 8 additions and 6 deletions
4
vendor/assets/javascripts/branch-graph.js
vendored
4
vendor/assets/javascripts/branch-graph.js
vendored
|
@ -121,7 +121,7 @@
|
|||
if (c.space == this.commits[i].space) {
|
||||
r.path([
|
||||
"M", x, y,
|
||||
"L", x - 20 * (c.time + 1), y
|
||||
"L", cx, cy
|
||||
]).attr({
|
||||
stroke: this.colors[c.space],
|
||||
"stroke-width": 2
|
||||
|
@ -351,4 +351,4 @@ function textWrap(t, width) {
|
|||
t.attr({
|
||||
"y": b.y + h
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue