[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-655705-105":59,"doc-detail-655705-en":130,"doc-similar-655705":163},{"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","from-uml-2-sequence-diagrams-to-state-machines-by-graph-transformation-journal-of-object-technology-volume-10","From UML 2 Sequence Diagrams to State Machines by Graph Transformation - Journal of Object Technology - Volume 10","","Algebraic graph transformation is used to specify model transformations, focusing on converting UML sequence diagrams into state machines. The transformation rules are grounded in the concrete syntax of both diagram types, improving usability by avoiding the need to understand metamodels and abstract syntax. Tailored support is provided for matching sequence diagram structures, including a novel graphical operator to match and transform combined fragments with an unknown number of operands. The approach maps rules to graph transformation in the AGG tool.",{"@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":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/from-uml-2-sequence-diagrams-to-state-machines-by-graph-transformation-journal-of-object-technology-volume-10/655705/",{"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/from-uml-2-sequence-diagrams-to-state-machines-by-graph-transformation-journal-of-object-technology-volume-10/655705.png","ImageObject",300,407,{"name":92,"@type":93},"EvelynWrites","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},"Why does the paper transform sequence diagrams into state machines?","Question",{"text":112,"@type":113},"It addresses the overlap between sequence diagrams and state machines by recognizing behavior defined in sequence diagrams as behavior in state machines.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What is the key difference from traditional transformation approaches?",{"text":117,"@type":113},"The rules are based on the concrete syntax of sequence diagrams and state machines, rather than on abstract syntax derived from metamodels.",{"name":119,"@type":110,"acceptedAnswer":120},"How does the approach handle UML 2 combined fragments with multiple operands?",{"text":121,"@type":113},"It introduces a fragment operator and a novel graphical operator to match and transform combined fragments, including cases with an unknown number of operands.","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},655705,1793056462,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"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},687212989558,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","Journal of Object Technology  \nPublished by AITO—Association Internationale pour les Technologies Objets, © JOT 2011  \nOnline at [http://www.jot.fm](http://www.jot.fm).  \nFrom UML 2 Sequence Diagrams to State Machines by Graph Transformation  \nRoy Grønmoa Birger Møller-Pedersenb  \na. SINTEF Information and Communication Technology, Oslo, Norway  \nb. Department of Informatics, University of Oslo, Norway  \nAbstract Algebraic graph transformation has been promoted by several authors as a means to specify model transformations. This paper exploreshow we can specify graph transformation-based rules for a classical problem of transforming from sequence diagrams to state machines. The speciﬁcation of the transformation rules is based on the concrete syntax of sequence diagrams and state machines. We introduce tailored transformation support for sequence diagrams and a novel graphical operator to match and transform combined fragments.  \nKeywords Graph transformation; Model transformation; UML; sequence diagram; state machine  \n1 Introduction  \nAlthough sequence diagrams and state machines are used in diﬀerent phases and are made with diﬀerent diagram types, there is a great deal of overlap between the two speciﬁcations. The behavior deﬁned by the sequence diagrams should also be recognized as behavior by the state machines.  \nThere has been a lot of eﬀorts to transform from sequence diagram-like speciﬁcation languages to state-based languages (e.g. [KGSB99 , WS00 , ZHJ04 , Sun07]) . None of the previous approaches takes full advantage of the combined fragments that were introduced in UML 2 .  \nThe combined fragments in UML 2 includes possibilities to model conditional behavior (alt operator) and loops (loop operator), and these can have guard expressions and be arbitrarily nested. A combined fragment is displayed with a rectangle that spans the involved lifelines, an operator type shown in the top left corner of the rectangle, and dashed horizontal lines as operand separators in cases with multiple operands.  \nIn this paper we specify a transformation from sequence diagrams to state machines where the speciﬁed rules are based on the concrete syntax of sequence diagrams  \nRoy Grønmo, Birger Møller-Pedersen. From UML 2 Sequence Diagrams to State Machines by Graph Transformation. In Journal of Object Technology, vol. 10, 2011, pages 8:1–22 .  \ndoi:10 .5381/jot.2011 .10 .1 .a8  \n2 · Grønmo and Møller-Pedersen  \nand state machines. Our approach diﬀers from the traditional model and graph transformation approaches, where transformations are speciﬁed in relation to the abstract syntax. We claim that concrete syntax-based rules are more user-friendly since the speciﬁer does not need to have knowledge of the metamodels and the associated abstract syntax. This is particularly useful for sequence diagrams where the abstract syntax is complicated and quite diﬀerent from the concrete syntax.  \nWe introduce a fragment operator that allows us to specify the matching and transformation of combined fragments with an unknown number of operands. Our rules are mapped to traditional graph transformation rules and the transformation takes place in the AGG tool [Tae03] .  \nThe remainder of this paper is structured as follows. In Section 2 we brieﬂy introduce sequence diagrams, state machines, and the notion of a trace-based reﬁnement theory; Section 3 describes a possible modeling process that starts with sequence diagrams and evolves to state machines; Section 4 describes preliminaries on graph transformation; Section 5 explains how we can deﬁne transformation rules based on the concrete syntax of sequence diagrams and state machines; Section 6 presents the specialized transformation formalism for sequence diagrams and our set of transformation rules from sequence diagrams to state machines; Section 7 compares our approach with related work; and ﬁnally Section 8 concludes the paper.  \n2 Sequence Diagrams, State Machines and Reﬁnement  \nFigure 1 shows a se","cbCaimaob3wf5vkG","https://ap.wps.com/l/cbCaimaob3wf5vkG","pdf",1208198,22,"English","# Introduction\n# Sequence Diagrams, State Machines and Reﬁnement\n## Trace-based reﬁnement and semantics\n# Transformation from sequence diagrams to state machines\n## Combined fragments and concrete-syntax-based rules\n# Graph transformation preliminaries\n# Specialized transformation rules and comparison\n# Conclusion","[{\"question\":\"Why does the paper transform sequence diagrams into state machines?\",\"answer\":\"It addresses the overlap between sequence diagrams and state machines by recognizing behavior defined in sequence diagrams as behavior in state machines.\"},{\"question\":\"What is the key difference from traditional transformation approaches?\",\"answer\":\"The rules are based on the concrete syntax of sequence diagrams and state machines, rather than on abstract syntax derived from metamodels.\"},{\"question\":\"How does the approach handle UML 2 combined fragments with multiple operands?\",\"answer\":\"It introduces a fragment operator and a novel graphical operator to match and transform combined fragments, including cases with an unknown number of operands.\"}]","From UML 2 Sequence Diagrams to State Machines by Graph Transformation - Journal of Object Technology - Volume 10 | PDF",1792963384,55,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/2dcdab3bf65cc9bd9a4b9a8a47ecd22c.webp",983,1390,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/1fea1528142be94b9594eb5bf1e4c081.webp",982,1388,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/8c99203cf007e8659568be29c4600482.webp",981,1387,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/8a421272a39e3bf428542308cec2771f.webp",980,1385,{"list":164,"token":66},[165,171,177,183,189,195,202,208,214,220],{"doc_id":166,"doc_title":167,"file_type":137,"home_preview_img_url":168,"slug":169,"view_count":52,"category_name":40,"create_tm":170},326970,"Fundamentals of Algebraic Graph Transformation - With 41 Figures - Preface overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229908464411/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235539&Signature=jihbwlm3YxCfpqvTHRj9UY3qWJU%3D","fundamentals-of-algebraic-graph-transformation-with-41-figures-preface-overview",1789975885,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":29,"category_name":40,"create_tm":176},665373,"Graph Layout Aesthetics in UML Diagrams - User Preferences","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229983847228/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235539&Signature=2mH3vw%2B7P8plTmCZx6aCnlsJCDM%3D","graph-layout-aesthetics-in-uml-diagrams-user-preferences",1793301553,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":44,"category_name":40,"create_tm":182},655937,"Class and State machine Reﬁnement in UML-B","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975294603/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235539&Signature=Qc5en2WOgKKQVf0r5VJOXEqw1Ck%3D","class-and-state-machine-refinement-in-uml-b",1792965012,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":52,"category_name":40,"create_tm":188},655839,"Unified Modeling Language Code Generation from Diagram Images Using Multimodal Large Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974778811/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235539&Signature=geeoypzIetFmmYjzYkTZE6Ot3p0%3D","unified-modeling-language-code-generation-from-diagram-images-using-multimodal-large-language-models",1792964223,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":19,"category_name":40,"create_tm":194},488809,"Perspectives on User Story Based Visual Transformations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926952339/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235539&Signature=GUunUsCMP6rmARc2%2FzehhJ%2Ban5k%3D","perspectives-on-user-story-based-visual-transformations",1790817844,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":200,"category_name":40,"create_tm":201},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=1796235539&Signature=jf3r1t87L2r0RTS8Iwpvm7dqm%2BU%3D","model-checking-and-code-generation-for-uml-state-machines-and-collaborations",13,1792965028,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":34,"category_name":40,"create_tm":207},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=1796235539&Signature=QyfOHBz8YcNWEOWiunFJxfwAuOQ%3D","towards-a-semantics-of-activity-diagrams-with-semantic-variation-points-semantic-variation-points",1792962755,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":34,"category_name":40,"create_tm":213},655650,"A UML profile for feature diagrams - Initiating a model driven engineering approach for software product lines","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286660/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235539&Signature=43JIsWvD5Z8ckyMmGN7BzqDrOfY%3D","a-uml-profile-for-feature-diagrams-initiating-a-model-driven-engineering-approach-for-software-product-lines",1792963021,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":29,"category_name":40,"create_tm":219},655549,"An Overview of Structural UML Diagrams - Structural UML Diagrams Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975284991/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235539&Signature=eANv0XdeG1CVBgpdSrQPnq5HQFE%3D","an-overview-of-structural-uml-diagrams-structural-uml-diagrams-overview",1792962572,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":81,"category_name":40,"create_tm":225},681187,"Tiger Plays Ludo - Contribution to the Tool Contest Session of AGTIVE 2007","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998669586/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235539&Signature=iF1mqpKx7B%2FKK9QayHR74gAmxqs%3D","tiger-plays-ludo-contribution-to-the-tool-contest-session-of-agtive-2007",1793941357]