From ad11aade3ba909596298cd1573d2d3ad4e3f0e1c Mon Sep 17 00:00:00 2001 From: ivanPozdnyakov Date: Thu, 14 Jan 2016 15:18:11 -0500 Subject: [PATCH] test --- VQI_PathwayEditor.js | 2 +- VQI_PathwayEditorGUI.js | 2349 +++++++++++++++++++++++++++++++++++++ VQI_PathwayEditorNoGUI.js | 120 ++ index.php | 35 +- 4 files changed, 2484 insertions(+), 22 deletions(-) create mode 100644 VQI_PathwayEditorGUI.js create mode 100644 VQI_PathwayEditorNoGUI.js diff --git a/VQI_PathwayEditor.js b/VQI_PathwayEditor.js index 79d331d..41f73fa 100755 --- a/VQI_PathwayEditor.js +++ b/VQI_PathwayEditor.js @@ -1,4 +1,4 @@ -var VQI_PathwayEditor = function (parent) { +var VQI_PathwayEditorGUI = function (parent) { //Web services // var serverURL = "http://cardinal3.engr.uconn.edu/pathwayVisual/"; diff --git a/VQI_PathwayEditorGUI.js b/VQI_PathwayEditorGUI.js new file mode 100644 index 0000000..8c49c2b --- /dev/null +++ b/VQI_PathwayEditorGUI.js @@ -0,0 +1,2349 @@ +var VQI_PathwayEditorGUI = function (parent) { + + //Web services +// var serverURL = "http://cardinal3.engr.uconn.edu/pathwayVisual/"; + var services = {}; + + services["pathwayFinderUrl"] = "http://bibci.engr.uconn.edu/puj07001/pathway_services/find_path_and_score/find_path_and_score.php"; + services['pathwayFinder'] = 'http://cardinal3.engr.uconn.edu/pathwayVisual/PathwayParser/ajaxJSON.php'; + services['pathwaySaver'] = 'http://cardinal3.engr.uconn.edu/pathwayVisual/PathwayParser/updateDB_json.php'; + services['pathwayScorer'] = 'http://cardinal3.engr.uconn.edu/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'; +// services['pathwayFinder'] = 'http://bibci.engr.uconn.edu/yuz12012/pathwayVisual//PathwayParser/ajaxJSON.php'; +// services['pathwaySaver'] = 'http://bibci.engr.uconn.edu/yuz12012/pathwayVisual//PathwayParser/updateDB_json.php'; +// services['pathwayScorer'] = 'http://bibci.engr.uconn.edu/yuz12012/pathwayVisual/ScoreSystem/getScore.php'; +// services['pathwayWeightedScorer'] = 'http://bibci.engr.uconn.edu/thh13003/pathway2/pathwayweightedscorer.php'; +// services['objectFinder'] = 'http://bibci.engr.uconn.edu/thh13003/pathway2/qsys_json.php'; + + // Globals + var self = this; + var types = ["bundleOne", "bundleTwo", "gene", "geneProduct", "protein", "rna", "microRNA", "kinase", "ligand", "receptor", "biologicalProcess", "triangle", "rectangle", "circle", "ellipse", "pentagon", "hexagon", "heptagon", "octagon", "star", "diamond", "vee", "rhomboid", "label"]; + var personId = ""; + var pathName = ""; + var states = []; + var stateRecycle = []; + var selectedForQueryNodes = []; + var selectedForEditNodes = []; + var selectedForEditEdges = []; + var orderedSelectedNodes = []; + var grabbedCollapsedForEditNodes = []; + var coloredNodes = []; + var edgeCounter = 0; + var nodeCounter = 0; + var dupCounter = 0; + var loadCounts = 0; + var target = 0; + var header = ""; + var counts = {}; + var strInfo; + var highestZOrder = 999; + + var strVar = ""; + strVar += "