Assuming that your matrix is an numpy array, you can use the method Graph=networkx.from_numpy_matrix('numpy_adj_matrix.npy') to draw the graph.
確定! 回上一頁