|
SOLUTIONS
|
GRAPH UTILITIES PACKAGE SYMBOL
VertexList
VertexList[g]
gives a list of all vertices in the graph g.
DetailsDetails
- To use
, you first need to load the Graph Utilities Package using Needs["GraphUtilities`"].
returns a list of vertices of the graph g.- For graphs specified using a rule list, the list of vertices is returned in the order in which they first appear.
- Functions such as GraphCoordinates and PageRankVector return information on vertices in the order given by
.
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
