Group and ungroup shapes and connectors

You can group related shapes and connectors, and then work with them as if they were a single shape on the drawing canvas.

  1. Select the shapes and connectors you want to group, either by dragging a selection box around all of the shapes and connectors, or hold Shift and click each shape/connector.
  2. Group the shapes using your preferred method:
    • In the format panel on the right, click on Group.
      Click on Group in the Arrange tab of the format panel on the right of the drawing canvas to group selected shapes and connectors
    • Select Arrange > Group from the menu.
      Group selected shapes and connectors via Arrange > Group in the menu
    • Right-click and select Group from the context menu.
      Group selected shapes and connectors via the right-click context menu
    • Press Ctrl+G on Windows or Cmd+G on macOS.

Work with grouped shapes

Move: Move the grouped shapes just like you would a single shape by dragging it to a new position on the drawing canvas.

Resize: Now that your shapes and connectors are grouped, you can drag the corner or side grab handles to resize all of the shapes within the group, relative to each other.

Rotate: Drag the rotate symbol in the top right corner to rotate all of the shapes in the group around a central point.

Group shapes, resize and rotate a group, and ungroup them in draw.io

Ungroup shapes and connectors

  1. Select the grouped shapes.
  2. Click on Ungroup in the Arrange tab of the format panel.
    Alternatively, select Arrange > Ungroup from the menu, right-click on the group and select Ungroup, or press the Ctrl+Shift+U/Cmd+Shift+U keyboard shortcut to break apart the group.