Search code examples
algorithmloopsfor-loopactivity-diagram

For loop in activity diagram


I'm have written a pseudo code for an algorithm and I would like to draw an activity diagram for it. However, I cannot find any source stating which notation to use for "for loops". I don't suppose it is the decision diamond.


Solution

  • While there is special loop task notation in BPMN, there is no special notation for loops in UML Activity Diagrams. The things to use are: decision node and guard condition

    See also: