I’m using batch() function on a list of graphs then unbatch() to retrieve the original list of graphs. Does the order remain the same?
unbatch preserve original order.
g.edges() doesn’t guarantee the edge orders. You could use
g.all_edges(order='eid') to force returning sorted edges based on edge id.