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
- Double-click the element, or select it and press Enter or F2. You can also choose Rename in its tools or its menu.
- The name turns into a field, with the current text selected. Type the new name.
- 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
- Sequence diagrams: a note's text is edited in the Properties panel, not in place. See Sequence diagrams on the canvas.
- ER diagrams: you can also edit a column's type and an enum's values in place. See ER diagrams on the canvas.
- Flowcharts: an arrow with no label gets one where its label goes. See Flowcharts on the canvas.
Style text
Names, labels and notes can have bold, italic, code and struck text. You write the styles as in Markdown.
| Write | Drawn as | Shortcut while renaming |
|---|---|---|
**bold** | bold | ⌘ B |
*italic* | italic | ⌘ I |
`code` | code, in the code font, rose on a faint box | ⌘ E |
~~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
| Kind | Styled text |
|---|---|
| BPMN process | Names, labels and notes |
| Sequence diagram | Messages, notes and refs |
| ER diagram | Notes |
| Flowchart | Shape 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 * band a lone**stay as typed. _isn't a mark, so names likeorder_idkeep their underscores.