Updated to ios7. Changed the way the groupings were contained in the data structure in the JS. Now they’re being stored using Connection objects that contain information about where (which hotspots) the objects are connected, not just that they are connected. Added partial functionality to animate when groupings occur so that hotspots snap together. This still needs more work as there are instances in which it doesn’t work as intended (e.g. if one object being grouped with another object is already grouped with a third object).