Skip to content

2. draw.io Basics

draw.io (also called diagrams.net) is a free diagramming tool that runs in your browser. We'll use it to draw flowcharts — pictures of the same logic you write in pseudocode.

Four shapes cover almost everything we'll need:

Shape Name Means
Oval Terminator Start or end of the program
Rectangle Process One step or action
Diamond Decision A yes/no question that branches
Arrow Flow line Which step happens next

To get started:

  1. Go to app.diagrams.net and choose Create New Diagram → Blank Diagram.
  2. On the left, open the Flowchart shape category.
  3. Drag shapes onto the canvas; double-click a shape to type a label into it.
  4. Drag from the edge of one shape to another to connect them with an arrow.

Save your work with File → Save As, or File → Export As → PNG if you want an image to drop into a document.

Try it

Open draw.io, drag one oval and one rectangle onto the canvas, connect them with an arrow, and label them "Start" and "Wake up."

Tip

Hold Shift while dragging to keep shapes lined up. You can always undo with Ctrl+Z if a connection goes to the wrong place.

Next: Sequence →