nx.draw_networkx_edges(g,pos=pos, edgelist = h.edges()). 更緊湊的形式會做它: pos = nx.spring_layout(g) h = g.subgraph(A) nx.draw_networkx_nodes(h,pos=pos, ...
確定! 回上一頁