P-graph for Process Design