dgl.DGLGraph.subgraph

DGLGraph.subgraph(nodes)

Alias of dgl.node_subgraph().