Link Prediction and viewing new edges in networkx

I have used this tutorial for link prediction using DGL on my own dataset:

My question is once I have done the training, how do I see the new predicted edges in Networkx? I’m unclear whether my graph is so small that no new edges were predicted or whether I need to store the predictions during training in order to see the new edges?

Thanks!

in the inference, we predict if a node connects with another node. That is, the model can tell you which node is more likely to connect to a specified node. We didn’t add an actual edge in the graph. I hope this answers your question.

Could you help me moving forward with the prediction to all nodes in the graph. If I wanted to create a threshold for the prediction of all nodes in the graph and add edges based on that threshold how would I go about that? Is that possible?

Thanks!