Connecting and arranging
You drag from one step to another to connect them, the designer draws the corners, and View → Auto arrange tidies the whole diagram without moving work between lanes. Trying it for this article found four things to fix: two kinds of overlapping lines, a drag that drew nothing, and a hint that was always in English.

A process is steps and the connections between them. In the designer you never draw a line yourself: you say which two steps are connected, and the designer works out how to draw it. This article covers connecting steps, the two connector styles, routing around steps, and Auto arrange.
We used the Two-Step Record Approval sample, from
samples/solutions/bpms-two-step-record-approval. Open its process, Two-Step Change Approval.
We saved nothing, so the sample stays as it was.
Connect two steps
Choose Connect in the palette on the left. Press on the step a connection should leave, drag to the step it should reach, and let go.

While you drag, a dashed line runs from the step you started on to the pointer. That line is new. Until we tried this for the article, nothing was drawn during the drag: the only sign that it was working was the hint at the top of the canvas changing. That hint was also always in English, even for a Persian or Arabic maker. It's translated now.
Let go over the step and the connection is there:

The tool stays on, so you can connect several pairs in a row. Press Esc, or V, to go back to selecting.
Look at where the new connection leaves Approve the change: on its left side, the same side Sent for approval arrives on. They used to share the middle of that side, so the two ran along the same line with an arrowhead half way along. The designer now spreads everything on a side, whichever way it goes, so they leave and arrive at two different points.
Two connector styles
Select the process itself, in the outline or by clicking an empty part of the canvas. Connector style is on its properties:

- Curved, the default. Each connection is a smooth curve from one step to the other.
- Right-angled. Each connection is made of straight lines with square corners.
It applies to the whole diagram, because a diagram that mixes the two looks like a mistake rather than a choice. The second option used to be called Orthogonal. It's Right-angled now in English, Spanish and French, which is what the other four languages already said.
Here's the sample with right-angled connectors:

Approved and Rejected both leave the right side of Approve the change and both go down. They used to turn at the same place and run down one shared line, so you couldn't tell which label belonged to which connection. Each now has its own line, and they never cross: the one that leaves higher turns later.
Routing around a step
Right-angled connections go around a step that's in the way. Curved ones don't. To see it, we moved Review and correct to the right, so the connection from Record created turns once:

Then we dropped a new task where that corner was:

The corner moves so the line passes beside the task rather than through it. You don't do anything; the designer re-routes every connection whenever a step moves.
There has to be room for it. A step squeezed into a gap narrower than itself can't be gone around, and the line passes behind it. The fix is to move the step.
A curve is drawn straight from one step to the other, wherever the steps around it are. In a crowded diagram that can make a connection look as if it goes somewhere it doesn't. The Leave Approval sample had exactly this: Tell Employee: Rejected sat just left of Tell Employee: Approved, and the curve from Rejected to the end passed through Approved, so the drawing read "rejected, then told it was approved". We moved the two steps apart in the sample.
Auto arrange
To tidy a diagram, choose View → Auto arrange. We made a mess first:

and arranged it:

Auto arrange lays the steps out left to right in the order the flow takes them, and every step stays in its own lane. It only moves steps sideways, then re-routes the connections. It never moves a step into another lane, because a step's lane is who does the work, and tidying a drawing mustn't change that.
It arranges by the connections, so it needs some. A diagram of steps that aren't connected yet has no order to arrange them in, and nothing moves.
Edit → Undo takes an arrangement back if you preferred your own.
A connection, as the process stores it
In the process document a connection is an edge: where it starts, where it ends, and how it is drawn.
{
"id": "edge-review-approve",
"source": "node-first-review",
"target": "node-second-approval",
"label": "Sent for approval",
"outcome": "sent_for_approval",
"routing": "orthogonal",
"points": []
}
source and target are what the run follows. label is the words on the line, and outcome ties the edge to a coform
button, as the shapes article explained; a branch's edge has a condition
instead. routing and points are only about drawing: points is empty because the designer works out the route each time,
which is why moving a step re-routes every line without you touching them. The document keeps the older name, orthogonal,
for what the menu now calls Right-angled.
Labels make a drawing read aloud
Select a connection to see its properties. Its label is optional on a plain sequence and essential everywhere a step has more than one way out:
- On a branch, label each way out with the answer it stands for: yes and no, over the limit and within it.
- On a coform button's connection, the label is the button's words, Approved and Rejected, so the drawing and the task say the same thing.
- On a plain line from one step to the next, leave it empty. Then on every arrow is noise.
A drawing whose every fork in the road is labelled can be read to somebody who has never seen the designer, which is the test of a good one.
Changing and removing connections
- Select a connection by clicking its line, or its entry in the problems panel when it has a problem.
- Delete removes it, after a confirmation. The two steps stay where they are.
- To move a connection to another step, delete it and connect again. That keeps every connection's meaning explicit: a connection is a choice about the flow, not a line to be dragged into place.
The problems panel says at once when a removal leaves something unreachable, or a branch with a single way out.
Layout habits
Auto arrange gives a tidy starting point; a few habits keep a diagram readable as it grows:
| Habit | Why |
|---|---|
| Flow left to right, in the order things happen | People read processes like a sentence |
| One lane per role, in the order work passes between them | The work's journey reads top to bottom as well |
| Right-angled connectors in a busy diagram | They route around steps; curves pass behind them |
| Loops back drawn below the main line | A return to an earlier step is easy to spot |
| Space between steps | Room for routing, and for a label on every way out |
The curve that passed through Approved in the Leave Approval sample is the reason for the third row. In a diagram of more than a handful of steps, a right-angled line can never look as if it goes somewhere it doesn't.
The keys
| Key | Does |
|---|---|
| The Connect tool | Start connecting |
| V | Back to selecting |
| Esc | Cancel a connection being drawn, or leave the tool |
| Delete | Remove what is selected, after confirming |
| Edit → Undo | Take back the last change, an arrangement included |
Questions that come up
Does the layout matter to the run? No. A run follows the connections, whatever they look like. Layout is for the people who read the drawing, which is reason enough to keep it tidy.
Will Auto arrange undo my careful layout? It moves steps sideways in their lanes, and Undo takes it back. Use it as a first pass, then nudge what needs it.
Can two connections join the same pair of steps? A step leads to another once per way out. Two buttons on one coform can lead to the same step, each with its own connection and label, when both outcomes continue the same way.
Try it
Switch Connector style to Right-angled, then drag a step into the middle of a connection and watch it move out of the way. Then choose View → Auto arrange. Close without saving to leave the sample as it was.
Next: branch conditions, the code that decides which way a branch goes.