nus-cs2103-AY2324S2 / forum

16 stars 0 forks source link

Reverse direction of control in sequence diagram possible? #1029

Closed cheahTJ closed 6 months ago

cheahTJ commented 6 months ago

With regards to this diagram, can I check if it can be drawn as such as the conventional and typical diagrams we always saw is the passing of control from the left to right, but in this case is right to left, from bar to foo. So is this possible?

Screenshot 2024-04-26 at 12 07 01 PM

damithc commented 6 months ago

@cheahTJ The direction can be left or right, provided they are horizontal and not angled up/down.

But yes, normally we start the interaction from a top left position, although it is not a rule.

cheahTJ commented 6 months ago

Got it thank you prof!