Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Small patch to allow the user to specify the center of gravity in the force directed graph #817
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Thanks for the pull request. Currently, the layout’s size directly determines the gravitational center, and that’s pretty much it’s only purpose (aside from initializing node positions). Thus I don’t see a compelling need to add a separate gravitational center, especially since you can also apply a transform to the G element that contains the force layout if you like.