To generate a random walk for deep walk node embedding method, a function call to dgl.contrib.sampling.random_walk() was made from the deep walk code which inturn calls _CAPI_DGLRandomWalk() function.

We are trying to build a random walk method based on the transition probability since we could not track back after the method call to _CAPI_DGLRandomWalk(), we could not understand how random walk is performed on DGL graph. Any help related to random walk logic is much appreciated!!