Yes, ``vertex_index(u, graph)`` might seem cumbersome and unnecessary. But, there was deeper consideration behind that. By using this syntax, we allow people to implement new graph types where vertex index is not directly stored with the vertex, instead it may be looked up from the graph. I hope this does not create a lot of trouble for algorithm implementers.