Network - vertex neighborhood



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!


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