Sequence diagrams are most commonly used by technical teams. TRY GLIFFY What is a Sequence Diagram Used For? To add a sequence diagram directly to your Confluence documentation, add Gliffy to your Confluence space (it's free for 30 days!): Sequence diagrams are an important type of application architecture diagram to include in technical documentation because they outline system requirements, making them a valuable planning, decision-making, and onboarding resource. Common Sequence Diagram Symbols and NotationĪ sequence diagram, also sometimes called an event diagram, is a type of UML interaction diagram that illustrates the interactions between objects in a system in the order that they occur.The arguments are added and presented on diagram. Click OK to close the windows and go back to diagram.If you add the third argument here, it will be ignored (as there are only two operations defined). Note that the two arguments are actually referring to the two parameters given by the operation. ![]() In the Call Action Specification window, click Add > Text.Edit the action type property by clicking on the button with dotted caption, next to Action type.Right-click on it and select Open Specification. Take the message createUser(name, password) as example. You can also specify the arguments of operations.Create messages setName and setPassword from lifeline registrationController to user.Select Create Message from Resource Catalog.Ĭreate message is created.Release the mouse button on the lifeline user.Press on the resource Resource Catalog and drag it out.Move the mouse pointer over the activation in lifeline registrationController. Therefore, we need to relate them with a create message. We say that registrationController creates the user lifeline. Relate lifeline registrationController and user.You can see that those are operation of classRegistrationController. This pops up a list of name that you can choose for the new sequence message.Move to lifeline registrationController and release the mouse button.Press on the Resource Catalog resource and drag it out.Move the mouse pointer over lifeline registrationUI. Let's model the method invocations between lifelines.The diagram will look like the following. Don't forget to select the appropriate classes for them. Create a Control Lifeline registrationController : RegistrationController and an Entity Lifeline user : User.In the Select Class window, select the RegistrationUI class and then click OK to confirm.Īfter that, the lifeline will look like the following.Right-click on the lifeline and select Select Class > Select Class.Enter registrationUI as the name of lifelife and then press Enter to confirm. ![]() ![]() Click on the diagram to create a boundary lifeline.Select Boundary Lifeline (B) from the diagram toolbar. ![]() This creates an empty UML sequence diagram. Keep the diagram name as provided and click OK to confirm.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |