# Drawings

Drawings are [Excalidraw](https://excalidraw.com) files that live next to your
notes and keep [version history](/docs/restore#restore-an-old-version).

## Make a drawing

On the Files page, right-click an empty spot and pick **Draw**, or tap **+** on a
phone. Name it and start drawing. It saves as you go.

## Link a shape to a note

Select a shape, open the menu and pick **Link to note**. Click the shape to open
the note. Rename the note and the link follows.

## Put a drawing in a note

```md
![[sketch.excalidraw]]
![[sketch.excalidraw#Floor plan]]
```

The first line shows the whole drawing. The second shows only the frame named
"Floor plan", so you can show different frames in different notes.

## Draw with your AI

A [connected AI](/docs/mcp#draw) can draw for you. Ask it to "draw the sign-up
flow in `diagrams/signup.excalidraw`" or to "add a cache between the API and
the database". It adds shapes and arrows you can keep editing, lays them out,
and looks at the result before it answers. It can also turn a Mermaid
flowchart into a drawing.

## Export

- **Save as image** in the drawing menu exports PNG or SVG.
- **Download** in the file menu gives an `.excalidraw` file with its images
  inside. It opens at excalidraw.com.

## "Changed elsewhere"

Drawings don't merge like notes. If the drawing changes in another tab or on
another device while you have unsaved edits, MemoMori won't save over it. The
toolbar shows **Changed elsewhere**. Choose:

- **Save as copy** saves your version as a new drawing next to the first.
- **Download draft** saves your version to your computer.

With no unsaved edits, the drawing just reloads.
