In the ICE Tree view, select the nodes you want to include in the compound.
Right-click on one of the selected nodes (not over a port) and choose Create Compound.
A new compound node named CompoundNode is created, containing all the previously selected nodes. Any connections to unselected nodes become connected ports on the new compound.
To modify the new compound, see the following sections: