public void selectNodes(){      	
    	 
    	 //Re-set event variables
    	 this.releasedNode = -1;
    	 this.selectedEdge = -1;    	 
    	 this.selectedNode = -1;      	
    	 this.selectedSameNode = false;
    	 //this.draggingNode = false;
    	 
    	 int selected = -1;
    	 //int selectionType = -1;
    	 int [] savedSelections;
    	 boolean selectedDisappeared = false;
    	 
    	 for (int i = 0;i<this.nodes.size();i++){
    		 if (aggregatedNodes.contains(new Integer(i))){
    			 selectedDisappeared = true;
    		 }else{
    			 selectedDisappeared = false;
    		 }
    		 if (this.inGlobalView){
    			 selectedDisappeared = true;
    		 }
    		savedSelections = this.nodes.get(i).selectNode(this.drawingView,selectedDisappeared);  
    		selected = savedSelections[0];
    		//selectionType = savedSelections[1];
    		
            if (selected !=-1)	{             	
            	
            		if (!this.aggregatedNodes.contains(new Integer(selected))){
                		this.aggregatedNodes.add(selected);
                	}else{
                		this.selectedSameNode = true;
                	}
                	
                	this.aggregateNodeHintPaths();
                	this.selectedNode = selected; 
                	//this.aggregatedEdges.clear();
                	//System.out.println("clearing edges");
                	//this.aggregatedEdges_Nodes.clear();       		
            	
            }
    	 }    
    	this.dragging = true;
     }