How can I sample the neighborhood dynamically?

I want to sample the neighborhood for one node every iteration. Does DGC support this API?

This is a duplicate of another thread and is hence closed.