aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--html/css/git-deps.css3
-rw-r--r--html/js/git-deps-graph.coffee1
2 files changed, 2 insertions, 2 deletions
diff --git a/html/css/git-deps.css b/html/css/git-deps.css
index 2e248cc..ea21821 100644
--- a/html/css/git-deps.css
+++ b/html/css/git-deps.css
@@ -73,8 +73,7 @@ g.node text {
.link {
fill: none;
- stroke: #000;
- stroke-width: 1.5px;
+ stroke-width: 2px;
opacity: 0.4;
marker-end: url(#end-arrow);
}
diff --git a/html/js/git-deps-graph.coffee b/html/js/git-deps-graph.coffee
index 59d5452..4bccfeb 100644
--- a/html/js/git-deps-graph.coffee
+++ b/html/js/git-deps-graph.coffee
@@ -194,6 +194,7 @@ draw_graph = (commitish) ->
.data(gdd.links, link_key)
paths.enter().append("svg:path")
.attr("class", "link")
+ .attr("stroke", (d) -> color(link_key(d)))
nodes = fg.selectAll(".node")
.data(gdd.nodes, (d) -> d.sha1)
global.nodes = nodes