How to express loops in Communication Diagrams?

Posted by devoured elysium on Stack Overflow See other posts from Stack Overflow or by devoured elysium
Published on 2010-06-06T19:32:47Z Indexed on 2010/06/06 22:22 UTC
Read the original article Hit count: 635

Filed under:
|
|
|

I'd like to know how to express in a Communication Diagram something like:

foreach (User user in UsersCatalog) {
    list.add(user.getId());
}

I actually have something like the following

alt text

(Utilizador = User)

but as you'll notice it does not represent well the fact that I am doing something like a loop.

How can I accomplish this?

© Stack Overflow or respective owner

Related posts about c#

Related posts about java