GraphTheory[RelabelVertices]
|
Calling Sequence
|
|
RelabelVertices(G,S)
|
|
Parameters
|
|
G
|
-
|
a graph
|
V
|
-
|
a list of vertex labels
|
|
|
|
|
Description
|
|
•
|
RelabelVertices('G','V') returns a new graph with vertex labels changed to be those in V. The graph G is not modified.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
>
|
|
| (3) |
>
|
|
| (4) |
|
|
Download Help Document
Was this information helpful?