ViewPoint.edgeto#

ViewPoint.edgeto(dest)#

Get edge connecting vertex to specific neighbour

Parameters:

dest (Vertex subclass) – a neigbouring vertex

Raises:

ValueErrordest is not a neighbour

Returns:

the edge from this vertex to dest

Return type:

Edge

Note

  • For a directed graph dest must be at the arrow end of the edge