BradleyIW
BradleyIW

Reputation: 1358

Drawing a while loop inside a UML Sequence Diagram?

I'm currently in the system design phase of my product. I'm using Microsoft Visio Professional 2013. My question is what is the best way to draw a while loop within a sequence diagram?

I have a few of these to create, I've attempted to create one already which is my perspective of what a while loop would look like, I am not sure and I don't want to carry on with disbelief it's right. If you could clarify/correct or give me pointers of the actual syntax needed, I would be very grateful. See below for my attempt.

My Attempt

EDIT 1: Tried Again (still not sure if this is right)

enter image description here

Upvotes: 2

Views: 11737

Answers (2)

xmojmr
xmojmr

Reputation: 8145

...or give me pointers...

Generally you should avoid creating UML models with picture drawing tools. All of the serious UML modeling tools I've evaluated were able to draw the UML things syntactically correct almost automatically (although some have tough RTFM requirements).

If you're looking for UML Sequence Diagram reference, then I use mostly uml-diagrams.org: Sequence Diagrams Reference (after reviewing uml-diagrams.org: UML Sequence Diagrams Examples)

See also

Upvotes: 3

asma Lri
asma Lri

Reputation: 619

The lifecycle of the system should be better drawn .You should widen it to make your diagram more representative and meaningful.

Upvotes: 1

Related Questions