code: function (conns, index) {
                      for (var i = 0; i < conns.length; i++) {
                          var c = conns[i];
                          _expandConnection(c, index, group);
                      }
                  }
docs: collapses all connections in a group.