aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--html/git-deps.css1
-rw-r--r--html/js/git-deps-graph.js6
2 files changed, 4 insertions, 3 deletions
diff --git a/html/git-deps.css b/html/git-deps.css
index 6f6fbe0..e6a8e7d 100644
--- a/html/git-deps.css
+++ b/html/git-deps.css
@@ -15,6 +15,7 @@
font-size: 16px;
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
text-anchor: middle;
+ alignment-baseline: middle;
/* cursor: move; */
}
diff --git a/html/js/git-deps-graph.js b/html/js/git-deps-graph.js
index d3fb93e..f4867ee 100644
--- a/html/js/git-deps-graph.js
+++ b/html/js/git-deps-graph.js
@@ -38,8 +38,8 @@ function draw_graph () {
d3cola
.nodes(graph.nodes)
.links(graph.links)
- .flowLayout("y", 30)
- .symmetricDiffLinkLengths(6)
+ .flowLayout("y", 50)
+ .symmetricDiffLinkLengths(16)
.start(10,20,20);
// define arrow markers for graph links
@@ -59,7 +59,7 @@ function draw_graph () {
.enter().append('svg:path')
.attr('class', 'link');
- var margin = 10, pad = 10;
+ var margin = 10, pad = 5;
var node = fg.selectAll(".node")
.data(graph.nodes)
.enter().append("rect")