public void selectEdge(){     	 
    	 //if (this.draggingEdge ==null) return;
    	 this.onDraggingEdge = false;
    	 
    	 for (int i=0;i<this.aggregatedEdges.size();i++){
    		 Coordinate startPt = this.aggregatedEdges.get(i).hintCoords.get(0);
        	 Coordinate endPt = this.aggregatedEdges.get(i).hintCoords.get(this.numTimeSlices);    	 
        	 float [] minPoint = minDistancePoint(parent.mouseX,parent.mouseY,startPt.x,startPt.y,endPt.x,endPt.y);
        	 if (parent.dist(minPoint[0],minPoint[1],parent.mouseX,parent.mouseY)<=10){ //Rough check to see if mouse was clicked on the anchor
        		 this.onDraggingEdge = true;
        		 this.inGlobalView = false;
        		 this.draggingEdge = this.aggregatedEdges.get(i);
        		 this.pinnedView = this.drawingView;
        		 return;
        	 }
    	 }
    	/** Coordinate startPt = this.draggingEdge.hintCoords.get(0);
    	 Coordinate endPt = this.draggingEdge.hintCoords.get(this.numTimeSlices-1);    	 
    	 float [] minPoint = minDistancePoint(parent.mouseX,parent.mouseY,startPt.x,startPt.y,endPt.x,endPt.y);
    	 if (parent.dist(minPoint[0],minPoint[1],parent.mouseX,parent.mouseY)<=5){ //Rough check to see if mouse was clicked on the anchor
    		 this.onDraggingEdge = true;
    		 this.pinnedView = this.drawingView;
    	 }else {
    		 //Re-set the interaction variables to clear the hint path    
    		 this.onDraggingEdge = false;     
    		// this.releasedNode = -1;
        	 //this.selectedEdge = -1;    	 
        	 //this.selectedNode = -1; 
        	 //this.draggingEdge = null;           	
    	 }  */    	
     }