How to only exclude single-directional edge for EdgeDataLoader

Hi,

I’m using EdgeDataLoader for a directed graph and want to exclude the sampled edge in the subgraph. However I see there are only reverse_id and reverse_types two effective values for exclude argument of EdgeDataLoader, and reverse_edge_ids or reverse_etypes are needed cooperatively. Because my graph is directed, what should do if I only want to exclude some single-directional edges?

Thank you very much.

Currently there is not an easy way to achieve that. One possibility is to do some hacking here.

Is it a possible solution that assign reverse_eids argument the original order of edge id, which means the reverse of the sampled edge is itself? I’ve tried an example code and it seems work, but I still want to confirm if it will go wrong when in some more complex situations.

Thanks.