[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-655556-105":59,"doc-detail-655556-en":131,"doc-similar-655556":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":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","sequence-diagrams-part-1-introduction-and-notations","Sequence Diagrams - Part 1 - Introduction and Notations","","Sequence Diagrams explains how sequence diagrams model dynamic interactions among software entities, focusing on logic flow across different abstraction levels such as business workflows, user story feature flow, and object-level interactions. It describes key diagram conventions including lifelines arranged horizontally, activation bars indicating object activity and duration, message arrows for asynchronous calls and return messages, and rules for object creation/deletion. It also covers self-messages for recursive or intra-object method calls and option fragments that execute only when a condition is true.",{"@graph":69,"@context":123},[70,84,106],{"@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-introduction-and-notations/655556/",{"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-introduction-and-notations/655556.png","ImageObject",300,407,{"name":92,"@type":93},"aboduw","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-25","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",16,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What is the purpose of a sequence diagram in software engineering?","Question",{"text":113,"@type":114},"A sequence diagram models dynamic interactions between software entities and shows the flow of logic in a system across different abstraction levels.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How do lifelines and activation bars work on a sequence diagram?",{"text":118,"@type":114},"A lifeline represents an interaction participant and is placed horizontally across the top. An activation bar is drawn on a lifeline to indicate when the object is active, with its rectangle length representing duration.",{"name":120,"@type":111,"acceptedAnswer":121},"When should return messages, self messages, and option fragments be used?",{"text":122,"@type":114},"Return messages indicate the receiver is done processing and gives control back. Self messages represent an object invoking operations on itself. Option fragments (opt) show sequences that execute only when a condition is true.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},655556,1793051492,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":146,"preview_page_count":19,"preview_urls":147},3985747862266,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","Sequence Diagrams  \nSWEN-261  \nIntroduction to Software Engineering  \nDepartment of Software Engineering Rochester Institute of Technology  \nThe sequence diagram is a basic tool for modeling dynamic interactions between software entities.  \n▪ They are used to model the flow of logic within your system  \n▪ Can be used at various levels of abstraction including:  \n• Business workflow  \n• User story feature flow  \n• Object-level interactions  We will look at this level.  \n▪ At any abstraction level, sequence diagrams captures the high-level information but not every detail  \n▪ The notation is simple to grasp  \n• Time progresses top to bottom  \n• Operations generally flow left to right  \n• Show method calls with parameters  \n• Show return values when important  \n• Can show creation and deletion of objects  \nSequence Diagram Notations-Lifeline  \nLifeline  \n▪ A lifeline represents an individual participant in the Interaction.  \n▪ They represent the different objects or parts that interact with each other in the system during the sequence.  \n▪ A sequence diagram is made up of several of these lifeline notations that should be arranged horizontally across the top of the diagram  \n▪ No two lifeline notations should overlap each other  \nSequence Diagram Notations – Activation Bars  \n▪ Activation bar is the box placed on the lifeline.  \n• It is used to indicate that an object is active (or instantiated) during an interaction between two objects.  \n• The length of the rectangle indicates the duration of the objects staying active  \n▪ An interaction between two objects occurs when one object sends a message to another.  \nSequence Diagram Notations – Message Arrows  \nAn asynchronous message is used when the message caller does not wait for the receiver to process the message and return  \n▪ A message can flow in any direction; from left to right, right to left or back to the Message Caller itself  \n• While you can describe the message being sent from one object to the other on the arrow, with different arrowheads you can indicate the type of message being sent or received.  \nSequence Diagram Notations – Return message  \n▪ A return message is used to indicate that the message receiver is done processing the message and is returning control over to the message caller  \n• Return messages are optional notation pieces, for an activation bar that is triggered by a synchronous message always implies a return message.  \nSequence Diagram Notations – Object creation and deletion  \nThe dropped participant box notation can be used when you need to show that the participant did not exist until the create call was sent  \nwhen object no longer needed, it can also be deleted by adding an ‘X’ at the end of the lifeline  \n▪ Objects do not necessarily live for the entire duration of the sequence of events  \n• Objects or participants can be created according to the message that is being sent.  \nSequence Diagram Notations – Self message  \n▪ A self message is a message that an object sends to itself.  \n• It is a message that represents the invocation of message of the same lifeline.  \n• A self message can represent a recursive call of an operation, or one method calling another method belonging to the same object.  \nSequence Diagram Notations – Self message  \n▪ A self message is a message that an object sends to itself.  \n• It is a message that represents the invocation of message of the same lifeline.  \n• A self message can represent a recursive call of an operation, or one method calling another method belonging to the same object.  \nSequence Diagram Notations – option fragment  \nOnly execute if condition == true  \n▪ The option (opt) fragment is used to indicate a sequence that will only occur under a certain condition, otherwise, the sequence won’t occur.  \n• It models the “if then”statement.","cbCaihCofa84BeoH","https://ap.wps.com/l/cbCaihCofa84BeoH","pdf",419054,15,"English","# Introduction to sequence diagrams\n## Abstraction levels and key conventions\n# Sequence diagram notations\n## Lifelines\n## Activation bars\n## Message arrows and return messages\n## Object creation and deletion\n## Self messages\n## Option fragment (opt)","[{\"question\":\"What is the purpose of a sequence diagram in software engineering?\",\"answer\":\"A sequence diagram models dynamic interactions between software entities and shows the flow of logic in a system across different abstraction levels.\"},{\"question\":\"How do lifelines and activation bars work on a sequence diagram?\",\"answer\":\"A lifeline represents an interaction participant and is placed horizontally across the top. An activation bar is drawn on a lifeline to indicate when the object is active, with its rectangle length representing duration.\"},{\"question\":\"When should return messages, self messages, and option fragments be used?\",\"answer\":\"Return messages indicate the receiver is done processing and gives control back. Self messages represent an object invoking operations on itself. Option fragments (opt) show sequences that execute only when a condition is true.\"}]","Sequence Diagrams - Part 1 - Introduction and Notations | PDF",1792962626,38,[148,152,155,159],{"page_no":8,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/8ed06a5c4d285642f176bb2e49ec345b.webp",983,552,{"page_no":14,"url":153,"width":154,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/e8cc31c8edf3f7633bc08856ebf08641.webp",982,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/5037d345149e6c8c6e81ea53e38ad645.webp",981,551,{"page_no":19,"url":160,"width":161,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/46dfbdf5174eb6a9490aac1b59262dec.webp",980,{"list":163,"token":66},[164,170,177,183,189,196,202,208,214,220],{"doc_id":165,"doc_title":166,"file_type":138,"home_preview_img_url":167,"slug":168,"view_count":39,"category_name":30,"create_tm":169},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=1796137199&Signature=kbPi6RPC7zcugeoSUfWLGkhzMGQ%3D","sequence-diagram-tutorial-chapter-4-use-cases-and-scenarios-uml-sequence-diagrams",1792962629,{"doc_id":171,"doc_title":172,"file_type":138,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":30,"create_tm":176},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=1796137199&Signature=5MRxEA%2Bgt2R4LYXkCKljWBtpe7w%3D","uml-sequence-diagrams-engineering-notebook-column-april-98",12,1792962636,{"doc_id":178,"doc_title":179,"file_type":138,"home_preview_img_url":180,"slug":181,"view_count":175,"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=1796137199&Signature=DN6SKhFKLdJXKcMOsMzI1MyXtWw%3D","uml-sequence-diagrams-introduction-notation",1792962639,{"doc_id":184,"doc_title":185,"file_type":138,"home_preview_img_url":186,"slug":187,"view_count":44,"category_name":30,"create_tm":188},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=1796137199&Signature=arHJl8p3d9BecBdTIkfqmfGL9H8%3D","chap56gl-eng1",1792963195,{"doc_id":190,"doc_title":191,"file_type":138,"home_preview_img_url":192,"slug":193,"view_count":194,"category_name":30,"create_tm":195},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=1796137199&Signature=kGKPgMMe8sVrOXatVfMuFcg%2BYI8%3D","how-to-develop-uml-sequence-diagram-with-keyboard-tutorial",11,1792964859,{"doc_id":197,"doc_title":198,"file_type":138,"home_preview_img_url":199,"slug":200,"view_count":52,"category_name":30,"create_tm":201},655702,"UML Sequence and Interaction Diagrams - Technical Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974776048/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796137199&Signature=JPypU7FOKfL9XDawQrx4g2HPuVs%3D","uml-sequence-and-interaction-diagrams-technical-guide",1792963375,{"doc_id":203,"doc_title":204,"file_type":138,"home_preview_img_url":205,"slug":206,"view_count":34,"category_name":30,"create_tm":207},655918,"Sequence Diagrams - Advanced Concepts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975294123/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796137199&Signature=q7RTiuEPDuSBxrvDUvznySu1UKk%3D","sequence-diagrams-advanced-concepts",1792964848,{"doc_id":209,"doc_title":210,"file_type":138,"home_preview_img_url":211,"slug":212,"view_count":29,"category_name":30,"create_tm":213},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=1796137199&Signature=HNq4L2rufbqYPrpFXFrprhV08XQ%3D","interactions-diagrams-use-case-realization-sequence-and-communication-diagrams",1792963517,{"doc_id":215,"doc_title":216,"file_type":138,"home_preview_img_url":217,"slug":218,"view_count":175,"category_name":30,"create_tm":219},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=1796137199&Signature=9qGq10VdXpFRJA9WS3yBaT3tfzc%3D","visual-paradigm-handbook-sequence-diagram-overview-of-uml-sequence-diagram-concepts",1792963364,{"doc_id":221,"doc_title":222,"file_type":138,"home_preview_img_url":223,"slug":224,"view_count":52,"category_name":30,"create_tm":225},655616,"Software Engineering - A Short Introduction to UML Sequence Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286124/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796137199&Signature=vcfUS7a3yyVUG9bA5Iav9%2FQkV%2Bg%3D","software-engineering-a-short-introduction-to-uml-sequence-diagrams",1792962882]