diff options
author | Adam Spiers <git@adamspiers.org> | 2015-01-11 12:55:39 +0000 |
---|---|---|
committer | Adam Spiers <git@adamspiers.org> | 2015-01-11 12:55:39 +0000 |
commit | e520eed72832135d89432eb4eb81e8c778923a28 (patch) | |
tree | ad791f8681a1800ec7328dedfc4b06eb9999162a /html/js | |
parent | bc5770096d6ccc8840cb025ac3fb3dd0a45d9bb6 (diff) | |
download | git-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.js | 7 |
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); }); |