Distributed edge-based event-triggered formation control