reorder
+undirected / offline / dijkstra