PatternDepartVertex v14 = new PatternDepartVertex(graph, firstTripPattern, 1);
PatternArriveVertex v16 = new PatternArriveVertex(graph, firstTripPattern, 2);
PatternDepartVertex v18 = new PatternDepartVertex(graph, secondTripPattern, 0);
PatternArriveVertex v20 = new PatternArriveVertex(graph, secondTripPattern, 1);
TransitStop v24 = new TransitStop(graph, trainStopArrive);
TransitStopArrive v22 = new TransitStopArrive(graph, trainStopArrive, v24);
// Vertices for legs 3 and 4
TransitStop v26 = new TransitStop(graph, ferryStopDepart);
TransitStopDepart v28 = new TransitStopDepart(graph, ferryStopDepart, v26);
PatternDepartVertex v30 = new PatternDepartVertex(graph, thirdTripPattern, 0);
PatternArriveVertex v32 = new PatternArriveVertex(graph, thirdTripPattern, 1);
TransitStop v36 = new TransitStop(graph, ferryStopArrive);
TransitStopArrive v34 = new TransitStopArrive(graph, ferryStopArrive, v36);
// Vertices for leg 5
IntersectionVertex v38 = new IntersectionVertex(graph, "Vertex 38", 179, 89);
IntersectionVertex v40 = new IntersectionVertex(graph, "Vertex 40", 180, 89);
IntersectionVertex v42 = new IntersectionVertex(graph, "Vertex 42", 180, 90);