This is the resource allocation graph for 3 resources (with one instance of each) and three processes where P1 has been allocated R1 and R2, P2 has requested R1, R2 and R3, and P3 has requested R2 and been allocated R3.