This example shows how to use the ConnectivityRestraint to ensure that all the particles end up in a connected conformation following the optimization.