edge_width = [ d["weight"]*0.2 for (u,v,d) in G.edges(data=True)] nx.draw_networkx_edges(G, pos, alpha=0.4, edge_color="c", width=edge_width) ...
確定! 回上一頁