Rename and style text

Rename elements where they're drawn, and write bold, italic, code and struck text in names, labels and notes.

You rename an element in place, on the canvas, and can style parts of its text. This works the same in every kind.

Rename an element

  1. Double-click the element, or select it and press Enter or F2. You can also choose Rename in its tools or its menu.
  2. The name turns into a field, with the current text selected. Type the new name.
  3. Press Enter to save, or Esc to cancel.

New elements open for naming as soon as you add them, so you can type the name straight away.

Where text can run to several lines, such as a BPMN note or a flowchart shape, ⇧ Enter (Shift Enter on Windows and Linux) starts a new line.

What you can rename in a process

In a BPMN process this works for steps, arrows, lanes, pools, the process's name, messages, data, groups and notes.

  • On an arrow, the tool is called Edit label.
  • On a note on its own, it's Edit text. You edit the note's text where it's drawn.

Arrow labels matter most on the arrows leaving a decision. They're the answers to the gateway's question, such as "yes" and "no".

What differs in other kinds

Style text

Names, labels and notes can have bold, italic, code and struck text. You write the styles as in Markdown.

WriteDrawn asShortcut while renaming
**bold**bold⌘ B
*italic*italic⌘ I
`code`code, in the code font, rose on a faint box⌘ E
~~struck~~struck

A shortcut wraps the selected text in its mark. Pressed again on marked text, it takes the mark off.

The canvas and exported images draw the styles. The rename field and the code show the marks as you typed them.

Where styles work

KindStyled text
BPMN processNames, labels and notes
Sequence diagramMessages, notes and refs
ER diagramNotes
FlowchartShape labels, arrow labels and frame titles

Participant, table and column names stay as written.

How styles are drawn

The box behind code is a faint tint of the label's own colour. It shows on a plain shape, on the canvas, and on any colour you give an element.

On a red or pink element, or wherever rose would be too faint to read, the code letters keep the label's colour.

Rules

  • A mark only styles text it closes round. a * b and a lone ** stay as typed.
  • _ isn't a mark, so names like order_id keep their underscores.

On this page