[PD] Graph problem