src/samples/3rdparty/basicconcept-syncliveavailability.msc
# found on
# http://leon.work.billydev.com/projects/billypds.core/tools/doc/sequence/
msc {
hscale="1.3", arcgradient="8";
# The entities
BILLY,YOU;
# Small gap before the boxes
|||;
# some arrows
YOU=>BILLY [ label = "call changes.xml?time=2012-01-01&availability=1 (*)", linecolor="green" ];
YOU<<BILLY [ label = "give back detail (33,44), and availability id's (22,33)", linecolor="gray" ];
YOU>>BILLY [ label = "call details.xml?id=33,44", linecolor="green" ];
YOU<<BILLY [ label = "give property details", linecolor="green" ];
YOU<=YOU [ label = "check status-field in response, and update properties", linecolor="green" ];
YOU<=YOU [ label = "check for new properties if any", linecolor="green" ];
YOU<=YOU [ label = "save properties in local database", linecolor="green"];
YOU>>BILLY [ label = "call availability.xml?id=22,33", linecolor="green" ];
YOU<<BILLY [ label = "give availability details", linecolor="green" ];
YOU<=YOU [ label = "save availability in local database", linecolor="green"];
|||;
BILLY rbox YOU [label="You are synchronized! Repeat every 15 minutes", textbgcolour="#7fff7f" ];
YOU=>>YOU [ label = "lean back, drink coffee" ];
}