import networkx as nx from torch_geometric.utils.convert import to_networkx import matplotlib.pyplot as plt def draw(Data): #type(Data) =G = to_networkx(Data) nx.draw(G) plt.show()
欢迎分享,转载请注明来源:内存溢出
import networkx as nx from torch_geometric.utils.convert import to_networkx import matplotlib.pyplot as plt def draw(Data): #type(Data) =G = to_networkx(Data) nx.draw(G) plt.show()
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)