Network - vertex neighborhood


#1

Hi,

Using Network.vertex_neighborhood(vertex_key) returns a list of the neighboring vertices and the vertex key itself.

For example:
nbrs = Network.vertex_neighborhood(5)
print(nbrs) # returns [2, 6, 5, 0]

Is this and expected behavior? If so, it would be nice to mention it in the documentation. Thanks!


#2

no, you are right, that should not be the case.
will be fixed in the next patch releaseā€¦