[graph-tool] checking if an edge exist?

Tiago de Paula Peixoto tiago at skewed.de
Thu Mar 20 23:23:16 CET 2014

On 03/20/2014 04:54 PM, Hang Mang wrote:
> How can I check if a edge exists between a source and target or not?!

There is a Graph.edge(s, t) member which returns the edge between s and
t, or None if it doesn't exist.


Tiago de Paula Peixoto <tiago at skewed.de>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <https://lists.skewed.de/pipermail/graph-tool/attachments/20140320/73a75f61/attachment.asc>

More information about the graph-tool mailing list