From cc3d3c2ad04ab84a2d1065e61e1eb0f1cbb6ecd8 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Tue, 11 Nov 2014 13:22:29 +0200 Subject: new node type for link last entry should be selectedType; Fixes #130 --- scripts/textanalysis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/textanalysis.js b/scripts/textanalysis.js index cc1f2602..d9c77c06 100644 --- a/scripts/textanalysis.js +++ b/scripts/textanalysis.js @@ -331,7 +331,7 @@ var textAnalyser = function (newtext, finalize) { break; case LINK: linkindex++; - addNode("new node", "empty", "temp"); + addNode("new node", selectedType(), "temp"); if (!starGraph) { addLink(newnodes[nodeindex - 1], "new node", newlinks[linkindex], "temp"); and_connect("new node"); -- cgit v1.3.1