follow.msc 405 B

12345678910111213141516
  1. msc {
  2. a [ label = "Alice" ],
  3. aa [ label = "Alice Server" ],
  4. bb [ label = "Bob Server" ],
  5. b [ label = "Bob" ];
  6. a -> aa [ label = "follow @bob@example.com" ] ;
  7. aa -> bb [ label = "POST Follow" ] ;
  8. aa <- bb [ label = "Ok 200" ] ;
  9. bb -> b [ label = "wait for approval" ];
  10. ...;
  11. b -> bb [ label = "approve" ];
  12. bb -> aa [ label = "POST Accept" ] ;
  13. bb <- aa [ label = "Ok 200" ] ;
  14. }