GraphTheory[UnderlyingGraph]
|
Calling Sequence
|
|
UnderlyingGraph(G)
|
|
Description
|
|
•
|
The UnderlyingGraph command returns the underlying graph of a graph, i.e. dropping the directions of the arcs and the weights of the edges (or arcs).
|
•
|
Note that UnderlyingGraph(G) = Graph(Vertices(G), Neighbors(G)).
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
>
|
|
| (4) |
>
|
|
| (5) |
|
|
Download Help Document
Was this information helpful?