[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...
Size: 901 bytes
Desc: OpenPGP digital signature
More information about the graph-tool