as_cumulative_edgelist function

Convert an object to a cumulative_edgelist