This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


gives a list of all vertices in the graph g.
  • VertexList returns a list of vertices of the graph g.
  • For graphs specified using a rule list, the list of vertices are returned in the order in which they first appear.