resetNodeColorSize(){
    this.node_mesh.geometry.attributes.color.array = new Float32Array([...this.nodeColors]);
    this.node_mesh.geometry.attributes.size.array = new Float32Array([...this.nodeSizes]);

    this.node_mesh.geometry.attributes.color.needsUpdate = true;
    this.node_mesh.geometry.attributes.size.needsUpdate = true;
  }
// Re-assigns the default color and size values to the nodes
Re-assigns the default color and size values to the nodes
Re - assigns the default color and size values to the nodes
resetNodeColorSize(){
    this.node_mesh.geometry.attributes.color.array = new Float32Array([...this.nodeColors]);
    this.node_mesh.geometry.attributes.size.array = new Float32Array([...this.nodeSizes]);
    this.node_mesh.geometry.attributes.color.needsUpdate = true;
    this.node_mesh.geometry.attributes.size.needsUpdate = true;
  }
resetNodeColorSize ( ) { this . node_mesh . geometry . attributes . color . array = new Float32Array ( [ ... this . nodeColors ] ) ; this . node_mesh . geometry . attributes . size . array = new Float32Array ( [ ... this . nodeSizes ] ) ; this . node_mesh . geometry . attributes . color . needsUpdate = true ; this . node_mesh . geometry . attributes . size . needsUpdate = true ; }
Re-assigns the default color and size values to the nodes
Re - assigns the default color and size values to the nodes