A phase transition phenomenon in a random directed acyclic graph