Thanks.
I was clear from the documentation (and from stackoverflow, etc.) that graphml was the format I needed. However, Graph.save doesn't mention graphml. I see now that there is enough information on those two pages to deduce that graphml== xml (that is, both pages mention "dot" and "gml" and so one might be able to assume that the third terms, which are different in each, are meant to be the same). However, I think it would be helpful to clarify that in the Graph.save docstring.
On 07/18/2014 06:50 PM, ... wrote:
> How does one save a graph as graphml? Graph.save makes no mention of it, and changing the file extension to graphml causes a ValueError: cannot determine file format.
The extension name is "xml".
> I didn't see anything elsewhere in the docs.
See
http://graph-tool.skewed.de/static/doc/quickstart.html#graph-i-o
and
http://graph-tool.skewed.de/static/doc/graph_tool.html#graph_tool.Graph.save
Best,
Tiago
--
Tiago de Paula Peixoto <tiago@skewed.de>
_______________________________________________
graph-tool mailing list
graph-tool@skewed.de
http://lists.skewed.de/mailman/listinfo/graph-tool