Legend:
Cyan - receive a message
Gray - perform a simple action
Yellow - take a decision
Magenta - send a message
Green - perform a procedure