resetViz(){
    this.node_mesh.geometry.dispose();
    this.link_mesh.geometry.dispose();
    // reset the iteration count so new data can be layout-ed
    this.iteration = 0;
  }
// cleanup the buffers and reset simulation count when new data is added
cleanup the buffers and reset simulation count when new data is added
cleanup the buffers and reset simulation count when new data is added
resetViz(){
    this.node_mesh.geometry.dispose();
    this.link_mesh.geometry.dispose();
    this.iteration = 0;
  }
resetViz ( ) { this . node_mesh . geometry . dispose ( ) ; this . link_mesh . geometry . dispose ( ) ; this . iteration = 0 ; }
cleanup the buffers and reset simulation count when new data is added
cleanup the buffers and reset simulation count when new data is added
// reset the iteration count so new data can be layout-ed