dgl.to_homo

dgl.to_homo(G)[source]

Convert the given heterogeneous graph to a homogeneous graph.

DEPRECATED: Please use to_homogeneous