[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-655563-105":59,"doc-detail-655563-en":134,"doc-similar-655563":156},{"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":127,"head_meta":129,"extra_data":131,"updated_unix":133},105,"en","sequence-diagrams-part-1-creating-sequence-diagrams-for-modelled-system","Sequence diagrams - Part 1 - Creating sequence diagrams for modelled system","","Software Engineering notes explaining how to draw UML sequence diagrams to visualize interactions between objects over time. It defines diagram layout rules, including object placement by execution order, optional actors that initialize tasks on the left, and time flow from top to bottom using lifelines and dotted lines. It details message types such as invocation, sending, return, creating, and destroying, then introduces blocks for conditions, optional execution, loops, and parallel/sequential behavior. It concludes with requirements to create diagrams per section for the modelled system.",{"@graph":69,"@context":126},[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-diagrams-part-1-creating-sequence-diagrams-for-modelled-system/655563/",{"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-diagrams-part-1-creating-sequence-diagrams-for-modelled-system/655563.png","ImageObject",300,407,{"name":92,"@type":93},"cryingin4k","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-29","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":44},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118,122],{"name":109,"@type":110,"acceptedAnswer":111},"How should objects and actors be positioned in a sequence diagram?","Question",{"text":112,"@type":113},"The upper part should contain the objects that participate in executions, placed one to another. Actors that initialize tasks should be placed on the left side (and before objects).","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What do lifelines and message types represent?",{"text":117,"@type":113},"Each object has a lifeline (a dotted line) showing when it exists. Interactions are shown as messages, including invocation (synchronous), sending (asynchronous), return, creating, and destroying.",{"name":119,"@type":110,"acceptedAnswer":120},"Which blocks can be used for more complex interactions?",{"text":121,"@type":113},"Use blocks such as ref (reference to another diagram), alt (alternative with condition met vs not met), opt (optional execution), loop, par (parallel execution), and seq (sequential execution, default behavior).",{"name":123,"@type":110,"acceptedAnswer":124},"What are the assignment requirements for the produced diagrams?",{"text":125,"@type":113},"Place the results in the element \u003Carticle id='sequence-diagrams'>, and create one diagram per each section of the modelled system.","https://schema.org",{"og:url":83,"og:type":128,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":130,"canonical":83},"index,follow",{"doc_id":132,"site_id":62},655563,1792962644,{"code":4,"msg":5,"data":135},{"doc_id":132,"user_id":136,"nickname":92,"user_avatar":137,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":138,"file_id":139,"file_url":140,"file_type":141,"file_size":142,"view_count":44,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":14,"language":143,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":144,"faqs":145,"seo_title":146,"seo_description":67,"update_tm":133,"read_time":24,"preview_page_count":14,"preview_urls":147},137458181193,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Software Engineering ✕ Sequence diagrams  \nAdam Krechowicz  \n1 Sequence diagrams  \nSequence diagrams allows to visualize interactions between objects in time.  \nUpper part of diagrams should consist of objects that take parts in executions. Objects should be placed one to another. Along with objects diagram can contain actors that initialize the task. Actors should be placed ✜rst, from the left hand side. On this diagram time is visualized as it ✢ow from top to bottom. It means that elements placed below are later in time.  \nEach object have its lifeline (dotted line) . It indicates the time when object lives.  \nBetween objects on diagram we can visualize interactions (messages sent between objects) . There are several types of messages:  \n􀀏 Invocation (synchronous message) ✕ can represents method invocation. In this case caller object is waiting for called object to complete the task. It is represented by solid line with triangular, ✜lled arrow.  \n􀀏 Sending (asynchronous message) ✕ represents sending some information between objects. In this case caller object do not need to wait for second object. It is represented by solid line with normal arrow.  \n􀀏 Return ✕ represents result returning. It is used to visualize that some method return value. It is represented by dashed line with normal arrow.  \n􀀏 Creating ✕ represents creating new object. It is represented by a solid line with ✓create✔ stereotype.  \n􀀏 Destroying ✕ represents object destroying. It is represented by a solid line with ✓destroy✔ stereotype.  \nIn order to visualize more complicated interactions (conditions, loops) blocks are used. Block is represented by a rectangle that group part of the diagram. There are following types of blocks:  \n􀀏 ref ✕ reference to other diagram  \n􀀏 alt ✕ alternative. Consists of two blocks separated by dashed line that represents the situation when the condition is met and when it is not met respectively.  \n􀀏 opt ✕ Option. It represents situation when some part is executed optionally.  \n􀀏 loop ✕ Loop.  \n􀀏 par ✕ represents part that can be executed parallelly.  \n􀀏 seq ✕ represents part that is executed sequentially. Default behaviour.  \n2 Tasks to complete  \n1. Create sequence diagrams for modelled system  \nResults should be placed in element \u003Carticle id=✑sequence-diagrams✑> . One diagram per each section.","cbCaiaK3iAVG8Tig","https://ap.wps.com/l/cbCaiaK3iAVG8Tig","pdf",69742,"English","# Sequence diagrams\n## Messages and lifelines\n## Blocks (ref/alt/opt/loop/par/seq)\n# Tasks to complete\n## Diagram placement and rules","[{\"question\":\"How should objects and actors be positioned in a sequence diagram?\",\"answer\":\"The upper part should contain the objects that participate in executions, placed one to another. Actors that initialize tasks should be placed on the left side (and before objects).\"},{\"question\":\"What do lifelines and message types represent?\",\"answer\":\"Each object has a lifeline (a dotted line) showing when it exists. Interactions are shown as messages, including invocation (synchronous), sending (asynchronous), return, creating, and destroying.\"},{\"question\":\"Which blocks can be used for more complex interactions?\",\"answer\":\"Use blocks such as ref (reference to another diagram), alt (alternative with condition met vs not met), opt (optional execution), loop, par (parallel execution), and seq (sequential execution, default behavior).\"},{\"question\":\"What are the assignment requirements for the produced diagrams?\",\"answer\":\"Place the results in the element \\u003carticle id='sequence-diagrams'\\u003e, and create one diagram per each section of the modelled system.\"}]","Sequence diagrams - Part 1 - Creating sequence diagrams for modelled system | PDF",[148,152],{"page_no":8,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/6d4fb9789efc7ac9076b7f052e1209cd.webp",983,1272,{"page_no":14,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/07b3184e954845e129eac71f650ffbac.webp",982,1270,{"list":157,"token":66},[158,164,170,176,183,189,196,202,208,214],{"doc_id":159,"doc_title":160,"file_type":141,"home_preview_img_url":161,"slug":162,"view_count":29,"category_name":30,"create_tm":163},655648,"Object-Oriented Software Engineering Practical Software Development using UML and Java - Chapter 8 - Modelling Interactions and Behaviour","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286609/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796163659&Signature=%2BgSxoeb02sSfF%2BHgjeVz2wY1amo%3D","object-oriented-software-engineering-practical-software-development-using-uml-and-java-chapter-8-modelling-interactions-and-behaviour",1792963009,{"doc_id":165,"doc_title":166,"file_type":141,"home_preview_img_url":167,"slug":168,"view_count":44,"category_name":30,"create_tm":169},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=1796163659&Signature=FZ%2ByKHPYOYF5dyRn6tMZvDtZQVw%3D","chap56gl-eng1",1792963195,{"doc_id":171,"doc_title":172,"file_type":141,"home_preview_img_url":173,"slug":174,"view_count":52,"category_name":30,"create_tm":175},655652,"Object-Oriented Software Engineering Practical Software Development using UML and Java - Chapter 8 - Lecture 11 - Interaction and State Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286672/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796163659&Signature=9IVafY5HpWnyqR1KG7sUdP4G3D0%3D","object-oriented-software-engineering-practical-software-development-using-uml-and-java-chapter-8-lecture-11-interaction-and-state-diagrams",1792963024,{"doc_id":177,"doc_title":178,"file_type":141,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":30,"create_tm":182},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=1796163659&Signature=prjAg7N%2F2aJVc7gC7Z1mNX5TM9o%3D","uml-sequence-diagrams-introduction-notation",12,1792962639,{"doc_id":184,"doc_title":185,"file_type":141,"home_preview_img_url":186,"slug":187,"view_count":39,"category_name":30,"create_tm":188},655558,"Sequence Diagram Tutorial - Chapter 4 - Use Cases and Scenarios - UML Sequence Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285279/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796163659&Signature=UTuGfc971Tnkb8bHZu8B4MwEZ24%3D","sequence-diagram-tutorial-chapter-4-use-cases-and-scenarios-uml-sequence-diagrams",1792962629,{"doc_id":190,"doc_title":191,"file_type":141,"home_preview_img_url":192,"slug":193,"view_count":194,"category_name":30,"create_tm":195},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=1796163659&Signature=I%2FZUzHY6%2F1QzvwezGTHkrPzcQFk%3D","papyrus-tutorial-how-to-use-sequence-diagrams-in-papyrus-mdt-version-01",15,1792962645,{"doc_id":197,"doc_title":198,"file_type":141,"home_preview_img_url":199,"slug":200,"view_count":181,"category_name":30,"create_tm":201},655696,"Visual Paradigm Handbook - Sequence Diagram - Overview of UML Sequence Diagram Concepts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975288090/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796163659&Signature=YE37I0JmYJvidk%2B%2FTn2rzIGJMuw%3D","visual-paradigm-handbook-sequence-diagram-overview-of-uml-sequence-diagram-concepts",1792963364,{"doc_id":203,"doc_title":204,"file_type":141,"home_preview_img_url":205,"slug":206,"view_count":181,"category_name":30,"create_tm":207},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=1796163659&Signature=yqSSMjRrSZRQ95MFx3WgSpoX1Dk%3D","uml-sequence-diagrams-engineering-notebook-column-april-98",1792962636,{"doc_id":209,"doc_title":210,"file_type":141,"home_preview_img_url":211,"slug":212,"view_count":44,"category_name":30,"create_tm":213},655589,"CHAPTER 13 - SEQUENCE DIAGRAMS - Introduction to Sequence Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285296/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796163659&Signature=7f09WS1F8TtGbVzSo9FoM4UswNc%3D","chapter-13-sequence-diagrams-introduction-to-sequence-diagrams",1792962756,{"doc_id":215,"doc_title":216,"file_type":141,"home_preview_img_url":217,"slug":218,"view_count":39,"category_name":30,"create_tm":219},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=1796163659&Signature=eN8f42vL1NEjoEO75ZrZVc9%2BtoI%3D","lecture-12-sequence-diagrams-collaboration-and-time",1792963779]