On 03/21/2014 12:07 PM, Hang Mang wrote:
> Is it possible to add an edge between a source and a target using
> their indices?

It would be nice if you would look at the documentation before posting
to the list.

You should just do g.add_edge(i, j), where i and j are integers.

Best,
Tiago

-- 
Tiago de Paula Peixoto <[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to