ViewPoint.edgeto#
- ViewPoint.edgeto(dest)#
Get edge connecting vertex to specific neighbour
- Parameters:
dest (
Vertexsubclass) – a neigbouring vertex- Raises:
ValueError –
destis not a neighbour- Returns:
the edge from this vertex to
dest- Return type:
Edge
Note
For a directed graph
destmust be at the arrow end of the edge