Chemical plant layout via graph partitioning