import networkx as nx ... pos = nx.circular_layout(G) nx.draw_networkx(G, pos) ... G_random = nx.connected_watts_strogatz_graph(30, 2, 1)
確定! 回上一頁