diff --git a/VQI_PathwayEditor.js b/VQI_PathwayEditor.js index 7fe7b3f..2ac818b 100755 --- a/VQI_PathwayEditor.js +++ b/VQI_PathwayEditor.js @@ -1,2069 +1,2082 @@ -var VQI_PathwayEditor = function(parent) { - - var self = this; - - //Web services - var serverURL = "http://cardinal3.engr.uconn.edu/pathwayVisual/"; - var services = {}; - - services['pathwayFinder'] = serverURL + 'PathwayParser/ajaxJSON.php'; - services['pathwaySaver'] = serverURL + 'PathwayParser/updateDB_json.php'; - services['pathwayScorer'] = 'http://137.99.11.36/pathwayVisual/ScoreSystem/getScore.php'; - services['pathwayWeightedScorer'] = 'http://137.99.11.122/pathway2/pathwayweightedscorer.php'; - services['objectFinder'] = 'http://137.99.11.122/pathway2/qsys_json.php'; - - // Globals - var states = []; - var types = ["bundleOne", "bundleTwo", "gene", "geneProduct", "protein", "rna", "microRNA", "kinase", "ligand", "receptor", "biologicalProcess", "triangle","ellipse","pentagon","hexagon","heptagon","octagon","star","diamond","vee","rhomboid","label"]; - var stateRecycle = []; - var lastEvent = 0; - var selectedForQueryNodes = []; - var selectedForEditNodes = []; - var selectedForEditEdges = []; - var orderedSelectedNodes = []; - var grabbedCollapsedForEditNodes = []; - var coloredNodes = []; - var edgeCounter = 0; - var nodeCounter = 0; - var loadCounts = 0; - var target = 0; - var header = ""; - var counts = {}; - var strInfo; - var highestZOrder = 999; - - var strVar = ""; - strVar += "