Convert an igraph graph object to interaction data frame. This is the
reverse of the operation done by thje interaction_graph
function. Networks can be easily converted to igraph objects, then
you can make use of all igaph methods, and at the end, get back the
interactions in a data frame, along with all new edge and node attributes.