From b5256213bd657f56fc3cfdb77414ff827c3f4cf1 Mon Sep 17 00:00:00 2001 From: Owen Date: Fri, 8 Aug 2014 18:27:45 +0300 Subject: Redone AND connectors (#issue 27) --- scripts/rhizicore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/rhizicore.js') diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index d11f42cd..5a671c11 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -152,7 +152,7 @@ function myGraph(el) { this.addLink = function(sourceId, targetId, name, state) { var sourceNode = findNode(sourceId, null); var targetNode = findNode(targetId, null); - + if(name)if(name.replace(/ /g,"")==="and")state="temp"; if ((sourceNode !== undefined) && (targetNode !== undefined)) { links.push({ "source": sourceNode, -- cgit v1.3.1