aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2015-01-18 20:38:29 +0000
committerAdam Spiers <git@adamspiers.org>2015-01-18 20:38:29 +0000
commitce6caf09c4fdf1b49239f48718db016ff28b301b (patch)
tree525675626d981fac71fb04baa2a4eba93610dc01
parent5415bb732a4324bbd5b89dd04757538b0e5b7057 (diff)
downloadgit-deps-ce6caf09c4fdf1b49239f48718db016ff28b301b.tar.gz
tweak layout spacing
-rw-r--r--html/js/git-deps-layout.coffee6
1 files changed, 3 insertions, 3 deletions
diff --git a/html/js/git-deps-layout.coffee b/html/js/git-deps-layout.coffee
index 5e65a40..8b8cd05 100644
--- a/html/js/git-deps-layout.coffee
+++ b/html/js/git-deps-layout.coffee
@@ -1,8 +1,8 @@
DEBUG = false
-MIN_ROW_GAP = 100
-MIN_NODE_X_GAP = 50
-MAX_NODE_X_GAP = 200
+MIN_ROW_GAP = 60
+MIN_NODE_X_GAP = 100 # presumably includes the node width
+MAX_NODE_X_GAP = 300
MAX_NODE_Y_GAP = 80
dagre = require "dagre"