directed paths