[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-655558-105":59,"doc-detail-655558-en":130,"doc-similar-655558":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","sequence-diagram-tutorial-chapter-4-use-cases-and-scenarios-uml-sequence-diagrams","Sequence Diagram Tutorial - Chapter 4 - Use Cases and Scenarios - UML Sequence Diagrams","","Sequence Diagram Tutorial outlines how UML use cases and scenarios translate into UML sequence diagrams. It defines use cases as collections of interactions and distinguishes primary and secondary scenarios, then describes scenarios as individual event flows in a single system execution. The tutorial explains sequence diagrams as message-flow visualizations between objects, emphasizing time ordering, concurrent processes, and activations. It details key diagram elements such as participants, messages, axes, lifelines, creation and deletion, return arrows, and method-call indicators like activation boxes.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/sequence-diagram-tutorial-chapter-4-use-cases-and-scenarios-uml-sequence-diagrams/655558/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/sequence-diagram-tutorial-chapter-4-use-cases-and-scenarios-uml-sequence-diagrams/655558.png","ImageObject",300,407,{"name":92,"@type":93},"cksankcs","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-25","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":39},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is the relationship between a use case and a scenario in UML?","Question",{"text":112,"@type":113},"A use case is a collection of interactions between external actors and a system. A scenario is one path or flow through a use case that describes the sequence of events during a specific execution.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What does a UML sequence diagram primarily show?",{"text":117,"@type":113},"It describes the flow of messages, events, and actions between objects. It highlights time ordering, concurrent processes, and activations to clarify logical behavior.",{"name":119,"@type":110,"acceptedAnswer":120},"How do sequence diagrams represent object lifetimes and method activity?",{"text":121,"@type":113},"Object creation is shown with an arrow labeled with 'new' above it, and lifelines are dashed vertical lines. Method execution is indicated with a thick activation box over the object's lifeline while its method is on the stack.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},655558,1793051492,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":39,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145,"preview_page_count":19,"preview_urls":146},3985747882755,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","Sequence Diagram Tutorial  \nFrom:  \nUML Distilled, Third Edition, Chapter 4  \nM. Fowler  \nUse Cases and Scenarios  \n• A use case is a collection of interactions between external actors and a system  \n• In UML, a use case is “the specification of a sequence of actions, including variants, that a system (or entity) can perform, interacting with actors of the system.”  \n• Typically each use case includes a primary scenario ( or main course of events) and zero or more secondary scenarios that are alternative courses of events to the primary scenario.  \n• In RUP (Rational Unified Process), user requirements are captured as use cases that are refined into scenarios.  \n• Then: A scenario is one path or flow through a use case that describes a sequence of events that occurs during one particular execution of a system.  \nUML Sequence Diagrams  \n• Describe the flow of messages, events, actions between objects  \n• Show concurrent processes and activations  \n• Show time sequences that are not easily depicted in other diagrams  \n• Typically used during analysis and design to document and understand the logical flow of your system  \nEmphasis on time ordering!  \nSequence Diagram Key Parts  \n• participant: object or entity that acts in the diagram  \n– diagram starts with an unattached \"found message\" arrow  \n• message: communication between participant objects  \n• the axes in a sequence diagram:  \n– horizontal: which object/participant is acting  \n– vertical: time (down-> forward in time)  \nSequence Diagram (make a phone call)  \nRepresenting Objects  \nSquares with object type, optionally preceded by \"name :\"  \n– write object's name if it clarifies the diagram  \n– object's \"life line\" represented by dashed vert. line  \nMessages Between Objects  \nmessages (method calls) indicated by arrow to other object  \n– write message name and arguments above arrow  \nMessages, continued  \nmessages (method calls) indicated by arrow to other object  \n– dashed arrow back indicates return  \n– different arrowheads for normal / concurrent (asynchronous) calls  \nLifetime of objects  \ncreation: arrow with 'new' written above it  \n– notice that an object created after the start of the scenario appears lower than the others  \ndeletion: an X at bottom of object's lifeline  \n– Java doesn't explicitly delete objects; they fall out of scope and are garbage-collected  \nIndicating method calls  \n• activation: thick box over object's life line; drawn when object's method is on the stack  \n– either that object is running its code, or it is on the stack waiting for another object's method to finish","cbCaivLpf89kRS9N","https://ap.wps.com/l/cbCaivLpf89kRS9N","pdf",657307,17,"English","# Use Cases and Scenarios\n## UML Sequence Diagrams\n## Sequence Diagram Key Parts\n## Representing Objects\n## Messages Between Objects\n## Lifetime of Objects\n## Indicating Method Calls","[{\"question\":\"What is the relationship between a use case and a scenario in UML?\",\"answer\":\"A use case is a collection of interactions between external actors and a system. A scenario is one path or flow through a use case that describes the sequence of events during a specific execution.\"},{\"question\":\"What does a UML sequence diagram primarily show?\",\"answer\":\"It describes the flow of messages, events, and actions between objects. It highlights time ordering, concurrent processes, and activations to clarify logical behavior.\"},{\"question\":\"How do sequence diagrams represent object lifetimes and method activity?\",\"answer\":\"Object creation is shown with an arrow labeled with 'new' above it, and lifelines are dashed vertical lines. Method execution is indicated with a thick activation box over the object's lifeline while its method is on the stack.\"}]","Sequence Diagram Tutorial - Chapter 4 - Use Cases and Scenarios - UML Sequence Diagrams | PDF",1792962629,43,[147,151,154,158],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/9a2c74ed2ced6cd87196c59e578e28e7.webp",983,736,{"page_no":14,"url":152,"width":153,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/90a192be687dec419e410ff61bb0ec44.webp",982,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/710da1e71d5a48a9b426ac76ec197a1b.webp",981,735,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/e5be4c967365eb3a32cdc496b4dddfd7.webp",980,734,{"list":163,"token":66},[164,171,177,184,190,197,203,209,216,222],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":30,"create_tm":170},655561,"UML Sequence Diagrams - Engineering Notebook Column - April, 98","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285299/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=NC6k%2FBCFNglg7GKVn3kmv4AOtmk%3D","uml-sequence-diagrams-engineering-notebook-column-april-98",12,1792962636,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":34,"category_name":30,"create_tm":176},655700,"UML Sequence Diagrams - Interaction Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974776062/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=bh1gNmHYDpmiuhqpbodHZ0AKWYw%3D","uml-sequence-diagrams-interaction-diagrams",1792963371,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":30,"create_tm":183},655564,"Papyrus Tutorial - How to use Sequence Diagrams in Papyrus MDT - Version 0.1","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285319/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=8adUXKH6Dy9m9lGZGBScPYRJWqw%3D","papyrus-tutorial-how-to-use-sequence-diagrams-in-papyrus-mdt-version-01",15,1792962645,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":44,"category_name":30,"create_tm":189},655682,"Chap56GL - eng(1)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975287376/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=8QzDhFxYwgps%2F9hYYxLxiMB8J9E%3D","chap56gl-eng1",1792963195,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":195,"category_name":30,"create_tm":196},655556,"Sequence Diagrams - Part 1 - Introduction and Notations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285263/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=Qm%2FpvUHXC9WEBRaaHNbZZQlaXMc%3D","sequence-diagrams-part-1-introduction-and-notations",16,1792962626,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":52,"category_name":30,"create_tm":202},655764,"Tutorial N°04 - UML diagrams (dynamic view)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975288919/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=drXZpcVKSlPTNgtHhCjoFptcYYo%3D","tutorial-n04-uml-diagrams-dynamic-view",1792963628,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":169,"category_name":30,"create_tm":208},655562,"UML-Sequence Diagrams - Introduction - Notation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285301/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=5dulgJj%2BuJY5nsCDQW%2BesWOnl84%3D","uml-sequence-diagrams-introduction-notation",1792962639,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":214,"category_name":30,"create_tm":215},655922,"How to Develop UML Sequence Diagram with Keyboard? - Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975294162/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=ihoZpQls2m7xd6bqRy8Tqd3Xhm8%3D","how-to-develop-uml-sequence-diagram-with-keyboard-tutorial",11,1792964859,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":39,"category_name":30,"create_tm":221},655787,"Lecture 12 - Sequence Diagrams - Collaboration and Time","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975290000/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=aD9DEqpFWs21X%2Fji%2BPa1Y%2FRT6ns%3D","lecture-12-sequence-diagrams-collaboration-and-time",1792963779,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":29,"category_name":30,"create_tm":227},655735,"Interactions Diagrams - Use Case Realization - Sequence and Communication Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975288564/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=DDqPspAMW9nRGMsqLPuyE4a%2Foxc%3D","interactions-diagrams-use-case-realization-sequence-and-communication-diagrams",1792963517]