Convert a vertex or edge sequence to an ordinary vector
Details
For graphs without names, a numeric vector is returned, containing the internal numeric vertex or edge ids.
For graphs with names, and vertex sequences, the vertex names are returned in a character vector.
For graphs with names and edge sequences, a character vector is
returned, with the ‘bar’ notation: a|b
means an edge from
vertex a
to vertex b
.
See also
Other vertex and edge sequences:
E()
,
V()
,
igraph-es-attributes
,
igraph-es-indexing
,
igraph-es-indexing2
,
igraph-vs-attributes
,
igraph-vs-indexing
,
igraph-vs-indexing2
,
print.igraph.es()
,
print.igraph.vs()