Sequence diagram. What would this look like?

Posted on 2009-02-21
Last Modified: 2013-11-24

I am trying to learn what a sequence diagram would look like. Let say I would like to do this on a tennisgame or something like that:

Use Cases:           Report Results
Preconditions:       the operator with "Administrator" is logged on
Normal Flow:          1. The use case starts when adm choose to report a machresultat.
                               2. Adm enter the match number.
                               3. The system displays the players' names.
                               4. Adm enter the result.
                               5. The system puts the winner in the match.
Alternative Flows:  At 2. Both players must be completed, but not the result, otherwise
                                ending the use case with a error from adm.
                                At 4. If the result is not properly terminated the usecase with a
                               error from the system.
                              At 5. If it is the finale, no new game play, but the winner shall be printed.

What would it look like? Is there some exaples I can look at or could you show me?

I am gonna do it in ms visio.
Question by:Mickeys
    LVL 96

    Expert Comment

    by:Bob Learned
    I used to use UML a lot in my previous job, but I have the same documentation requirement.  I don't find sequence diagrams to be very useful, but I do know how to do them.

    Hopefully, you can get some information like this:

    UML 2 Sequence Diagrams
    LVL 18

    Accepted Solution


    A sequence (interaction) diagram will show how each of your objects communicate with eachother in order to finish some specific task. It will show processes / methods and flow of messages between objects.

    In order to create your sequence diagram you will have to define your participants. These are the objects involved in a particular task.

    The Use Case above cannot really be used directly to translate into a sequence diagram. You have to break your design into the various components / classes in order to create a sequence diagram properly.

    I've attached just a quick diagram of how one might look.

    Let me know how you get on.



    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: HTML5 Specialist

    HTML5 development skills are critical to all developers. HTML5 is the foundation to almost any development process. That's why business, design studios, development shops and other organizations need HTML5 developers. Get your foot in the door as a HTML5 specialist.

    If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
    If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now