diff options
author | Adam Spiers <git@adamspiers.org> | 2015-01-08 19:24:47 +0000 |
---|---|---|
committer | Adam Spiers <git@adamspiers.org> | 2015-01-08 19:24:47 +0000 |
commit | 98c65a6a40737a82e71146ebd70c3b0e7a9e3880 (patch) | |
tree | 49ef006c0568e851b1bb0fcada19e9c298608d5a /html | |
parent | 94a9f191635b7dc31e380531b9b5c671a63b0b9a (diff) | |
download | git-deps-98c65a6a40737a82e71146ebd70c3b0e7a9e3880.tar.gz |
all this time the constraints were not being used!
oops
Diffstat (limited to 'html')
-rw-r--r-- | html/js/git-deps-graph.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/html/js/git-deps-graph.js b/html/js/git-deps-graph.js index 16b6a0f..3ca4856 100644 --- a/html/js/git-deps-graph.js +++ b/html/js/git-deps-graph.js @@ -119,7 +119,7 @@ function build_constraints() { function build_constraint(parent_sha1) { constraint = { - axis: 'x', + axis: 'y', type: 'alignment', offsets: [], parent: parent_sha1 @@ -179,6 +179,7 @@ function init_cola() { d3cola .nodes(nodes) .links(links) + .constraints(constraints) .flowLayout("y", 150) .symmetricDiffLinkLengths(30); //.jaccardLinkLengths(100); |