Upgrade to Jung 2.1.1
[nemo.git] / nemo-ui / src / main / resources / nemo / js / Nemo_Annouce_vis.js
index dffa4d353241015ddd8190577ad583d7a27ebaa0..5104e169cb13f314bb15a6ba1c8c7f32600a4f99 100644 (file)
@@ -1,6 +1,4 @@
-//////////////////////////////////////////zm//////////////////////////////////////////////////
-       
-    var ne_flag=0;
+   var ne_flag=0;
        // Node_List = a[Node_Id][x](x = 0,label;x = 1,title;x = 2,P2mpGroupId)
     var Node_List = new Array();
        // Edge_List = b[Edge_Id][y](y = 0,connection name;y = 1,from;y = 2,to)
@@ -16,8 +14,8 @@
 
 /////////////Main Data//////////////
        var nodes, edges, graph;
-    var Node_Id = 0;
-    var Edge_Id = 0;   
+  var Node_Id = 0;
+  var Edge_Id = 0;     
        var Edge_Count=0;
 
        
@@ -39,9 +37,6 @@
     // create an array with nodes
     nodes = new vis.DataSet();
        
-       
-
-       
     // create an array with edges
     edges = new vis.DataSet();
 
@@ -65,7 +60,7 @@
                        //length:1
                },
         groups: {
-                null: {
+                   null: {
             color: {
               border: 'white',
               background: 'white',
@@ -420,9 +415,6 @@ var options2 = {
                         '</foreignObject>' +
                         '</svg>'];
 //function
-function draw(node_count,node_mash_list) {
-
-}
        function calculatePos(n){
                        var res = new Array();
                        if(n <= 0)return res;
@@ -443,5 +435,4 @@ function draw(node_count,node_mash_list) {
 
                                                
                                                
-                                               
-//////////////////////////////////////////zm//////////////////////////////////////////////////
+