ViewPoint.isneighbour#

ViewPoint.isneighbour(vertex)#

Test if vertex is a neigbour

Parameters:

vertex (Vertex subclass) – vertex reference

Returns:

true if a neighbour

Return type:

bool

For a directed graph this is true only if the edge is from self to vertex.