From 3855fbdfe692b3a728d05e21b8a3facfab02b9ff Mon Sep 17 00:00:00 2001 From: Ivan Pozdnyakov Date: Fri, 9 Oct 2015 15:29:39 -0400 Subject: [PATCH] redo, green selection, code refractored --- VQI_PathwayEditor.js | 264 ++++++++++++++++++++++--------------------- 1 file changed, 138 insertions(+), 126 deletions(-) diff --git a/VQI_PathwayEditor.js b/VQI_PathwayEditor.js index f6ad75b..7e52be3 100644 --- a/VQI_PathwayEditor.js +++ b/VQI_PathwayEditor.js @@ -1,7 +1,8 @@ -var VQI_pathwayEditor = function(parent,services) { +var VQI_pathwayEditor = function(parent, services) { // Globals var states = []; + var stateRecycle = []; var lastEvent = 0; var selectedForQueryNodes = []; var selectedForEditNodes = []; @@ -19,6 +20,116 @@ var VQI_pathwayEditor = function(parent,services) { //var cnv2Color = {'red_border',[1,2,3,4,5],'purple_border',[6,7,8,9,10]} //var mut2Color = {'',[1,2,3,4,5],'red_shadow',[6,7,8,9,10]} + // Outer Control Layout + + var parentDiv = document.getElementById(parent); + + var strVar = ""; + strVar += " <\/input>"; + strVar += "