Skip to main content
  1. Learn
  2. Design & UX
  3. How-tos
  4. Grouping and resizing multiple elements in Cacoo

Grouping and resizing multiple elements in Cacoo

How-tosDesign & UXCacoo
Cacoo Staff

Cacoo Staff

July 21, 2020

In Cacoo, you can use a variety of shapes and imported images in your diagrams.

There is a ‘Group’ feature that allows you to merge multiple shapes or elements into one selectable and editable field. As a group like this, they can be moved around more easily, and styles can be applied collectively instead of each individually.

Cacoo grouping shapes

To help, we’ve put together a quick tutorial about using grouped elements in Cacoo, including:

Understanding these techniques will help you to use Cacoo more effectively and create diagrams that look exactly like you imagined.

How to align or arrange multiple elements

If you have multiple shapes or images that you want to align horizontally/vertically, or have them spread out evenly, you can use the ‘Arrange’ function. Simply select two or more elements, and the function will be available in the editor.

Cacoo menu for aligning shapes

  1. Align selection: You can align the selected elements by their edges, center, or top/bottom.
  2. Distribute selection: You can arrange the selected elements to have them spread out horizontally or vertically.

Note: If the multiple elements are grouped together (as mentioned below), they become a single grouped element, and thus, the ‘Arrange’ function will not be available; you’ll need to ungroup them first.

How to group multiple elements

  1. Select multiple elements that you wish to combine into a group. You can select multiple elements by holding down the Shift key and clicking them one by one, or by clicking and dragging a rectangular selection over them.
  2. Choose the ‘Group’ tool in the editor menu, or use Ctrl + G (Win), Cmd + G (Mac) to group the selected elements together.
Cacoo menu for grouping shapes
Select more than one element, and the ‘Group’ function will be available.

To ungroup elements, use Ctrl + U (Win), Cmd + U (Mac), or choose ‘Ungroup’ in the editor menu.

How to change the relative position of an element in a group

  1. Click on the group once to select it (you’ll notice a blue box appear around it).
  2. Click again on the individual element you want to move.
  3. Mouse over the + sign in the middle of the element. When the pointer changes to four-directional arrows, click and drag the element to move it.
  4. When you release the element, its relative position has changed but it stays as part of the group.

Cacoo change shape position in grouped shapes

What happens when you resize a group of elements?

When you resize a group, each element’s size will be adjusted proportionally to the overall group. In addition, each element will keep its relative position in the group.

Resizing grouped shapes and images
Resizing the group may distort the individual elements in it.

To preserve the group’s width to height ratio, simply hold Shift while resizing.* This ensures that the ratio won’t be affected by size changes.

Hold Shift to maintain dimension while resizing

*Note: If it’s an imported image or the group contains an imported image, you do not need to hold Shift while resizing, to keep its original ratio. Holding Shift to maintain ratio only applies to Cacoo shapes.

Using resizing constraints to maintain the size of an element in a group

In some cases, you may want to preserve the size of an individual element while resizing the group.

Maintain shape size while resizing
In this example, the size of the visitor icon is fixed at the same size when the group is resized.

To keep an element in the group at the same size:

  1. Click the group once to select it.
  2. Click again on the element whose size you are preserving.
  3. In the editor menu, choose the ‘Resizing constraints’ option.Instructions to set resizing constraints
  4. Under the ‘Fix’ column, click on the checkboxes to fix the height (H) and width (W) of the element. This will keep the element at a fixed height, width, or both when the group is resized.

Instructions to set fixed width
When the checkboxes are enabled, a lock icon and green lines appear on the individual element, indicating that its height and width are locked.

Pin an element in a group to maintain its margin

Sometimes, you may want to maintain an element’s margin length in the group during resizing. This is where pinning comes in handy.

Check out the images below as an example.

Cacoo: Pinning an element in a group

In image A, the orange rectangle is not pinned, so its margins decrease proportionally when the group is made smaller.

In image B, the left and right sides of the orange rectangle are pinned, so it maintains a constant margin when the group is resized. 

How to pin an element in a group:

  1. Follow the same steps 1-3 above to open the ’Resizing constraints’ option.
  2. Under the ‘Pin’ column, the settings are for pinning the element to the group margins.
  3. Click on the respective dots to pin the left, right, top, or bottom margins of the element.

How to pin shape margins in a group


  • To maintain the size of an element in a group, use the Fix H and/or W options under ‘Resizing constraints’ in the editor menu.
  • To maintain the margin of an element in a group, pin it to the top, bottom, left, or right sides.

Now that you know the ins and outs of element grouping, give it a try in your Cacoo diagrams!


Subscribe to our newsletter

Learn with Nulab to bring your best ideas to life