This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# EdgeList

 EdgeList[g] gives the list of edges for the graph g. EdgeListgives a list of edges that match the pattern patt.
• EdgeList returns the list of edges in the order used by the graph g.
The edge list for an explicitly constructed graph:
The edge list for a parametrically constructed graph:
Find all edges that match a pattern:
The edge list for an explicitly constructed graph:
 Out[1]=
 Out[2]=

The edge list for a parametrically constructed graph:
 Out[1]=
 Out[2]=

Find all edges that match a pattern:
 Out[1]=
 Out[2]=
 Scope   (4)
EdgeList works with undirected graphs:
Directed graphs:
Use a pattern to select a subset of edges:
Works with large graphs:
 Applications   (1)
Find all edges with a given property:
EdgeCount can be found using EdgeList:
Edges in EdgeList are given in the same order they are entered for Graph:
Columns of the incidence matrix correspond to EdgeList:
Edges can be explicitly specified in Graph:
A connected graph can be reconstructed from its edge list:
New in 8