dgl.DGLGraph.subgraph

DGLGraph.subgraph(nodes, *, relabel_nodes=True, store_ids=True)

Alias of dgl.node_subgraph().