to_edgelist#

to_edgelist(G, nodelist=None)[源代码]#

返回图表中的边列表。

参数
G图表

网络X图表

nodelist列表

仅使用节点列表中指定的节点