Small patch to allow the user to specify the center of gravity in the force directed graph

This small update has certainly been useful on our project and thought it might be useful for others as well.  The patch is very small and backwards compatibility is maintained.  I did not update the minimized version.

Hope it helps!