# Drawing that behaves the way you expect

> Double click, Enter and Escape do the obvious thing, services resize with a grip, icons stay centred, labels go where you want, and grid and snap are clear switches.

## Key takeaways

- Double click, Enter and Escape now do the obvious thing.
- Resize a service with a grip, or pick a set size in one tap.
- Icons stay centred in their box, and you choose their size and place.
- Grid and snapping are clear switches you can turn on and off.

A good architecture diagram editor gets out of your way. This week we went through the everyday moves, selecting, sizing, placing and snapping, and made each one do what you would expect. Today: the small things you do a hundred times a day.

## Selecting and opening things

Before, getting to an item's settings took a hunt. Now double click (or double tap) a service or rail to open the inspector. Double click a label or a container's name tab to rename it in place.

- **Enter** opens the inspector for what you have selected.
- **Ctrl or Cmd + A** selects everything that is not locked.
- **Escape** first cancels what you are doing (placing, drawing, a rail, a menu), and only then clears the selection.
- The inspector's × closes the inspector and keeps your selection.

Containers got easier too. Select one by its name tab, then drag anywhere on its body to move it with everything inside. An unselected container lets clicks through, so you can still pick the services inside it.

## Select many, and the quick bar

**On a touch screen:** turn on **Select many**. Tap items to add or remove them, or draw a box with one finger. Two fingers still move the view.

Select anything and a quick bar appears beside it with what you change most: colour, size, words, Duplicate, Delete and Lock. A locked item stays put, and clicks pass through it, so a big background container can no longer be dragged by accident.

## Sizes that make sense

A selected service now has a size grip on the corner away from its label. Drag it and the service grows or shrinks about its centre, between 50% and 300%. For a set size, open **Size and icon** on the quick bar and pick Small, Medium, Large or Extra large. **Reset to default** takes you back to Medium.

We also fixed a long-standing annoyance: a service's icon could drift out of its box when the box was small. The icon and name are now always centred, and the box is just a frame. You choose the **Icon size** (Small, Medium or Large) and the **Icon place** on a nine-dot pad.

## Labels where you want them

A service's name can sit inside its box or in any of eight places round it, chosen on the **Label place** pad. A container's name tab has 17 places, inside or outside its border.

## Grid and snap, on or off

**On a computer:** the status bar under the canvas now says what is on in plain words: GRID ON, SNAP ON, SNAP SHAPES ON. Click one to switch it. Snap shapes lines a dragged item up with its neighbours and shows a guide; hold Alt to move freely. **On a phone:** the same switches are in More ▸ Show.

**Keep placing** is now off by default, so you place one item and are back to selecting. Turn it on to place several in a row; a yellow band reminds you, with Done to stop.

Why we did all this: the more predictable the basics are, the more attention you have for the architecture itself.

---

**Try it:** open [archhy.com/app](https://archhy.com/app), place a service and drag its grip.

Yesterday: [a faster canvas that works on your phone](https://archhy.com/blog/faster-canvas-architecture-diagrams-on-phone). Tomorrow: [rails, shapes and callouts](https://archhy.com/blog/rails-shapes-and-callouts-in-archhy).

## Frequently asked questions

### How do I resize a service in archhy?

Select it and drag the size grip on its corner, or pick Small, Medium, Large or Extra large in the quick bar's Size and icon.

### How do I select several items on a phone or tablet?

Turn on Select many, then tap each item or draw a box round them with one finger.

### Can I hide the grid but keep snapping?

Yes. Grid and snap are separate switches, so you can hide the dots and still snap to them.
