summaryrefslogtreecommitdiff
path: root/src/client/view/graph_view.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/view/graph_view.js')
-rw-r--r--src/client/view/graph_view.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js
index 7f1a9a32..42c96965 100644
--- a/src/client/view/graph_view.js
+++ b/src/client/view/graph_view.js
@@ -33,6 +33,9 @@ function(d3 , Bacon, consts, util , selection , view_helpers, mode
// aliases
var obj_take = util.obj_take;
+// constants (that should be moved somewhere else)
+var node_url_dx = 15;
+
/* debugging helper */
function enableDebugViewOfDiffs(graph)
{
@@ -380,8 +383,7 @@ function GraphView(spec) {
};
function node_text_setup() {
- var node_text,
- node_url_dx = 15;
+ var node_text;
node_text = vis.selectAll("g.nodetext")
.data(graph.nodes(), function(d) {