import copy. import networkx. import matplotlib.pyplot as plt. # Generate a graph. # Here I chose an ER graph. g = nx.erdos_renyi_graph(20, 0.3).
確定! 回上一頁