ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 13 Feb 2012 04:03:40 -0600Convert Sage's Graph to NetworkX graphhttp://ask.sagemath.org/question/8715/convert-sages-graph-to-networkx-graph/I want to use a function of networkx. More specifically I want to use the function
double_edge_swap()
provided in the networkx package included in Sage. For more information see [here](http://networkx.lanl.gov/reference/generated/networkx.generators.degree_seq.double_edge_swap.html#networkx.generators.degree_seq.double_edge_swap).
But, I have a Sage graph constructed with:
Graph()
So I want to convert the Sage's Graph() object to a networkx object. How I do that?
Best regards.juanpoolMon, 13 Feb 2012 04:03:40 -0600http://ask.sagemath.org/question/8715/