Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Graphs & Networks > Graph Operations and Modifications > VertexDelete >
Mathematica > Visualization and Graphics > Graphs & Networks > Graph Operations and Modifications > VertexDelete >
Mathematica > Mathematics and Algorithms > Graphs & Networks > Constructing Graphs > Graph Operations and Modifications > VertexDelete >

VertexDelete

VertexDelete
makes a graph by deleting the vertex and all edges connected to v from the graph g.
VertexDelete
deletes a collection of vertices from g.
VertexDelete
deletes all vertices that match the pattern patt.
  • VertexDelete will delete the vertex v only if it is present in g.
Delete a vertex from a complete graph:
Delete a vertex from a complete graph:
In[1]:=
Click for copyable input
Out[1]=
VertexDelete works with undirected graphs:
Directed graphs:
Delete a set of vertices from the graph:
Use a pattern to delete a subset of vertices:
Works with large graphs:
New in 8
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF