GraphTheory[DeleteVertex]
|
Calling Sequence
|
|
DeleteVertex(G, V)
|
|
Parameters
|
|
G
|
-
|
graph
|
V
|
-
|
vertex or a list or set of vertices
|
|
|
|
|
Description
|
|
•
|
The DeleteVertex command returns a copy of the graph G with the specified vertex, or list of vertices, deleted. The graph G is not changed. The resulting graph is the subgraph of G induced by the remaining vertices. Any edges adjacent to V are removed.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
|
|
Download Help Document
Was this information helpful?