private void paintLinks(Graphics2D g) {
		for (Link link : model.getLinks()) {
			Color color = link.getColor();
			g.setColor(color);
			Node node1 = link.getStartNode();
			Node node2 = link.getEndNode();
			g.drawLine((int)(margin_x+node1.pos_x*min_size), 
			           (int)(margin_y+node1.pos_y*min_size), 
			           (int)(margin_x+node2.pos_x*min_size), 
			           (int)(margin_y+node2.pos_y*min_size));
		}
	}