network定製頂點顏色

import networkx as nx import matplotlib.pyplot as plt #添加頂點和邊 plt.figure(figsize=(10, 10)) G_test = nx.Graph(); G_test.add_node('A') G_test.add_node('B') G_test.add_node('C') G_test.add_node('D') G_te
相關文章
相關標籤/搜索