Contract

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. >>

Contract[g,{x,y}]

gives the graph resulting from contracting the pair of vertices {x,y} of graph g.

Details

See Also

VertexContract  ChromaticPolynomial  InduceSubgraph

Tutorials