6.4. igraph_es_1 — Edge selector containing a single edge.

int igraph_es_1(igraph_es_t *es, igraph_integer_t eid);

Arguments: 

es:

Pointer to an uninitialized edge selector object.

eid:

Edge id of the edge to select.

Returns: 

Error code.

See also: 

igraph_ess_1()

Time complexity: O(1).