Revert "remove unused struct MinimalEdgeData"

This reverts commit 0235cf5d8e9e1d3d8b15513ffaf1bbe8da3fcad0.