public void redraw(Graphics g){
		if (roadGraph!= null && loaded ){
			roadGraph.redraw(g, origin, scale);
			if (selectedNode!=null) {
				g.setColor(Color.red);
				selectedNode.draw(g, origin, scale);}
			if(destinationNode!=null) {
				g.setColor(Color.red);
				destinationNode.draw(g, origin, scale);}
		}
		if (selectedSegments!=null){
			g.setColor(Color.red);
			for (Segment seg : selectedSegments){
				seg.draw(g, origin, scale);
			}
		}
		if(articulationPoints != null){
			g.setColor(Color.green);
			for(Node n : articulationPoints){
				n.drawAP(g, origin, scale);
			}
		}
	}