LinkRequest request = networkLinkerLibrary.connectVertexToStreets(vertex);
for (Edge e : request.getEdgesAdded()) {
graph.addTemporaryEdge(e);
}
verticesByStation.put(station, vertex);
new RentABikeOnEdge(vertex, vertex, station.networks);
if (station.allowDropoff)
new RentABikeOffEdge(vertex, vertex, station.networks);
} else {
vertex.setBikesAvailable(station.bikesAvailable);
vertex.setSpacesAvailable(station.spacesAvailable);