void display(ArrayList<Node> nodes, int view,boolean showDisappeared,boolean highlight){  
    	  //Safety check
    	  if (this.node1>=nodes.size() || this.node2>=nodes.size()) return;
    	  
    	  Node n1 = nodes.get(this.node1);
    	  Node n2 = nodes.get(this.node2);
    	  if (showDisappeared){
    		  drawEdge(n1.x,n1.y,n2.x,n2.y,255,1.5f);
    	  }else{
    		  if (n1.persistence.get(view)==1 && n2.persistence.get(view)==1 && this.persistence.get(view)!=0){ //Safety Check
    			  if (highlight){
            		  parent.strokeWeight(2);    	
                	  parent.stroke(presentColour.getRGB()); 
            		  parent.line(n1.x,n1.y,n2.x,n2.y);
            	  }else{
            		  drawEdge(n1.x,n1.y,n2.x,n2.y,255,1.5f);
            	  }        		  
        	  }
    	  }    	  
      }