VertexIndex

VertexIndex[g,v]
gives the integer index for the vertex v in the graph g.

DetailsDetails

Introduced in 2010
(8.0)