[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-655916-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-655916-en":130,"doc-similar-655916":171},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","uml-20-sequence-diagrams-semantics","UML 2.0 Sequence Diagrams' Semantics","","Scenario languages play a central role in software development by capturing typical usage scenarios, forbidden behaviors, and test cases as graphical depictions. UML introduced Sequence Diagrams under a formal modeling framework, and the UML 2.0 revision significantly increased their expressive power. Despite this progress, the specification lacked a precise semantics, motivating this technical report to present the defined semantics, identify and categorize current problems, and survey existing formal proposals.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/uml-20-sequence-diagrams-semantics/655916/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/uml-20-sequence-diagrams-semantics/655916.png","ImageObject",300,407,{"name":42,"@type":43},"xXChrisXx","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-26","2026-10-25",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",8,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What problem does the paper highlight about UML 2.0 Sequence Diagrams?","Question",{"text":63,"@type":64},"It highlights that UML 2.0 significantly changed Sequence Diagrams and increased expressiveness, but the work was carried out without defining a precise, complete formal semantics for the language.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What does the paper aim to do?",{"text":68,"@type":64},"The paper categorizes issues found or reported with the current UML specification, reviews proposed formal semantics, and explains how different approaches address those problems.",{"name":70,"@type":61,"acceptedAnswer":71},"Which specification parts does the paper use to describe Sequence Diagrams?",{"text":72,"@type":64},"It summarizes relevant parts from the UML Infrastructure and UML Superstructure specifications, noting that Interactions have a defined syntax and semantics, while Sequence Diagrams provide a concrete notation for depicting them.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},655916,1793073073,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":55,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145,"preview_page_count":102,"preview_urls":146},8796112263567,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","UML 2.0 Sequence Diagrams' Semantics  \nZoltán Micskei1, Hélène Waeselynck2  \n1Dept. of Measurement and Information Systems,  \nBudapest University of Technology and Economics  \n2LAAS–CNRS, Université de Toulouse  \nAbstract: Scenario languages are widely used in software development. Typical usage scenarios, forbidden behaviors, test cases and many more aspects can be depicted with graphical scenarios. Scenario languages were introduced into the Unified Modeling Language (UML) under the name of Sequence Diagrams. The 2.0 version of UML changed Sequence Diagrams significantly, the expressiveness of the language was highly increased. However, it was carried out without defining a precise semantics for the language. This paper presents the semantics defined in the specification, collects and categorizes the problems with the current approach, and gives a survey of proposed formal semantics for Sequence Diagrams.  \nKeywords: UML 2.0, Sequence Diagrams, semantics  \nTechnical report number: 08389, August 2008.  \nThis work was partially supported by the ReSIST Network of Excellence (IST 026764) funded by the European Union under the Information Society Sixth Framework Programme.  \nA revised version of this report appeared in: Z. Micskei and H. Waeselynck. The many meanings of UML 2 Sequence Diagrams: a survey, Software and Systems Modeling, Springer, DOI:10.1007/s10270-010- 0157-9, 2010,  \n1 Introduction  \nScenario languages are widely used in software development. Typical usage scenarios, forbidden behaviors, test cases and many more aspects can be depicted with graphical scenarios. Several language variants were proposed over the years. The International Telecommunication Union’s (ITU) Message Sequence Chart (MSC) [6] was one of the first of such languages. It is widely used, since its first introduction in 1993 it was updated several times, and the specification defines also a formal semantics for the basic elements of the language based on process theory. Triggered Message Sequence Charts (TMSC) [8] proposed extensions to MSC to express conditions and refinement in a precise way. Live Sequence Charts (LSC) [9] concentrated on distinguishing possible and necessary behaviors. A special technique and a tool, the Play-Engine, were also developed for LSC to specify reactive systems [10] .  \nScenario languages were introduced into the Object Management Group’s (OMG) Unified Modeling Language (UML) [1] under the name of Sequence Diagrams. The 2.0 version of UML changed Sequence Diagrams significantly. Several elements were borrowed from MSC, many new complex elements were added to the language, the semantics and the underlying metamodel were rewritten. The expressiveness of the language was highly increased. However, this was carried out without defining a precise semantics for the language. This could lead to serious problems, as it is easy to create hard to interpret diagrams, as pointed out by several papers since the publication of the specification.  \nWe are currently working on the definition of testing languages for mobile systems based on UML Sequence Diagrams. When we tried to define the semantics of our extensions, we encountered the problem that there is no complete, formal semantics for Sequence Diagrams. Several approaches were proposed, but as far as we know, no one tried to collect all the reported problems, and there is no semantics, which covers all parts of the language. Thus, our aim with this paper is to (i) categorize the problems we found or have been reported with the current specification, (ii) review the proposed formal semantics and (iii) see how the problems are addressed in the approaches.  \nThe paper is divided into the following parts. Section 2 presents the syntax and semantics as defined in the OMG specification. We tried to highlight those parts, which are usually missing from published overviews about Sequence Diagrams, e.g. the complete abstract syntax or the mapping between the concrete and abstract syn","cbCaikN4zAm0QSbR","https://ap.wps.com/l/cbCaikN4zAm0QSbR","pdf",2979104,54,"English","# Introduction\n# Sequence Diagrams' description in the specification\n## Syntax of Sequence Diagrams","[{\"question\":\"What problem does the paper highlight about UML 2.0 Sequence Diagrams?\",\"answer\":\"It highlights that UML 2.0 significantly changed Sequence Diagrams and increased expressiveness, but the work was carried out without defining a precise, complete formal semantics for the language.\"},{\"question\":\"What does the paper aim to do?\",\"answer\":\"The paper categorizes issues found or reported with the current UML specification, reviews proposed formal semantics, and explains how different approaches address those problems.\"},{\"question\":\"Which specification parts does the paper use to describe Sequence Diagrams?\",\"answer\":\"It summarizes relevant parts from the UML Infrastructure and UML Superstructure specifications, noting that Interactions have a defined syntax and semantics, while Sequence Diagrams provide a concrete notation for depicting them.\"}]","UML 2.0 Sequence Diagrams' Semantics | PDF",1792964803,136,[147,151,155,159,163,167],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/f7d0da7e88ea063d49bedc23151caf9d.webp",983,1390,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/b865e2537ecffe5dc07b4eda398b10f0.webp",982,1388,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/8824e723b0eedfb82bba6325d7ba5fe8.webp",981,1387,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/3bc33af3c0fe3d23491546067b518cc2.webp",980,1385,{"page_no":97,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/519a8ed407ae245c446d470cd9196069.webp",979,1384,{"page_no":102,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/31acb011ee5aca6509c044e0e3f228f2.webp",978,1383,{"list":172,"token":11},[173,180,186,192,198,205,212,218,224,230],{"doc_id":174,"doc_title":175,"file_type":137,"home_preview_img_url":176,"slug":177,"view_count":178,"category_name":29,"create_tm":179},655915,"A Fully General Operational Semantics for UML 2.0 Sequence Diagrams - Potential and Mandatory Choice - Mass Soldal Lund and Ketil Stølen","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975293976/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=hB5jP%2FBZTfazCFJ6wjv3%2BkwFU50%3D","a-fully-general-operational-semantics-for-uml-20-sequence-diagrams-potential-and-mandatory-choice-mass-soldal-lund-and-ketil-stolen",11,1792964799,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":55,"category_name":29,"create_tm":185},655592,"A Formal Semantics for UML Activity Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285723/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=wenAM9oWvatAv1qwXihfaGfVBiI%3D","a-formal-semantics-for-uml-activity-diagrams",1792962764,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":55,"category_name":29,"create_tm":191},655681,"A Critical Analysis and Treatment of Important UML Diagrams Enhancing Modeling Power","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975287243/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=uTQMZg8JJUMjYQxEnOD0MzoLluU%3D","a-critical-analysis-and-treatment-of-important-uml-diagrams-enhancing-modeling-power",1792963185,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":107,"category_name":29,"create_tm":197},655588,"Towards a Semantics of Activity Diagrams with Semantic Variation Points - Semantic Variation Points","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285694/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=t87uisEFdqojxLi4zESnYPFv6wI%3D","towards-a-semantics-of-activity-diagrams-with-semantic-variation-points-semantic-variation-points",1792962755,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":203,"category_name":29,"create_tm":204},655943,"Model Checking and Code Generation for UML State Machines and Collaborations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974780629/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=BAFmXl%2FUefBY7v17%2FzPkwdJtl%2Bo%3D","model-checking-and-code-generation-for-uml-state-machines-and-collaborations",13,1792965028,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":210,"category_name":29,"create_tm":211},82781,"The Delayed Stabilizer ZX-Calculus","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808789076/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=srURGpzkMVo%2By4KOL4useMPu%2BGM%3D","the-delayed-stabilizer-zx-calculus",23,1784182890,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":123,"category_name":29,"create_tm":217},665500,"Semantic Differencing of Use Case Diagrams - Research Article","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229983859303/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=61vj%2FzmK4pmopwRyqr9tYAl4%2BRQ%3D","semantic-differencing-of-use-case-diagrams-research-article",1793304516,{"doc_id":219,"doc_title":220,"file_type":137,"home_preview_img_url":221,"slug":222,"view_count":30,"category_name":29,"create_tm":223},697204,"Business Process Model and Notation - BPMN","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009791984/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=nIc7SWfo6S5OJIHJYnsHWvHldXs%3D","business-process-model-and-notation-bpmn",1794436920,{"doc_id":225,"doc_title":226,"file_type":137,"home_preview_img_url":227,"slug":228,"view_count":203,"category_name":29,"create_tm":229},655550,"Introduction to Unified Modeling Language (UML) - Software Engineering Basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975284998/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=HNn%2FxgbndQ8Jkj3XLaG2YOvKdfA%3D","introduction-to-unified-modeling-language-uml-software-engineering-basics",1792962574,{"doc_id":231,"doc_title":232,"file_type":137,"home_preview_img_url":233,"slug":234,"view_count":33,"category_name":29,"create_tm":235},694793,"A New Approach to the Semantics of Model Diagrams - Paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230006941644/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=t%2FIHCg7A6vzQK5EoWDlpbAUa3WY%3D","a-new-approach-to-the-semantics-of-model-diagrams-paper",1794347813]