Bulletin of Electrical Engineering and Informatics
Vol 15, No 4: August 2026

Toward generalizable unified modeling language automation: a dual case study on class and use case diagram generation

Van-Viet Nguyen (Thai Nguyen University of Information and Communication Technology)
Huu-Khanh Nguyen (Thai Nguyen University of Information and Communication Technology)
Kim-Son Nguyen (Thai Nguyen University of Information and Communication Technology)
Thi Minh-Hue Luong (Thai Nguyen University of Information and Communication Technology)
Duc-Quang Vu (Thai Nguyen University of Information and Communication Technology)
The-Vinh Nguyen (Thai Nguyen University of Information and Communication Technology)



Article Info

Publish Date
01 Aug 2026

Abstract

Manual generation of unified modeling language (UML) diagrams creates bottlenecks in agile development due to inconsistency and labor intensity. While large language models (LLMs) offer generative capabilities, existing solutions suffer from data scarcity and inadequate evaluation tools. To address this, we present a dual-LLM pipeline integrating lightweight specification generation with reasoning-oriented code synthesis. Uniquely, this framework employs a weighted multimodal validation module utilizing diverse vision-language models (VLMs) to assess diagrammatic fidelity. We further address the data shortage by releasing benchmark datasets comprising 5,000 class and 3,000 use case diagrams. Empirical results demonstrate a 95.8% rendering success rate for class diagrams and strong semantic alignment for use case models. By mitigating structural and behavioral reasoning conflicts, this research provides a replicable architecture and rigorous assessment methodology, establishing a robust foundation for scalable, artificial intelligence-driven automation in software engineering.

Copyrights © 2026






Journal Info

Abbrev

EEI

Publisher

Subject

Electrical & Electronics Engineering

Description

Bulletin of Electrical Engineering and Informatics (Buletin Teknik Elektro dan Informatika) ISSN: 2089-3191, e-ISSN: 2302-9285 is open to submission from scholars and experts in the wide areas of electrical, electronics, instrumentation, control, telecommunication and computer engineering from the ...