[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-655717-105":59,"doc-detail-655717-en":130,"doc-similar-655717":160},{"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","cas2uml-a-handwritten-sketch-to-plantuml-dataset-for-class-and-activity-diagrams","CAS2UML - A Handwritten Sketch-to-PlantUML Dataset for Class and Activity Diagrams","","Automated UML generation from sketches and images has drawn renewed interest through large language models and multimodal AI, yet reproducible evaluation is constrained by the absence of public datasets with executable ground-truth models. CAS2UML provides 557 hand-drawn UML diagrams—271 class and 286 activity—each paired with manually validated PlantUML code. The release includes a PlantUML-based validation tool and reusable scripts for syntactic checking and renderability validation, supporting reproducible sketch-to-UML benchmarking.",{"@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/cas2uml-a-handwritten-sketch-to-plantuml-dataset-for-class-and-activity-diagrams/655717/",{"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/cas2uml-a-handwritten-sketch-to-plantuml-dataset-for-class-and-activity-diagrams/655717.png","ImageObject",300,407,{"name":92,"@type":93},"Indoniesian Boy","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-29","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":52},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What does CAS2UML provide for sketch-to-UML research?","Question",{"text":112,"@type":113},"CAS2UML provides 557 hand-drawn UML diagrams (271 class and 286 activity) paired with manually validated, executable PlantUML code, plus a validation tool and scripts to check correctness and renderability.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Why is PlantUML used in the dataset?",{"text":117,"@type":113},"PlantUML is selected because it is human-readable, editable, renderable, and is used as an output format in recent UML-generation studies.",{"name":119,"@type":110,"acceptedAnswer":120},"How does the work address the evaluation gap mentioned in the introduction?",{"text":121,"@type":113},"It addresses the lack of public benchmark datasets with executable ground truth by supplying validated PlantUML code and automated validation utilities to enable reproducible benchmarking of sketch-to-UML approaches.","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},655717,1792963461,{"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":52,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":19,"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":52,"preview_page_count":19,"preview_urls":143},962090760608,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","CAS2UML: A Handwritten Sketch-to-PlantUML Dataset for Class  \nand Activity Diagrams  \nSimon Scholz  \nUniversity of Cologne Cologne, Germany  \n[sschol24@smail.uni-koeln.de](sschol24@smail.uni-koeln.de)  \nMersedeh Sadeghi✉ University of Cologne Cologne, Germany  \nsadeghi@cs.uni-koeln.de  \narXiv :2608 .07036v 1 [ cs . SE] 7 Aug 2026  \nAbstract  \nAutomated UML generation from sketches and images is gaining renewed attention with the rise of large language models and multimodal AI. However, reproducible evaluation remains difficult due to the lack of public datasets with executable groundtruth models. We present CAS2UML, a public dataset of 557 handdrawn UML diagrams, including 271 class diagrams and 286 activity diagrams, each paired with manually validated PlantUML code. We also provide a PlantUML-based validation tool and reusable scripts for checking the syntactic correctness and renderability of generated UML artifacts, enabling reproducible benchmarking of sketch-to-UML approaches. The dataset, validation tool, processing scripts, documentation, and demonstration video are publicly available at: Dataset: [https://huggingface.co/datasets/Seym0n](https://huggingface.co/datasets/Seym0n)[ ](https://huggingface.co/datasets/Seym0n)[/cas2uml_hand-drawn_to_plantuml_dataset](/cas2uml_hand-drawn_to_plantuml_dataset); Tool and Scripts: [https://github.com/Seym0n/handwritten-uml-dataset](https://github.com/Seym0n/handwritten-uml-dataset); Video: [https://www.youtube.com/watch?v=KQrYeGgT3hs](https://www.youtube.com/watch?v=KQrYeGgT3hs).  \nCCS Concepts  \n• Software and its engineering → Unified Modeling Language (UML); • Computing methodologies → Machine learning.  \nKeywords  \ndataset, UML, handwritten UML, PlantUML, benchmark, sketch recognition, software modeling, large language models  \nACM Reference Format:  \nSimon Scholz and Mersedeh Sadeghi. 2026. CAS2UML: A Handwritten Sketch-to-PlantUML Dataset for Class and Activity Diagrams. In Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering (ASE’26), October 12–16, 2026, Munich, Germany. ACM, New York, NY, USA, 4 pages. [https://doi.org/10.1145/3832783.3834613](https://doi.org/10.1145/3832783.3834613)  \n1 Introduction  \nThe Unified Modeling Language (UML) remains a central notation for software specification, analysis, design, and communication among stakeholders [10, 11] . Among its diagram types, class and activity diagrams are particularly important: class diagrams are consistently reported as the most frequently used UML notation, while activity diagrams are among the most common behavioral notations used for workflow and process modeling [9, 14]. Together,  \nThis work is licensed under a Creative Commons Attribution 4 .0 International License.  \nASE’26, Munich, Germany  \n© 2026 Copyright held by the owner/author(s) .  \nACM ISBN 979-8-4007-2882-2/2026/10  \n[https://doi.org/10.1145/3832783.3834613](https://doi.org/10.1145/3832783.3834613)  \nthey cover complementary structural and behavioral views of software systems.  \nThe automatic creation of UML models from informal inputs has therefore been a long-standing goal in software engineering. Earlier work explored model generation from textual requirements, rendered diagrams, and scanned documentation, while recent advancesin multimodal AI and large language models have renewed interest in generating UML from prompts, screenshots, photographs, and hand-drawn sketches [2–4, 8, 18] . These developments suggest that sketch-to-UML and image-to-model pipelines are becoming increasingly feasible.  \nHowever, progress is limited by the lack of public benchmark datasets that pair hand-drawn UML diagrams with executable, machine-readable ground truth. Existing resources are either imageonly, restricted to visual annotations, limited to small in-house benchmarks, or focused on a single diagram type [3, 12] . This makes it difficult to evaluate whether generated UML artifacts are not only visually plausible, but a","cbCaifzSlJ1ALIjU","https://ap.wps.com/l/cbCaifzSlJ1ALIjU","pdf",615262,"English","# Introduction\n## Background and Related Works\n### Class and Activity Diagrams","[{\"question\":\"What does CAS2UML provide for sketch-to-UML research?\",\"answer\":\"CAS2UML provides 557 hand-drawn UML diagrams (271 class and 286 activity) paired with manually validated, executable PlantUML code, plus a validation tool and scripts to check correctness and renderability.\"},{\"question\":\"Why is PlantUML used in the dataset?\",\"answer\":\"PlantUML is selected because it is human-readable, editable, renderable, and is used as an output format in recent UML-generation studies.\"},{\"question\":\"How does the work address the evaluation gap mentioned in the introduction?\",\"answer\":\"It addresses the lack of public benchmark datasets with executable ground truth by supplying validated PlantUML code and automated validation utilities to enable reproducible benchmarking of sketch-to-UML approaches.\"}]","CAS2UML - A Handwritten Sketch-to-PlantUML Dataset for Class and Activity Diagrams | PDF",[144,148,152,156],{"page_no":8,"url":145,"width":146,"height":147},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/f7c7987d786bd54b6861c6c4f1d646b5.webp",983,1272,{"page_no":14,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/4cb8f7fa855479b0bb43a82c70366fd1.webp",982,1270,{"page_no":81,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c4ac6414c05e3efb4dea1fbb3ddca7bd.webp",981,1269,{"page_no":19,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/24a1192cf0334c216987b4a1b47a9e1c.webp",980,1268,{"list":161,"token":66},[162,168,175,180,186,193,199,205,211,218],{"doc_id":163,"doc_title":164,"file_type":137,"home_preview_img_url":165,"slug":166,"view_count":39,"category_name":40,"create_tm":167},655815,"SketchAgent - Generating Structured Diagrams from Hand-Drawn Sketches","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974778109/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237939&Signature=9%2B0XlvWhm1hIJGYXzJgkjW8m74o%3D","sketchagent-generating-structured-diagrams-from-hand-drawn-sketches",1792964061,{"doc_id":169,"doc_title":170,"file_type":137,"home_preview_img_url":171,"slug":172,"view_count":173,"category_name":40,"create_tm":174},662619,"Sketching Reality - Realistic Interpretation of Architectural Designs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229981685614/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237939&Signature=wg402tMAL3DoapSkA%2FHRTWfX%2FW0%3D","sketching-reality-realistic-interpretation-of-architectural-designs",17,1793220865,{"doc_id":176,"doc_title":164,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":34,"category_name":40,"create_tm":179},655890,"https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974779713/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237939&Signature=iY1zMjXmFCLLRItmFVuB%2Ba5jUc8%3D","sketchagent-generating-structured-diagrams-from-hand-drawn-sketches-655890",1792964615,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":34,"category_name":40,"create_tm":185},654538,"An Exploratory Study of ML Sketches and Visual Code Assistants","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974160188/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237939&Signature=QP4KpkWD9S9lWccfxBkckvrvCms%3D","an-exploratory-study-of-ml-sketches-and-visual-code-assistants",1792924745,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":191,"category_name":40,"create_tm":192},664089,"Sketch Based Face Recognition - Forensic vs. Composite Sketches","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229981978416/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237939&Signature=wMUrcDylsDTO5PhQskcYjEGQH8M%3D","sketch-based-face-recognition-forensic-vs-composite-sketches",11,1793239071,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":24,"category_name":40,"create_tm":198},664823,"A Neural Representation of Sketch Drawings","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229983295541/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237939&Signature=e38xjfMEu8kmQJULFByg5atNPRA%3D","a-neural-representation-of-sketch-drawings",1793274263,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":44,"category_name":40,"create_tm":204},664704,"Molecular Shapes Laboratory - Introduction to VSEPR Theory","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229982993500/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237939&Signature=FMiSD%2FURtrttHWopFg7593oVMu8%3D","molecular-shapes-laboratory-introduction-to-vsepr-theory",1793267802,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":52,"category_name":40,"create_tm":210},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=1796237939&Signature=SYi2AjARYPFWPxcBj%2BF%2F%2BSQKal0%3D","unified-modeling-language-code-generation-from-diagram-images-using-multimodal-large-language-models",1792964223,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":40,"create_tm":217},84000,"Articulating Assumptions in AI-Generated Scientific Analyses through Task Decomposition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809122938/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237939&Signature=vPEhOQtjuyW7oejS2d6O0iKK7ks%3D","articulating-assumptions-in-ai-generated-scientific-analyses-through-task-decomposition",22,1784191951,{"doc_id":219,"doc_title":220,"file_type":137,"home_preview_img_url":221,"slug":222,"view_count":34,"category_name":40,"create_tm":223},664813,"Sketch-based Modeling of Parameterized Objects","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229983111144/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237939&Signature=Jn2%2Birhmy9kZeCWvwAypmMalu4c%3D","sketch-based-modeling-of-parameterized-objects",1793273867]