Single frame selected: toggles auto-layout on/off. Any other selection: creates a new frame around the selected nodes, reparents them into it, and enables vertical auto-layout with HUG sizing.