The structures shown in this example may also be referred to as subgraphs or nested nodes. This functionality is achieved using the advanced rete-scopes-plugin plugin.
Changing a node's parent is easy: simply long-press the node and move it over the new parent node.