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

EdgeList

EdgeList[g]
gives a list of edges in the graph g
The list of vertices of a simple graph:
Needs["GraphUtilities`"]
The list of vertices of a simple graph:
In[2]:=
Click for copyable input
Out[2]=