Diagrams guide

How to draw a diagram from text on a whiteboard

Type the steps as Mermaid flowchart text and the board draws the boxes and arrows. A first diagram, how to change it later and when to draw by hand instead.

Diagrams · · 6 minute read

The short answer

  • Start with the first line "flowchart TD", then write one arrow per line, such as A --> B.
  • Keep the text in a doc beside the drawing, so the next change starts from words.
  • Draw by hand when the layout itself carries meaning, such as a floor plan.

A finished example

This is what the Flowchart template can look like once it is filled in. This one is for a small shop handling an online order.

An example made up for this guide. Your own board starts with the headings and prompts, and you add the notes.
Read the example as words
The board
Order arrives
Check the stock
In stock?
Pack and post
Order more
Tell the customer
How the boxes are joined
Order arrives leads to Check the stock
Check the stock leads to In stock?
In stock?, Yes, leads to Pack and post
In stock?, No, leads to Order more
Order more leads to Check the stock
Pack and post leads to Tell the customer

Type the steps and the board draws the boxes

To draw a diagram from text, write each step and each arrow as a line of Mermaid, a simple text format for diagrams. The board reads the lines and lays them out as shapes joined by arrows.

This guide is for people who find dragging boxes slow, or who already think in lists. You will end with a first flowchart drawn from six lines of text, and a way to change it without starting again.

Typing has two big advantages over drawing. It is fast, because you write the logic and the layout happens for you. It is also tidy, because every box lines up and every arrow joins where it should.

It has one limit worth knowing at the start. On doodleboard, Diagram from text reads Mermaid flowcharts: boxes, decisions and the arrows between them. Other Mermaid diagram types are not drawn, so this guide sticks to flowcharts.

The feature is in the insert menu on every doodleboard plan, including Free. The result is ordinary shapes and connectors, which you can move, recolour and write on like anything else.

A first diagram in six lines

Your first diagram takes about ten minutes, most of it deciding the steps.

  • Write the steps in plain words on paper or in a doc first. Aim for five to eight.
  • On doodleboard, choose More, then Diagram from text (Mermaid). A box opens with a short sample in it.
  • Clear the sample. Type flowchart TD as the first line. TD means top down; LR means left to right.
  • Give each step a short code, with its words in square brackets. Join steps with an arrow: A[Call comes in] --> B[Check the diary].
  • Put a question in curly brackets and label each way out. Write B --> C{Slot free}, then C -->|Yes| D[Book it].
  • Select Add to the board. If a line cannot be read, the box says what is wrong and stays open.
  • Draw a frame round the result and give it a title.

Before you close anything, copy your text into a doc beside the diagram. Once drawn, the shapes no longer follow the text. Keeping the text means the next change starts from a few edited lines.

If you would rather start from a hand-drawn layout, the Flowchart template has start, step and decision shapes ready to fill in. Choose More, then Template, to find it.

A dental reception desk maps late cancellations

Take the reception team at a dental practice, as an example. Three receptionists handled late cancellations differently, and patients got different answers on different days.

The practice manager wrote the steps as text during a twenty-minute meeting, reading them aloud as she typed:

  • flowchart TD
  • A[Patient cancels] --> B{Less than 24 hours notice}
  • B -->|No| C[Cancel and offer a new slot]
  • B -->|Yes| D{Second late cancellation this year}
  • D -->|No| E[Log it and offer a new slot]
  • D -->|Yes| F[Explain the fee and log it]
  • E --> G[Offer the gap to the waiting list]
  • C --> G

The board drew eight boxes, two of them diamonds, with each arrow out of a diamond labelled. One receptionist spotted a gap at once: nobody knew who rang the waiting list. The manager added one line, G --> H[Senior receptionist rings the next patient], and drew the diagram again.

She deleted the first version, kept the final text in a doc titled "Late cancellation steps, agreed 4 March", and framed both together. New staff now read the diagram on their first day.

Snags with text diagrams and how to clear them

Most problems with diagrams from text come from the text, not the drawing. Four come up again and again.

Forgetting the first line. The box expects the text to start with flowchart or graph, then a direction. Without it, nothing is drawn. The error message tells you, so add the line and try again.

Reusing a code by accident. If two different steps are both called B, the board treats them as one box. Arrows then meet in odd places. Use A to Z in order, or short words like start, check and book.

Too many steps at once. A diagram with thirty boxes is hard to read on any screen. Split it. Draw the main path as one diagram, and each detailed branch as its own, with a sticky note pointing between them.

Editing the shapes and the text separately. Someone tweaks a box on the board, then someone else redraws from the old text and the tweak is lost. Agree that the text in the doc is the master copy. Change it first, then draw again and delete the old version.

What the board adds once the shapes are drawn

A diagram drawn from text is only the start. The board makes it something a group can check and agree.

On doodleboard, the shapes and arrows are ordinary board items. Arrows are connectors, which stay joined when you move a box. You can change a box's colour or size, or add a sticky note beside a step with a question.

Comments let people raise doubts without redrawing anything. Pin a comment on a diamond, such as "What about emergency patients?", and reply under it. Mark it as resolved when the text is fixed. Comments are on every plan.

To walk a group through it, put the diagram in a frame and select Present in the session bar. Everyone on the board sees the same frame. Run the conversation on your video call beside the board.

Remember who can change it. On Free and Solo, only the account holder edits, so you type the text and redraw. On Team, anyone with a seat can.

Solo and Team also let you describe a process in words or by voice and have doodlebot draw the diagram. Typing the text yourself is on every plan.

When drawing by hand works better

Text suits diagrams where the order of steps is the point. It suits them less when the position of things on the page carries the meaning.

Draw by hand when:

  • The layout is physical, such as a room plan, a stall layout or a seating chart.
  • You want boxes grouped into lanes for each person or team. The text format draws one connected flow and leaves out lane groupings.
  • The diagram is a rough sketch for a five-minute chat, and nobody will keep it.
  • The group is working it out live and moving boxes as they talk.

Use text when:

  • The steps will change often and you want each change to be quick.
  • The diagram has more than about ten steps, where tidy lines save real time.
  • You want a written record of the logic that a person can read without the picture.

Many teams use both. They sketch by hand in the meeting, using shapes and the Connector tool, then write the agreed version as text afterwards. The sketch helps them think, and the text keeps the result easy to update.

Questions people ask

What kinds of Mermaid diagram does doodleboard draw?

Flowcharts. The text starts with flowchart or graph and a direction, such as TD or LR. Boxes, rounded steps, decision diamonds, circles and database shapes are drawn, with plain, dashed and labelled arrows.

Can I edit the diagram after the board draws it?

Yes. Each step becomes a shape you can move, resize and write on, and the arrows are connectors that stay joined. The shapes do not follow later changes to the text, so redraw for bigger changes.

Do I need to know Mermaid before I start?

Not beforehand. You need three patterns: a box in square brackets, a decision in curly brackets and an arrow made of two dashes and a greater-than sign. The box on doodleboard opens with a short sample to copy.

Is the diagram from text feature free?

Yes. Diagram from text is in the insert menu on every doodleboard plan, including Free with no card. Having doodlebot draw a diagram from your words or voice needs Solo or Team.

Features: More than sticky notes

Put it on a shared whiteboard

Start for free with one board and up to three people, or try every feature for 7 days.

Start for freeSee pricing