Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: Ciediand on November 15, 2024, 06:01:25 pm

Title: Sequence UML loops question
Post by: Ciediand on November 15, 2024, 06:01:25 pm
Hi,

I have a question about sequence UML diagrams.

Say I have two timeline objects, A & B, and they are running processes in a loop such that data is returned between processes as follows:

A->B->A->B-> etc

How do I draw the return line from B->A ?

A->B can be a horizontal return line, but B->A would need to move upward to the start of the loop, violating the flow of time in the diagram. Is this ok or is there a standard approach I am missing?

Thanks in advance!
Title: Re: Sequence UML loops question
Post by: Richard Freggi on November 15, 2024, 08:38:39 pm
Take a look at combined fragments

https://sparxsystems.com/enterprise_architect_user_guide/17.0/modeling_languages/fragment.html (https://sparxsystems.com/enterprise_architect_user_guide/17.0/modeling_languages/fragment.html)