Also removing an extra print statement.
1) Move the mean position of the graph to the origin. 2) Adjust the navigation transformation to point at the origin. Previously, we adjusted the navigation transformation to point at the mean position of the graph. This could have caused issues if, through repeated layouts, the center of the graph was moving to infinity.
Now, we add around the previous center of the graph. Also, we use an effective radius from lastMaxDistance/2.
- Graph::resetVelocities -> Graph::clearVelocities - Add resetLayout(), adjust resetLayoutCallback() - When resetting layout, add option to recenter display after randomizing positions. This makes it so that the viewing window is not useless during the layout algorithm (and before the static layout algorithm recenters anyway). - When adding nodes, randomize position within current radius.
Texture manager in dataitem.hpp Ability to control texture mode in RPC server.