VertexReplace

VertexReplace[g,{v1w1,v2w2,}]
replaces each vertex vi in the graph g by wi.

VertexReplace[{vw,},]
uses rules vw to specify the graph g.

DetailsDetails

Introduced in 2010
(8.0)
| Updated in 2015
(10.3)