contracts a collection of edges e1,e2,….
uses rules vw to specify the graph g.
Details and Options
- EdgeContract[g,e] creates a new graph from g by deleting the edge e and merging the vertex v into u.
- EdgeContract works with undirected graphs, directed graphs, multigraphs, and mixed graphs.
Basic Examples (1)
Contract edges of a graph:
Properties & Relations (1)
Introduced in 2014
Updated in 2015