public LinkedList<Segment> getEdges() {
		LinkedList<Segment> edges = new LinkedList<Segment>();
		for(Entry<Point, HashSet<Point>> e: graph.entrySet()) {
			for(Point P : e.getValue()) {
				edges.add(new Segment(e.getKey(), P));
			}
		}
		return edges;
	}