Text this: Tree-based graph partitioning constraint /