// length 10 no speed limit
graph.addConnection(A, B);
// length 10 speed 2.5
graph.addConnection(B, C, new MultiAttributeData(10d, 2.5));
graph.addConnection(C, B); // length Math.sqr(10^2 + 10^2)
// length 10 speed 10
graph.addConnection(B, D, new MultiAttributeData(10d, 10));
graph.addConnection(C, D); // length 10
// length 12 speed 1
graph.addConnection(D, C, new MultiAttributeData(12, 1));
graph.addConnection(D, E, new MultiAttributeData(5, 7));
final Set<Point> points = graph.getNodes();
assertEquals(5, points.size());
assertTrue(points.contains(A));
assertTrue(points.contains(B));