Needs["GraphUtilities`"] This defines a small graph:
| Out[3]= |  |
This partitions the vertices into two parts with the minimum number of edge cuts:
| Out[4]= |  |
This plots the graph with partitions, with one part colored red and the other colored green:
| Out[5]= |  |
|