diff options
| author | Alon Levy <alon@pobox.com> | 2014-10-09 15:06:33 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-10-09 15:06:33 +0300 |
| commit | e58e0c0b520d4abb971d3917712340330e5d85ff (patch) | |
| tree | 32016603000ae888c83e59ddad8378ca08ff1897 /scripts | |
| parent | ac30b3ef25aa92ca501c82a94dd38679eca93c0c (diff) | |
Allow chainlink when no last node is there
Fixes #86
Well, almost - the center node contains the 'a and b and c' (with extra spaces too).
node test_analyzer.js '#a and #b and #c are cool'
digraph {
BUBBLE;
a;
b;
c;
"new node";
"a and b and c are cool";
a -> "a and b and c are cool";
b -> "a and b and c are cool";
c -> "a and b and c are cool";
}
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/textanalysis.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/textanalysis.js b/scripts/textanalysis.js index 68881fcc..3527affe 100644 --- a/scripts/textanalysis.js +++ b/scripts/textanalysis.js @@ -262,7 +262,7 @@ var textAnalyser2 = function (newtext, finalize) { addNode("", "bubble","temp"); } - abnormalGraph = (newlinks.length - ANDcount) >= 3; + abnormalGraph = (newlinks.length - ANDcount) >= 2; //0-N ORDER STACK for (m = 0; m < orderStack.length - 1; m++) { |
