[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-678097-105":59,"doc-detail-678097-en":130,"doc-similar-678097":161},{"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","interweaving-graphical-and-textual-modelling-using-glsp-and-langium","Interweaving Graphical and Textual Modelling using GLSP and Langium","","Many domain-specific modelling languages (DSMLs) blend graphical and textual elements, but simple labels often fail when textual sub-languages need their own grammars and cross-references with full scoping. Integrating tool support requires combining projectional editing for graphics with parsing-based processing for text, which existing web-based language workbenches only weakly support. This paper presents an open-source framework that embeds Langium-based text parsing into GLSP-style graphical models while keeping a unified abstract syntax graph.",{"@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/interweaving-graphical-and-textual-modelling-using-glsp-and-langium/678097/",{"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/interweaving-graphical-and-textual-modelling-using-glsp-and-langium/678097.png","ImageObject",300,407,{"name":92,"@type":93},"WPS_1790064749","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-17","2026-11-04",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"Why do DSMLs often need complex textual sub-languages beyond simple labels?","Question",{"text":112,"@type":113},"Because some constructs require their own grammars and must reference elements defined elsewhere in the model, which demands full scoping support.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What technical challenge arises when integrating graphical and textual language workbenches?",{"text":117,"@type":113},"Tooling must combine projectional editing for graphical elements with parsing-based handling for textual elements, and common web-based workbenches are not well prepared for this integration.",{"name":119,"@type":110,"acceptedAnswer":120},"How does the proposed framework integrate Langium with GLSP-based graphical models?",{"text":121,"@type":113},"It attaches Langium grammars to string-typed attributes of model elements and integrates the resulting parsed abstract syntax graph into the model’s overall abstract syntax graph with scoping across the entire model.","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},678097,1793784210,{"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":24,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":24,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":19,"preview_urls":144},3985747859154,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","Interweaving Graphical and Textual Modelling using GLSP and  \nLangium  \nBofan Zhang∗ [bofan.zhang@kcl.ac.uk](bofan.zhang@kcl.ac.uk)[ ](bofan.zhang@kcl.ac.uk)Department of Informatics King’s College London London, United Kingdom  \nSteffen Zschaler  \n[szschaler@acm.org](szschaler@acm.org)[ ](szschaler@acm.org)Department of Informatics King’s College London London, United Kingdom  \nAndreas Hell∗ [e12123458@student.tuwien.ac.at](e12123458@student.tuwien.ac.at)[ ](e12123458@student.tuwien.ac.at)Business Informatics Group TU Wien Vienna, Austria  \nDominik Bork  \n[dominik.bork@tuwien.ac.at](dominik.bork@tuwien.ac.at)[ ](dominik.bork@tuwien.ac.at)Business Informatics Group TU Wien Vienna, Austria  \nAbstract  \nMany domain-specific modelling languages (DSMLs) combine graphical and textual elements. While simple textual labels are often sufficient, some situations (e.g., condition expressions in flowchartlike languages) require more complex textual sub-languages with their own grammar and the ability to reference elements defined elsewhere in the model, providing full scoping support for such references. Developing tool support for DSMLs that integrate expressive graphical and textual elements requires combining two distinct paradigms for language processing: projectional editing for graphical elements and a parsing-based approach for textual elements. A purely projectional approach quickly becomes inconvenient, and parsing-based approaches currently do not handle graphical languages well. For modern web-based language workbenches, such integrations are not well supported. We present areusable framework for integrating text-based grammar support using Langium into the graphical model of GLSP-based languages. The backend maintains a complete abstract syntax graph, regardless of whether a particular part of the model is edited graphically or textually. Langium-managed text elements automatically handle scoping across the entire model, enabling scenarios where a text node’s position in the graphical model can influence which elements are available for linking. The framework is available opensource, and we invite the community to integrate it into their own languages.  \nCCS Concepts  \n• Software and its engineering → Visual languages; Syntax; Development frameworks and environments.  \n∗ Both authors contributed equally to this research.  \nThis work is licensed under a Creative Commons Attribution 4 .0 International License. MODELS Companion 2026, Málaga, Spain  \n© 2026 Copyright held by the owner/author(s) .  \nACM ISBN 979-8-4007-2903-4/2026/10  \n[https://doi.org/10.1145/3837062.3838863](https://doi.org/10.1145/3837062.3838863)  \nKeywords  \nLanguage Engineering, GLSP, Langium, Blended modelling, Hybrid modelling, Modelling tool  \nACM Reference Format:  \nBofan Zhang, Andreas Hell, Steffen Zschaler, and Dominik Bork. 2026. Interweaving Graphical and Textual Modelling using GLSP and Langium. In ACM/IEEE 29th International Conference on Model Driven Engineering Languages and Systems (MODELS Companion 2026), October 04–09, 2026, Málaga, Spain. ACM, New York, NY, USA, 5 pages. [https://doi.org/10.1145/](https://doi.org/10.1145/)[ ](https://doi.org/10.1145/)3837062.3838863  \n1 Introduction  \nMany domain-specific modelling languages (DSMLs) combine graphical and textual elements. While it is often possible to get away with simple textual labels, many situations require more complex textual sub-languages. For example, consider the use of condition expressions in flowchart-like languages or action specificationsin statechart-like languages. These sub-languages have their own grammar and must be able to reference elements defined elsewhere in the model, providing full scoping support for such references.  \nDeveloping tool support for such DSMLs can be complicated, not least because textual and graphical modelling languages are typically supported via different language workbenches [6] . As language engineering evolves towards web-based language workben","cbCaiqK4teXNeiGp","https://ap.wps.com/l/cbCaiqK4teXNeiGp","pdf",759007,"English","# Introduction\n## Related Work\n## Tool Demonstration and Framework Overview\n# Conclusion","[{\"question\":\"Why do DSMLs often need complex textual sub-languages beyond simple labels?\",\"answer\":\"Because some constructs require their own grammars and must reference elements defined elsewhere in the model, which demands full scoping support.\"},{\"question\":\"What technical challenge arises when integrating graphical and textual language workbenches?\",\"answer\":\"Tooling must combine projectional editing for graphical elements with parsing-based handling for textual elements, and common web-based workbenches are not well prepared for this integration.\"},{\"question\":\"How does the proposed framework integrate Langium with GLSP-based graphical models?\",\"answer\":\"It attaches Langium grammars to string-typed attributes of model elements and integrates the resulting parsed abstract syntax graph into the model’s overall abstract syntax graph with scoping across the entire model.\"}]","Interweaving Graphical and Textual Modelling using GLSP and Langium | PDF",13,[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/0518d8b2e1fc2429edcfe25c93b1cf93.webp",983,1272,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/e381daf2f350ab96a0a4c7131d14589c.webp",982,1270,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c257cf7b2b16995a83c0a49767d6c16c.webp",981,1269,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/16c1673aa84377eef3575d983983e4a8.webp",980,1268,{"list":162,"token":66},[163,169,176,182,189,195,201,207,213,219],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":52,"category_name":40,"create_tm":168},655869,"Reimplementing the Structurizr Software Architecture Modelling Language as a Hybrid DSL","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975292588/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=R39ClsoE3i49eCfYhmVE4NFk9a4%3D","reimplementing-the-structurizr-software-architecture-modelling-language-as-a-hybrid-dsl",1792964451,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":174,"category_name":40,"create_tm":175},81608,"Mixing visual and textual code","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808462641/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=CoZ%2BRt7xTCJDAz6yVHBFf3o%2FjsY%3D","mixing-visual-and-textual-code",25,1784174755,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":81,"category_name":40,"create_tm":181},678064,"Visualizations with statistical details - The ‘ggstatsplot’ approach - Statement of Need and Benefits","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229994775496/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=sZHKcyx8q1VfQs9PCSsqjLdzgQU%3D","visualizations-with-statistical-details-the-ggstatsplot-approach-statement-of-need-and-benefits",1793783534,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":187,"category_name":40,"create_tm":188},128609,"Automatic Document Classification in Technical Logbooks - A Comparative Study of Supervised Weakly Supervised and Unsupervised Machine Learning Approaches - Master Thesis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840431082/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=H6KHshpuhhi%2FVCfWY5qk1cJnJDg%3D","automatic-document-classification-in-technical-logbooks-a-comparative-study-of-supervised-weakly-supervised-and-unsupervised-machine-learning-approaches-master-thesis",15,1786002085,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":29,"category_name":40,"create_tm":194},654274,"Bond Graph Modelling of Engineering Systems - Foreword - Theory, Applications and Software Support","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974077542/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=PE1WPxpDS1f0LZa1attH98sU8f8%3D","bond-graph-modelling-of-engineering-systems-foreword-theory-applications-and-software-support",1792911992,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":14,"category_name":40,"create_tm":200},732860,"Codebraid: Live Code in Pandoc Markdown","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031780050/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=A8eVstoCi7f1wjE83bOzzcfOHEA%3D","codebraid-live-code-in-pandoc-markdown",1795382563,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":39,"category_name":40,"create_tm":206},655704,"Feature Based Analysis of Extensible Modeling Frameworks and Libraries - Bachelor’s Thesis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975288153/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=qBeXGcxDAyROsk9AH6dfon4Vf44%3D","feature-based-analysis-of-extensible-modeling-frameworks-and-libraries-bachelors-thesis",1792963383,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":19,"category_name":40,"create_tm":212},698669,"Exploring the use of large language models indomain-specific language development: an experience report","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010393712/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=Z2eafH0o2JoOYYzFXFKe1jmkRHg%3D","exploring-the-use-of-large-language-models-in-domain-specific-language-development-an-experience-report",1794454390,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":29,"category_name":40,"create_tm":218},656213,"Applications Model - A High-Level Design Model - Applications Model","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974786748/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=e42XRZIukwJXT%2BiQ4hxxaTKFUuo%3D","applications-model-a-high-level-design-model-applications-model",1792967017,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":24,"category_name":40,"create_tm":224},709917,"CrossWordBench - Evaluating the Reasoning Capabilities of LLMs and LVLMs with Controllable Puzzle Generation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230016998779/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=svklLg0%2FaZ7vrPWvY%2FDOj6SFg80%3D","crosswordbench-evaluating-the-reasoning-capabilities-of-llms-and-lvlms-with-controllable-puzzle-generation",1794776983]