tweak graphtest to allow disconnected groups.

i added a weak spring connecting each node to the center