patch-graph