parse_leda# parse_leda(lines)[source]# 从字符串或可迭代对象中读取LEDA格式的图。 参数: lines字符串或可迭代对象LEDA格式的数据。 返回: GNetworkX 图 参考文献 [1] http://www.algorithmic-solutions.info/leda_guide/graphs/leda_native_graph_fileformat.html 示例 G=nx.parse_leda(string)