From bfc9f705232f396e5ee80326593e97dafe4ca206 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Fri, 31 Oct 2014 12:01:20 +0200 Subject: rhizicore: have a default size for nodes to avoid setting circle.r to nan --- scripts/rhizicore.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/rhizicore.js') diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index ee880df0..29e3ff3d 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -1151,6 +1151,9 @@ function customSize(type) { case "bubble": size = 180; break; + default: + size = 9; + break; } return size; } -- cgit v1.3.1