dgl.DGLHeteroGraph.subgraph

DGLHeteroGraph.subgraph(nodes)

Alias of dgl.node_subgraph().