Graph() G.add_edge(1, 2) G.add_edge(2, 3) nx.draw(G,pos) plt.show() print ... K_5 = nx.complete_graph(5) nx.draw(K_5) plt.show() nx.draw_circular(K_5) ...
確定! 回上一頁