Perform sketch in sub-graph for both graph partition and merging

Allowing user to sketch(cut) mesh inside patches, not the whole mesh.
This guarantees the stability of patch layout. To achieve this, both
graph cut and merging function are modified. More operations, like erase
features, erase clusters are included.