Hello again! I am trying to test if two specific nodes in a graph have an edge:
for x in g.vs(): for y in g.vs(): print str(x.index) + "," + str(y.index) try: edge_id = g.get_eid(x.index,y.index) break except ValueError: print x["name"] + "," + y["name"] I am thinking there might be a better message than what I am doing. Is there a method like is_connected(v1, v2)? Thanks again for all your help! -Ahmed
_______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
