Identifying consecutive edges

Is it possible to identify, two or three consecutive edges in a one shot?

I’m on a heterogeneous graph setting, and it is hard to implement.

I tried using
sampling.random_walk, but it was impossible to get the node/edge indices as expected,
and khop_graph was not on the original graph, but expanding the setting.

May I ask the solutions?

Thank you -!

Could you please specify the output you want with an example?

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