aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--html/js/git-deps-graph.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/html/js/git-deps-graph.js b/html/js/git-deps-graph.js
index 836b374..1d34ebe 100644
--- a/html/js/git-deps-graph.js
+++ b/html/js/git-deps-graph.js
@@ -211,6 +211,13 @@ function draw_graph(commitish) {
node.enter().append("g")
.attr("class", "node");
+ // Failed attempt to use dagre layout as starting positions
+ // https://github.com/tgdwyer/WebCola/issues/63
+ // .each(function (d, i) {
+ // var n = gdl.node(d.sha1);
+ // d.x = n.x;
+ // d.y = n.y;
+ // });
draw_nodes(fg, node);
});