GNN 모델링에 자주 사용되는 모듈 정리 중...(자주 수정됨) 1. to_networkx to_networkx Converts a torch_geometric.data.Data instance to a networkx. Graph if to_undirected is set to True, or a directed networkx. DiGraph otherwise. 나는 undirected graph를 사용하므로, to_networkx(data).to_undirected() 해준다. 2. to_undirected to_undirected Converts the graph given by edge_index to an undirected graph such that (j,i)∈E for every edge..