Seetha commited on
Commit
c0aade3
1 Parent(s): 3aa5ab1

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +5 -5
index.html CHANGED
@@ -242,10 +242,10 @@
242
 
243
  var x = document.getElementById("d1"); // Get the graph for Level1 nodes
244
  var y = document.getElementById("d2"); // Get the graph for level 2 nodes
245
- x.style.display = "block"; // If number of nodes ==3, then you will hide the level 2 graph and display the level 1 graph
246
- y.style.display = "none";
247
  var container = document.querySelector(".container");
248
- container.style.display = "none";
249
 
250
  } else if(nodes.length >=8){
251
 
@@ -254,7 +254,7 @@
254
  x.style.display = "none";
255
  y.style.display = "block";
256
  var container = document.querySelector(".container");
257
- container.style.display = "none";
258
 
259
  }else if(nodes.length ==1){
260
  var x = document.getElementById("d1");
@@ -262,7 +262,7 @@
262
  x.style.display = "none";
263
  y.style.display = "none";
264
  var container = document.querySelector(".container");
265
- container.style.display = "none";
266
  }
267
 
268
  }
 
242
 
243
  var x = document.getElementById("d1"); // Get the graph for Level1 nodes
244
  var y = document.getElementById("d2"); // Get the graph for level 2 nodes
245
+ // x.style.display = "block"; // If number of nodes ==3, then you will hide the level 2 graph and display the level 1 graph
246
+ // y.style.display = "none";
247
  var container = document.querySelector(".container");
248
+ // container.style.display = "none";
249
 
250
  } else if(nodes.length >=8){
251
 
 
254
  x.style.display = "none";
255
  y.style.display = "block";
256
  var container = document.querySelector(".container");
257
+ // container.style.display = "none";
258
 
259
  }else if(nodes.length ==1){
260
  var x = document.getElementById("d1");
 
262
  x.style.display = "none";
263
  y.style.display = "none";
264
  var container = document.querySelector(".container");
265
+ // container.style.display = "none";
266
  }
267
 
268
  }