BUG: Fix StableGraph::neighbors and edges iterators for nonexisting

.neighbors() (and other neighbors iterators) and .edges() (and other
edges) iterators did not behave correctly when passed a node index that
doesn't exist, but pointed to an interior hole in the index set.

Fix the iterators by correctly treating the node as empty if it is
marked empty by setting its weight to None.
2 files changed