limit a set edge with a guard see example graph counter 1