to_edgelist# to_edgelist(G, nodelist=None)[source]# 返回图中的边列表。 参数: G图一个 NetworkX 图 nodelist列表仅使用 nodelist 中指定的节点