This example demonstrates nested groups, expand/collapse and frame decorators.

Groups are shapes, which contain other groups/shapes. In this example each main group has two nested groups and each nested group has two shapes. There are lines that connect the nested shapes and expand/collapse and frame decorators.

Groups, like ordinary shapes, can too have multiple ports, labels and control points.