This method relabels the vertices of a graph or digraph according to their indices. The method indexes from 0 to the number of vertices minus one.




The object indexLabelGraph is a method function.