This mini-tutorial consists of a single composite slide (with multiple diagrams) and a video of the example executing in Cameo Simulation Toolkit®
. The diagrams are for Systems Modeling Language (SysML®) but the same works in Unified Modeling Language (UML®).
Ah, the good old zealous flame wars about the pros and cons of method chaining! Whether you prefer to love or leave it as a coding strategy, what is sure is that it can make Activity Diagrams that use CallBehaviorAction much easier to read and can help reduce the need for Forks everywhere.
We'll be exploiting this common-sense capability of Cameo Simulation Toolkit® (which is not completely specified in the UML-2.5.1 spec):