For the complete documentation index, see llms.txt. This page is also available as Markdown.

Attaching Files & Images

You can share files with the AI to help it understand what you want: a hand-drawn sketch, a whiteboard photo, a screenshot of an existing diagram, or a document that describes a process or an architecture.

Supported Files

Kind
Formats
What the AI does with it

Images

PNG, JPEG, WebP, GIF, SVG

Reads nodes, connections, groups and labels, and rebuilds them as a diagram.

Documents

PDF

Reads the text and the page images, so a process description or a diagram inside a PDF both work.

Text

TXT, Markdown

Reads the text, for example a list of steps or a table of systems.

How to Attach a File

  • Paste from clipboard – Copy an image and press Ctrl+V (Windows) or Cmd+V (Mac) while focused on the chat input.

  • Click the attachment button – The + under the message box opens a file picker.

  • Use the slash command – Type /attach and pick a file.

The attachment appears as a thumbnail (images) or a file card (documents) next to your message before you send it. Click the eye icon on the card to preview what will be sent.

Attach a PDF and ask for a swimlane diagram of the process it describes

Attachments stay in the conversation: a follow-up question still sees the file you attached earlier in the same session.

What the AI Does with an Image

When you send an image along with a diagram-related request (for example, "Recreate this diagram"), the AI will:

  1. Analyze the image to identify nodes, connections, groups, and labels.

  2. Generate a diagram that matches the image as closely as possible. A board built from a dashboard or web page keeps the proportions and layout of the original instead of stacking everything in one column.

  3. Show you a preview so you can review it before applying. See Reviewing & Staging Changes.

What the AI Does with a Document

With a PDF or text file the AI reads the content and builds what you ask for from it: "Turn the process in this document into a swimlane diagram, one lane per role", "Draw the architecture described in chapter 3", or "Summarise this document as a slide deck". See Slide Decks.

Tips for Good Results

  • Crop the image before attaching it so the AI focuses on the diagram, not the surrounding page or background.

  • Make sure labels are legible. Handwritten text works, but clearer writing gives better results.

  • Combine an image with a prompt. Instead of just attaching, say what you want: "Recreate this as a flowchart" or "Use this as a reference for the layout, but with our standard shapes."

  • Iterate. If the first result isn't quite right, reply with corrections rather than starting over: "Move the database to the right" or "Rename the top node to 'API Gateway'."

Last updated