Returns all neighbors of the given vertex in the given direction.

In undirected graphs the edge direction is ignored and the returned items are
the same as from [neighbors_undirected](Self::neighbors_undirected).

# Panics

Panics if the vertex does not exist.
