Sequence Diagram


by XodoX
Tags: diagram, sequence
XodoX
XodoX is offline
#1
Nov26-12, 05:09 AM
P: 193
I'm having issues doing a sequence diagram for a program.

Like this format here:

http://upload.wikimedia.org/wikipedi...kEmail.svg.png

The scenario is the following:

Placing a bet - a customer places a bet for a game. The customer has to be logged into the system with his ID. He determines the bet ( amount of $ ), the ID of the game, and the expected winner. If the team is not participating, then a error message will be displayed accordingly. Otherwise, it will be checked if the customer has already placed a bet on the game.

Ok, there's more, but I think that's enough for my question.

So you have the customer box and the system box at the top.

So I have -> [ Input_stats] and the second arrow is <- [ Team not participating].

How do I do the 3rd arrow? I don't think you can just put it below the second one. Maybe create an extra box ? It would be <- [ checking_double].
So it's basically one requirement and two possible cases. I'm not sure how to display this in this diagram.
Phys.Org News Partner Science news on Phys.org
Simplicity is key to co-operative robots
Chemical vapor deposition used to grow atomic layer materials on top of each other
Earliest ancestor of land herbivores discovered

Register to reply

Related Discussions
Deriving Bending Moment Diagram from Shear Force Diagram. Interesting Observation Mechanical Engineering 12
Please check my state diagram for sequence detector Engineering, Comp Sci, & Technology Homework 0
Low mass post-main-sequence on HR diagram Astrophysics 6
How would I plot a A main sequence star of 0.5 solar masses on a H-R Diagram Introductory Physics Homework 0
energy of a sequence - absolutely summable sequence or square summable sequence Engineering, Comp Sci, & Technology Homework 0