Right. Thanks. I appreciate the solution about iterating over the edges. I hadn't thought of that because I had forgotten that one could easily extract the neighbors of a vertex. I didn't mean to imply that I was just looking for some solution using the details of the package. I see your point about thinking about the problem, but also I think that sometimes the two approaches go hand-in-hand. If you don't really know what the package is capable of, then it obviously limits your thinking about the problem. If these sorts of questions don't belong on the mailing list, then I apologize for wasting your time and can take my questions somewhere else. -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.