AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Sequence diagram online banking visio11/12/2022 ![]() Since we didn't build the use case diagram in this chapter, we need to create a Librarian actor we can use in our sequence diagram. It allows you to show how the user interacts with the computer system, and how the business objects within your application respond. Adding these elements to a sequence diagram gives your sequence diagram context. The next step in creating our sequence diagram is adding the actor to the diagram and a user interface placeholder class. Select the sequence diagram by clicking somewhere on its design surface, and then pressing Ctrl+V to paste the text onto the diagram.Ĭhange the font size of the text block ( I usually set it to 10 points), and then resize the textbox so it forms a tall, thin rectangle on the right side of the diagram as shown in the following image. Select all the text in the Documentation box and press Ctrl+C to copy it to the clipboard. Although this is a bit unconventional, it doesn't break the rules of the UML, but it provides a great reference when creating a sequence diagram and later understanding it.ĭouble-click the Check Out Media use case node in the Model Explorer, which launches the UML Use Case Properties dialog as shown in the following image. I often find it helpful to add a description of the use case I'm modeling to the sequence diagram. This step can be repeated for the total number of items a borrower can check out.īefore we get into the meat of the sequence diagram, let's first add some initial basic elements. The system responds by marking the media as "checked out". This is either entered manually or scanned from the media bar code. Here are the business rules for checking out media: the Borrower can only check out items if they have no overdue media, less than five articles checked out, and outstanding fines less than fifty dollars. The "checked out media" list includes due date and special indication for overdue media. This information includes the number of items they can borrow, unpaid fines, and a list of media checked out. The system displays the borrower's account. Here is the description for this use case: The Display Borrower Account use case is implemented here. The system responds by displaying the borrower's account. This is either entered manually or scanned from a library card. When you're done, click OK to save changes and close the Page Setup dialog.Īdding Use Case Text to the Sequence Diagramįirst of all, enter the explanation of the use into the Documentation box the explanation is the numbered list on page 105, also listed below: If your printer paper orientation is set to portrait, this will be shown in the image to the right of the Page Size tab. Then, under Page orientation, select Landscape. ![]() Select the Page Size tab, and under Page size select the Pre-defined size option. from the menu, which launches the Page Setup dialog as shown in the following image: If you want to do this, select File | Page Setup. I prefer to use landscape orientation for my sequence diagrams to give myself a little breathing room on the horizontal axis. Right-click this node, select Rename from the shortcut menu, and change the name to Check Out Media.īy default, the sequence diagrams drawing page orientation is the same as your printer paper orientation (either landscape or portrait). This opens a new, empty sequence diagram in Visio and adds a node named Sequence-1 to the Model Explorer. To create a new sequence diagram, right-click the Top Package node in the Model Explorer and select New | Sequence Diagram from the shortcut menu. A message sent to an object in a sequence diagram creates a new operation on the receiving object. ![]() Reading through the steps of your use case.Ĭreating business objects that carry out the use case.Īdding business objects to the sequence diagram, and deciding which objects should carry out each responsibility.Īdding messages between objects on the diagram. You can create a sequence diagram for each use case in your model, allowing you to model the behavior and collaboration between business objects in your application.Ĭreating a sequence diagram is a dynamic process that involves the following steps: The main tool for achieving this is the sequence diagram. ![]() ![]() Now that we have a basic idea of our data structure (and are agreeable to changing it as further analysis and design dictates), we're ready to create business object classes implementing the functionality of our "Check Out Media" use case. ![]()
0 Comments
Read More
Leave a Reply. |