From 062b9b24c521d5153ed5b8cba43fd367784762d1 Mon Sep 17 00:00:00 2001 From: Owen Date: Fri, 8 Aug 2014 15:49:05 +0300 Subject: Fixed 3 node star case bug --- scripts/textanalysis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/textanalysis.js b/scripts/textanalysis.js index 311a1ae8..fcf20af6 100644 --- a/scripts/textanalysis.js +++ b/scripts/textanalysis.js @@ -221,7 +221,7 @@ function TextAnalyser2(newtext, finalize) { if (orderStack.length > 0) graph.addNode("", "bubble", "temp"); var abnormalGraph=false; - if(newlinks.length >= 3 && ANDcount<2 )abnormalGraph=true; + if(newlinks.length >= 3 && ANDcount<1 )abnormalGraph=true; //0-N ORDER STACK for (var m = 0; m < orderStack.length - 1; m++) { -- cgit v1.3.1