contract_approx has a lot of partitioned tensor network/graph logic, but uses an older format based on a DataGraph with subgraphs stored as the vertex data. It would clean up that part of the code to switch to the new PartitionedGraph type.
@JoeyT1994