diff options
| author | Alon Levy <alon@pobox.com> | 2014-10-31 12:01:20 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-10-31 12:01:20 +0200 |
| commit | bfc9f705232f396e5ee80326593e97dafe4ca206 (patch) | |
| tree | 9bbe30c35d9ea8d69ac1b47f028fc20e297359f6 /scripts/rhizicore.js | |
| parent | 00b33bbf1cef68c3d6c86fe8fd22c0d172743f07 (diff) | |
rhizicore: have a default size for nodes to avoid setting circle.r to nan
Diffstat (limited to 'scripts/rhizicore.js')
| -rw-r--r-- | scripts/rhizicore.js | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |
