What I'm doing wrong?
This works well:
fork
|System|
repeat
:Update location to User;
repeat while (Approaching drop-off location?) is (not yet)
:Notify to user "Driver is approaching";
fork again
|Driver|
repeat
:Send current location;
repeat while (On the way?)
end fork
But this causes a broken image instead of a diagram:
fork
|System|
repeat
:Update location to User;
repeat while (Approaching drop-off location?) is (not yet)
:Notify to user "Driver is approaching";
fork again
|Driver|
while (On the way?)
:Send current location;
endwhile
end fork