> I am trying to test if two specific nodes in a graph have an edge: > […] > I am thinking there might be a better message than what I am doing. Is there > a method like is_connected(v1, v2)?
It’s called are_connected(v1, v2). Also, you could use get_eid(v1, v2, error=False), in which case you get a return value of -1 if there is no edge between v1 and v2. T. _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
