return graph;
}
static Graph<LengthData> createGraph() {
final Graph<LengthData> graph = new MultimapGraph<LengthData>();
addPath(graph, new Point(10, 10), new Point(10, 50), new Point(10, 80),
new Point(10, 100), new Point(50, 100), new Point(100, 100), new Point(
100, 80), new Point(100, 10), new Point(50, 10), new Point(15, 10),
new Point(10, 10));
addPath(graph, new Point(100, 10), new Point(100, 5));
addPath(graph, new Point(10, 50), new Point(15, 50), new Point(15, 15),
new Point(50, 15), new Point(55, 15), new Point(55, 60), new Point(50,
60));
addPath(graph, new Point(15, 15), new Point(15, 10), new Point(15, 5),
new Point(50, 5));
addPath(graph, new Point(50, 100), new Point(50, 60), new Point(40, 60),
new Point(40, 80), new Point(50, 80));
addPath(graph, new Point(50, 60), new Point(50, 15), new Point(50, 10),
new Point(50, 5), new Point(100, 5), new Point(120, 5), new Point(120,
10), new Point(120, 20), new Point(115, 20), new Point(115, 40),
new Point(120, 40), new Point(120, 80), new Point(100, 80), new Point(
50, 80));
addPath(graph, new Point(100, 10), new Point(120, 10));
addPath(graph, new Point(120, 20), new Point(120, 40));
addPath(graph, new Point(40, 80), new Point(10, 80));
return graph;
}