From 5ee5aac7b378b7f2b58e15056290afbe745b3a69 Mon Sep 17 00:00:00 2001 From: Luigi Serra Date: Mon, 12 Sep 2016 11:22:38 +0200 Subject: [PATCH] updates --- datalets/graph-datalet/graph-datalet.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datalets/graph-datalet/graph-datalet.html b/datalets/graph-datalet/graph-datalet.html index 993bdd2..34355ef 100755 --- a/datalets/graph-datalet/graph-datalet.html +++ b/datalets/graph-datalet/graph-datalet.html @@ -270,7 +270,7 @@ Example: }, tick : function () { - if(_this.gnodes != undefined && _this.graph.nodes.length > 0) + if(_this.gnodes != undefined && _this.graph.nodes != undefined && _this.graph.nodes.length > 0) { d3.selectAll("g foreignObject").attr("x", function (t) { return t.x + (t.r ? 0.8 * t.r : 15) -- libgit2 0.21.4