How to get a subgraph from a big graph?

I am doing graph processing and I want to get a subgraph structure of the graph data and cut it out, but I can’t find the relevant API. What should I do?

DGL provides a number of subgraph extraction ops. Do they work for your case?

Great, I found my target function and it’s dgl.khop_out_subgraph.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.