📜  networkx 选择边缘 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:09.127000             🧑  作者: Mango

代码示例1
selected_edges = [(u,v) for u,v,e in G.edges(data=True) if e['since'] == 'December 2008']
print (selected_edges)