P-Graph