Use this if you are using igraph from R
| c.igraph.es {igraph} | R Documentation | 
Concatenate edge sequences
## S3 method for class 'igraph.es'
c(..., recursive = FALSE)
... | 
 The edge sequences to concatenate. They must all refer to the same graph.  | 
recursive | 
 Ignored, included for S3 compatibility with the
base   | 
An edge sequence, the input sequences concatenated.
Other vertex and edge sequence operations: 
c.igraph.vs(),
difference.igraph.es(),
difference.igraph.vs(),
igraph-es-indexing2,
igraph-es-indexing,
igraph-vs-indexing2,
igraph-vs-indexing,
intersection.igraph.es(),
intersection.igraph.vs(),
rev.igraph.es(),
rev.igraph.vs(),
union.igraph.es(),
union.igraph.vs(),
unique.igraph.es(),
unique.igraph.vs()
g <- make_(ring(10), with_vertex_(name = LETTERS[1:10]))
c(E(g)[1], E(g)['A|B'], E(g)[1:4])