views:

470

answers:

1

I'm creating a sequence diagram and one of the classes is being observed by another class. The observed class is calling update in the observer every 5 seconds in a loop. I need to show this in the sequence diagram. Is there a way to show it looping indefinitely out of sequence as it were?

Or does it not make sense in the context of a sequence diagram; should I not include it? Or should I include it in a different type of diagram?

Thanks

Adam

+2  A: 

A box enclosing the message send arrow (and whatever else is inside the same repetitive construct).

See this tutorial for an example.

joel.neely