UML sequence diagrams

First create a document with “UML Sequence” style (see also below a command driven way to create sequence diagrams).

The editor for sequence diagrams consists of 2 parts: an outline and graphic image. How to create a sequence diagram.

1. Create two or more timelines:

seq1Large

2. Double click a timeline caption to rename it:

seq2Large

3. Right-click a sequence area to add a message:

seq3Large

(or select Add Message from the drop down menu).

4. Select where the source and target are:

seq4Large

5. Build the diagram (Cmd+R):

seq5Large

6. Double click a Text cell to add a message:

seq6Large

Then you can add other messages or containers:

seq7Large

Drag messages to drop it into a container or change the order. Rebuild the diagram to see result. You can also drag and drop timeline columns:

seq8Large

For containers you can change a title:

seq9Large

There is also an option to switch between message and response.

You can change visual properties of a diagram as usual and they will be kept after re-build. See some Preferences in the Inspector:

seq10Large