mod of main app for new data, plus trying to do all edges instead of aggregating so can associate attributes with each edge. seems to work but really slow...