[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-655866-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-655866-en":130,"doc-similar-655866":183},{"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","generating-high-quality-visualization-of-software-architecture-using-multi-agent-ai","Generating High Quality Visualization of Software Architecture using Multi-Agent AI","","As software systems grow, architecture diagrams become essential for understanding, communicating, and maintaining complex designs, yet automatic diagramming often yields inconsistent annotations, inaccuracies, excessive complexity, and limited editability. This thesis investigates multi-agent AI methods to generate and improve software architecture diagrams from source code. A literature review establishes diagram-quality criteria, and developer interviews capture practical expectations, forming a rule framework for prototype development and rule-based evaluation.",{"@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/generating-high-quality-visualization-of-software-architecture-using-multi-agent-ai/655866/",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/generating-high-quality-visualization-of-software-architecture-using-multi-agent-ai/655866.png","ImageObject",300,407,{"name":42,"@type":43},"LangkahRina","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",9,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What problem does the thesis address in automatically generated architecture diagrams?","Question",{"text":63,"@type":64},"It addresses inconsistencies in annotation, inaccuracy, excessive complexity, and limited editability, which reduce usefulness for practice.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How is the prototype designed to generate and improve diagrams?",{"text":68,"@type":64},"It uses multiple specialized agents to generate and review diagrams, producing draw.io diagrams in a structured format that remains drag-and-drop editable.",{"name":70,"@type":61,"acceptedAnswer":71},"What did the evaluation reveal about factors affecting diagram quality?",{"text":72,"@type":64},"The results indicate agent configuration can influence system effectiveness, but did not show it changed diagram quality directly; diagram quality appeared more affected by relationship complexity than by input size alone.","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},655866,1793115058,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,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":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},"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":112,"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":55,"preview_urls":146},962090893776,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","MASTER’S THESIS 2026  \nGenerating High Quality Visualization of Software Architecture using Multi-Agent AI  \nNora Wirtén, Joel Dahl  \nISSN 1650-2884  \nLU-CS-EX: 2026-42  \nDEPARTMENT OF COMPUTER SCIENCE  \nLTH | LUND UNIVERSITY  \nEXAMENSARBETE Datavetenskap  \nLU-CS-EX: 2026-42  \nGenerating High Quality Visualization of Software Architecture using Multi-Agent AI  \nGenerera högkvalitativ visualisering av mjukvaruarkitektur med hjälp av multi-agent AI  \nNora Wirtén, Joel Dahl  \nGenerating High Quality Visualization of Software Architecture using Multi-Agent AI  \nNora Wirtén  \n[no8424wi-s@student. lu. se](no8424wi-s@student. lu. se)  \nJoel Dahl [jo1045da-s@student. lu. se](jo1045da-s@student. lu. se)  \nJune 25, 2026  \nMaster’s thesis work carried out at Robert Bosch AB.  \nSupervisors: Örjan Percy, [orjan. percy@se. bosch. com](orjan. percy@se. bosch. com)[ ](orjan. percy@se. bosch. com)Emma Söderberg, [emma. soderberg@cs. lth. se](emma. soderberg@cs. lth. se)[ ](emma. soderberg@cs. lth. se)Andreas Bexell, [andreas. bexell@cs. lth. se](andreas. bexell@cs. lth. se)  \nExaminer: Ulf Asklund, [ulf. asklund@cs. lth. se](ulf. asklund@cs. lth. se)  \nAbstract  \nAs software systems continue to grow in size and complexity, architecture diagrams become increasingly important for understanding, communicating, and maintaining software. However, automatically generated diagrams often suffer from issues such as inconsistent annotation, inaccuracy, excessive complexity, and limited editability. To make generated diagrams useful in practice, the diagrams should be correct, readable, maintainable and possible to adjust.  \nThis thesis explores the use of multi-agent AI for generating and improving software architecture diagrams from source code. We identified relevant criteria regarding diagram layout quality via a literature review , and we used an interview study with software developers to investigate expectations of architecture diagrams in practice. These findings formed the basis for a rule framework used during prototype development and rule-based evaluation.  \nThe resulting prototype uses multiple specialized agents to generate and review diagrams. It produces draw.io diagrams that are defined in a structured file format yet remain drag-and-drop editable. The prototype was evaluated experimentally by varying input program size and agent configuration. The evaluation investigated how these factors affected the quality of the generated diagrams using a rule-based penalty scoring protocol.  \nThe results suggest that multi-agent AI can support software architecture diagram generation and that agent configuration can influence the effectiveness of the system, but did not show an indication that the agent configuration had an impact on the quality of the generated diagrams. The evaluation also indicates that input size mainly affected system reliability, whereas diagram quality appeared to be influenced more by relationship complexity than by size alone. However, the approach is not yet reliable enough to replace manual or semiautomatic diagram creation.  \nKeywords: Multi-Agent Systems, Agentic AI, Large Language Models, Software Architecture Diagrams, Diagram Generation, Diagram Quality  \nAcknowledgements  \nWe would like to express our sincere gratitude to our supervisors Emma Söderberg and Andreas Bexell for their guidance, feedback, and support throughout this thesis project. Their expertise and encouragement have been invaluable during both the research and development phases ofthis work.  \nWe would also like to thank Bosch for providing the opportunity to conduct this thesis in collaboration with industry. In particular, we are grateful to our supervisor Örjan Percy for sharing valuable insights, providing constructive feedback, and helping us connect our research to real-world software engineering challenges.  \nFurthermore, we would like to thank all developers who participated in the interview study. Their willingness to share their experience","cbCaiiEHclz8Szh4","https://ap.wps.com/l/cbCaiiEHclz8Szh4","pdf",3883367,81,"English","# Abstract\n# Keywords\n# Acknowledgements","[{\"question\":\"What problem does the thesis address in automatically generated architecture diagrams?\",\"answer\":\"It addresses inconsistencies in annotation, inaccuracy, excessive complexity, and limited editability, which reduce usefulness for practice.\"},{\"question\":\"How is the prototype designed to generate and improve diagrams?\",\"answer\":\"It uses multiple specialized agents to generate and review diagrams, producing draw.io diagrams in a structured format that remains drag-and-drop editable.\"},{\"question\":\"What did the evaluation reveal about factors affecting diagram quality?\",\"answer\":\"The results indicate agent configuration can influence system effectiveness, but did not show it changed diagram quality directly; diagram quality appeared more affected by relationship complexity than by input size alone.\"}]","Generating High Quality Visualization of Software Architecture using Multi-Agent AI | PDF",1792964444,204,[147,151,155,159,163,167,171,175,179],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/1ae3cf9457ce278bc14422dca211d519.webp",983,1390,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/60609588e987080ff6181b5e4720ad1e.webp",982,1388,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/2f0f6143bdd3db29ecf0fa04e0b396e3.webp",981,1387,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/46a24c84aef9b96054d5502431f0e412.webp",980,1385,{"page_no":97,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/6e4fb74c0fc8e6ca9c082ebc5ea3b734.webp",979,1384,{"page_no":102,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/961a8a49baedb9cab54eeccde852be5a.webp",978,1383,{"page_no":107,"url":172,"width":173,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/9c9032a87375373d7af934e0a94e610f.webp",977,1381,{"page_no":112,"url":176,"width":177,"height":178},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/93ce5205297a25c31f625ec2da6ca6fa.webp",976,1380,{"page_no":55,"url":180,"width":181,"height":182},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/cc8c2e39a445c8c5e9a9899fcb1d7314.webp",975,1378,{"list":184,"token":11},[185,191,197,203,209,215,221,227,233,239],{"doc_id":186,"doc_title":187,"file_type":137,"home_preview_img_url":188,"slug":189,"view_count":55,"category_name":29,"create_tm":190},655878,"Software Design and Development of an Appointment Booking System - A Design Study","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974779488/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109299&Signature=KYMzHjC%2F0LR%2FN6loSvoudPilzSU%3D","software-design-and-development-of-an-appointment-booking-system-a-design-study",1792964512,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":107,"category_name":29,"create_tm":196},655808,"Systematic teaching of UML and behavioral diagrams - Version 1 - paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974778001/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109299&Signature=eHGSsQddKc2l6n%2FzW7vxdEL3Etw%3D","systematic-teaching-of-uml-and-behavioral-diagrams-version-1-paper",1792964028,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":55,"category_name":29,"create_tm":202},655647,"Evaluating Software Architecture Diagram Connectivity with Vision Large Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286597/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109299&Signature=3NFJq%2BxYFaN2vCGQybEQHwyyXqI%3D","evaluating-software-architecture-diagram-connectivity-with-vision-large-language-models",1792963006,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":107,"category_name":29,"create_tm":208},656427,"Proximate Architecture - Basis for a Pedagogy of Diagram","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974791676/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109299&Signature=q1v7qgHx5rg9T%2BWK2FSB3QelB7E%3D","proximate-architecture-basis-for-a-pedagogy-of-diagram",1792968453,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":107,"category_name":29,"create_tm":214},656460,"Sequencing Square - A Study of Patterns in the Plan Drawings of Peter Muller - Proceedings Volume 37","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974792883/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109299&Signature=IDUuJ5iEA5Ww9FqWTSE%2BjnJ79s8%3D","sequencing-square-a-study-of-patterns-in-the-plan-drawings-of-peter-muller-proceedings-volume-37",1792968712,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":55,"category_name":29,"create_tm":220},657616,"3 - Struct Analys Fnctnal Design-of IIS - p2 - DFD - ii - Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975629795/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109299&Signature=%2F0FqgNNwcI85nrpbFd%2FPcq4lwc4%3D","3-struct-analys-fnctnal-design-of-iis-p2-dfd-ii-diagrams",1792985205,{"doc_id":222,"doc_title":223,"file_type":137,"home_preview_img_url":224,"slug":225,"view_count":123,"category_name":29,"create_tm":226},657615,"Application of Model Based System Engineering (MBSE) Principles to an Automotive Driveline Sub-System Architecture - Presented by Robert Kraus, George Papaioannou and Arun Sivan","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975629634/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109299&Signature=kppuT1cNd7tCFD9a8%2Fpxo5HS%2FKM%3D","application-of-model-based-system-engineering-mbse-principles-to-an-automotive-driveline-sub-system-architecture-presented-by-robert-kraus-george-papaioannou-and-arun-sivan",1792985199,{"doc_id":228,"doc_title":229,"file_type":137,"home_preview_img_url":230,"slug":231,"view_count":26,"category_name":29,"create_tm":232},692475,"An Approach to Build Consistent Software Architecture Diagrams Using Devops","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003885415/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109299&Signature=LUISrXLAn6U4s0nO7tW0xCqb6KE%3D","an-approach-to-build-consistent-software-architecture-diagrams-using-devops",1794210297,{"doc_id":234,"doc_title":235,"file_type":137,"home_preview_img_url":236,"slug":237,"view_count":112,"category_name":29,"create_tm":238},665443,"Query2Diagram - Answering Developer Queries with UML Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229983494381/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109299&Signature=UzACGvW09V9Po3OzYu2%2BvV%2BSrwQ%3D","query2diagram-answering-developer-queries-with-uml-diagrams",1793304176,{"doc_id":240,"doc_title":241,"file_type":137,"home_preview_img_url":242,"slug":243,"view_count":107,"category_name":29,"create_tm":244},655900,"Towards improving architectural diagram consistency using system descriptors","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975293366/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109299&Signature=XC4UUrmQjt7PWXJP3Wb5fmjgWvI%3D","towards-improving-architectural-diagram-consistency-using-system-descriptors",1792964692]