English

User guide Building

Connections

Connect blocks, choose the kind of connection, label it and change its direction.

On this page

A connection is a line from one block to another, with an arrowhead at the end. It shows a call, a message or a flow of information.

Connect two blocks

  1. Select the Connect tool in the toolbar, or press C.
  2. Press on the first block and drag.
  3. Release on the second block.

A line follows your pointer while you drag. When you release on another block, the connection appears and is selected. A two-note rise plays when sound is on.

You can also start a connection with the Select tool. Point at a block: four ports appear on its edges. Drag from a port to another block.

Two blocks have at most one connection between them. If a connection already exists in either direction, dragging again between the same blocks does nothing. A block cannot connect to itself.

Kinds of connection

A new connection is a sync call. Change its kind in the inspector.

Kind Looks like Use it for
Sync call A solid line. A request that waits for an answer, such as an HTTPS call.
Async A dotted line. A message or event that does not wait, such as publishing to a topic.
Information flow A blue line with dashes that run towards the arrowhead. The flow a story is about. Keep it for the few connections that matter.

Information flows pause while anyone drags something, and they stop when the system asks for reduced motion.

Edit a connection

Select a connection to open it in the inspector. The inspector title is Connection, with the names of both blocks.

Field or button What it does
Label A short label in mono at the middle of the line, such as "HTTPS", "publishes" or "reads".
Kind Sync call, Async or Information flow.
Reverse direction Swaps the start and the end of the connection.
Delete connection Removes the connection.

Keep labels short. They must stay readable at 75% zoom.

Follow the connections of a block

When you select a block, its connections stay lit and the other connections fade. If the block is a container, the connections of everything inside it stay lit too. This helps you read one part of a busy canvas.

Delete a connection

Select the connection and press Delete or Backspace, or select Delete connection in the inspector. When you delete a block, its connections are deleted with it.