This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

EdgeDelete

EdgeDelete
makes a graph by deleting the edge e from the graph g.
EdgeDelete
deletes a collection of edges from g.
EdgeDelete
deletes all edges that match the pattern patt.
  • EdgeDelete will delete the edge e only if it is present in g.
Delete an edge from a complete graph:
Delete an edge from a complete graph:
In[1]:=
Click for copyable input
Out[1]=
EdgeDelete works with undirected graphs:
Directed graph:
Delete a set of edges from the graph:
Use a pattern to delete a subset of edges:
Works with large graphs:
New in 8