How to get `out_edges` for DistGraph?

Is there a way to get the out_edges (return the outgoing edges of the given nodes) on the DistGraph? Specifically, I want to get the neighbor nodes of given nodes on a Heterogeneous DistGraph.

DGLGraph and HeteroGraph support out_edges method here. I want to use the same method on the DistGraph, but there is no this kind of method for DistGraph object here.

Could you give any suggestions on how to implement this feature on DistGraph? I noticed the related code which might be helpful is sample_neighbors method. It calls graph_services.sample_neighbors() and return a frontier. I think it is involved with neighbor querying and remote access (if needed). Do you think it is possible to modify this API to achieve my goal?

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