Styling & Notes

Customize the appearance of your activity diagrams with colors, partitions, groups, and notes to make them more readable and informative.

Colors

You can specify a color for activities using the #color prefix before the action.

Activity Diagram Example
Loading...
Colors Example

Partitions

Group activities together by defining partitions. Partitions can have names and colors.

Activity Diagram Example
Loading...
Partitions Example

Colored Partitions

Activity Diagram Example
Loading...
Colored Partitions Example

Groups

Use group to organize activities without the visual partition box.

Activity Diagram Example
Loading...
Groups Example

Notes

Add notes to provide additional information about activities. Notes can be floating or positioned relative to activities.

Activity Diagram Example
Loading...
Notes Example

Arrows

Using the -> notation, you can add text to arrows and change their color and style.

Activity Diagram Example
Loading...
Arrows Example

Hidden Arrows

Use -[hidden]-> to create invisible connections for layout purposes.

Activity Diagram Example
Loading...
Hidden Arrows Example

Package, Rectangle, and Card

You can group activities using package, rectangle, or card keywords, similar to partitions.

Activity Diagram Example
Loading...
Package, Rectangle, and Card Example