On 12 September 2012 15:01, Tamás Nepusz <[email protected]> wrote:
>> Thanks. The nice thing about networkx is that you also get the source
>> http://networkx.lanl.gov/_modules/networkx/generators/random_graphs.html#random_regular_graph
>> (which in this case is particularly short and simple).
>
> An even nicer thing is that you can rip the function out of NetworkX and 
> simply replace the G.add_edges_from(edges) part with "return igraph.Graph(n, 
> edges)" to have the same algorithm in igraph as a temporary solution :)
>

Yes! :)

Raphael

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to