X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=nemo-ui%2Fsrc%2Fmain%2Fresources%2Fnemo%2Fjs%2FNemo_Annouce_vis.js;h=5104e169cb13f314bb15a6ba1c8c7f32600a4f99;hb=b318c6fc51015e0feaf0d0dfc65b9c0628ea5aaa;hp=dffa4d353241015ddd8190577ad583d7a27ebaa0;hpb=e479a731035879ce64d53d1be634c24ccdb4f2d6;p=nemo.git diff --git a/nemo-ui/src/main/resources/nemo/js/Nemo_Annouce_vis.js b/nemo-ui/src/main/resources/nemo/js/Nemo_Annouce_vis.js index dffa4d3..5104e16 100644 --- a/nemo-ui/src/main/resources/nemo/js/Nemo_Annouce_vis.js +++ b/nemo-ui/src/main/resources/nemo/js/Nemo_Annouce_vis.js @@ -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 = { '' + '']; //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////////////////////////////////////////////////// +