calculate the missing edges as an edgelist from an adjacency matrix with NaNs indicating missing links
Useful links