aboutsummaryrefslogtreecommitdiffstats
path: root/html/js
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2015-01-11 12:55:39 +0000
committerAdam Spiers <git@adamspiers.org>2015-01-11 12:55:39 +0000
commite520eed72832135d89432eb4eb81e8c778923a28 (patch)
treead791f8681a1800ec7328dedfc4b06eb9999162a /html/js
parentbc5770096d6ccc8840cb025ac3fb3dd0a45d9bb6 (diff)
downloadgit-deps-e520eed72832135d89432eb4eb81e8c778923a28.tar.gz
failed attempt to use dagre layout as starting positions
Diffstat (limited to 'html/js')
-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);
});