Hi

I have two graph denoted as

```
G = dgl.graph((torch.tensor([0, 0, 1, 2, 2]), torch.tensor([1, 2, 2, 3, 4]))).
```

I would like to merge the srcNode 2 with the dstNode 3 and 4, and replacing the neighborhood dependancies, which will give:

```
Gmerged = dgl.graph((torch.tensor([0, 0, 0, 1, 1]), torch.tensor([1, 3, 4, 3, 4]))).
```

Someone knows an efficient way of doing this ? Which will not be time computing as i have to execute this in training. Let’s see this as a Zoom-IN implementation.

I found dgl.merge but it doesn’t seem to do what i want.

Thanks for your help