import networkx as nx import matplotlib.pyplot as plt G = nx.DiGraph() G.add_edges_from(\[(0,1), (0,2), (1,1), (1,2)\]) nx.write_dot(G,'graph.dot') # then ...
確定! 回上一頁