Skip to main content
Elements may be grouped together to form Group elements. This allows FlexiLayout Studio to consider the grouped elements as one entity for which it has already formulated a single hypothesis (which actually consists of the hypotheses for each constituent element). FlexiLayout Studio examines the combinations of hypotheses for the constituent elements of the group and selects only the best ones (you set how many). These hypotheses are then used to formulate hypotheses about subordinate elements.
The tree of elements itself may be regarded as one Group element.

Shared search constraints for a group

A Group element allows you to create a single search constraint for all the constituent elements. The search area for a particular constituent element will be the intersection of the search area specified for the constituent element and the search area specified for the entire group.
The intersection of the search area of a constituent element and the search area of the group may be empty. If the intersection is empty, the constituent element will not be found. Therefore, either specify only simple relations for Group elements, for example, Above: PageRect.Top + PageRect.Height/2; (that is, look for the element in the upper half of the image), or do not specify any relations at all, to avoid any contradictions between relations describing the search area of the group and relations describing the search area of a constituent element.

Group hypothesis properties

A Group hypothesis has the following properties: