Commit 4efa8d24b5fb14332a391e79f2fa608eeef8794b

Authored by Luigi Serra
1 parent 5b516af7

updates

datalets/graph-datalet/graph-with-clustering-datalet.html
@@ -463,7 +463,7 @@ Example: @@ -463,7 +463,7 @@ Example:
463 _this.svgNodes.attr("cx", function (t) { 463 _this.svgNodes.attr("cx", function (t) {
464 return t.x = Math.max(25, Math.min(_this.width - 50, t.x)) 464 return t.x = Math.max(25, Math.min(_this.width - 50, t.x))
465 }).attr("cy", function (t) { 465 }).attr("cy", function (t) {
466 - return t.y = Math.max(8, Math.min(600, t.y)) 466 + return t.y = Math.max(8, Math.min(_this.height, t.y))
467 }); 467 });
468 468
469 _this.svgLinks.attr("x1", function (t) { 469 _this.svgLinks.attr("x1", function (t) {