I've read the documentation on this and other functions, but I wondered how it is programmed (precisely what it is doing behind the scenes). I fed the function a weighted graph and it partitioned the graph into areas of approximately equal weight, which is amazing. How in the world does this function work? Also, am I asking this in the right place?