edge-based flow