UMLGraphIR: A unified graph-based representation for UML generation, evaluation, and feedback in software engineering education

计算机科学 JSON文件 统一建模语言 UML的应用 顺序图 程序设计语言 软件工程 UML工具 图形重写 工作流程 系统建模语言 一致性(知识库) 软件 代表(政治) 可视化 图形 故事驱动建模 活动图 软件系统 对象约束语言 类图 数据挖掘 用例图 理论计算机科学 软件体系结构 模型转换 软件开发 基于构件的软件工程 模型驱动体系结构 需求工程 软件开发过程 组分(热力学) 转化(遗传学)
作者
Reshma P Nair,M.G. Thushara,Kanagasabapathi Somasundaram
出处
期刊:Information & Software Technology [Elsevier BV]
卷期号:200: 108296-108296
标识
DOI:10.1016/j.infsof.2026.108296
摘要

Context: Unified Modeling Language (UML) is widely used in software engineering education to teach system analysis and design. However, manually translating textual software specifications into consistent UML diagrams is challenging for learners due to ambiguity, inconsistent interpretation, and the lack of cross-diagram alignment. Existing NLP- and LLM-based approaches generate diagrams but often lack a unified intermediate representation to ensure structural consistency and explainability. Objective: This study aims to develop a unified graph-based intermediate representation, called UMLGraphIR, designed to provide interpretable feedback for learners through graph-based structural analysis. The goal is to enable reliable transformation of textual specifications into consistent UML diagrams through a structured workflow while supporting explainable evaluation and validation. Methods: The proposed framework follows a multi-stage transformation pipeline: (1) extracting actors, actions, and relationships using an LLM-based component identification process; (2) representing these elements using a structured JSON schema; (3) converting the JSON into a weighted adjacency matrix encoding UML relationships such as association, include, and extend; and (4) generating a canonical graph using Graphviz and PlantUML for visualization and validation. A Library Management System case study demonstrates the process, and evaluation is performed through graph-based structural comparison with instructor-defined reference diagrams. Results: The framework successfully generated use case, class, and sequence diagrams with improved structural alignment and semantic accuracy, achieving a mean structural accuracy of 92.58% across 20 software specifications compared to 68.62% for student-generated baselines. The unified graph-based representation enhanced cross-diagram consistency, enabled quantifiable structural validation through node convergence (94.1%), edge convergence (90.9%), and relationship type accuracy (92.3%), and reduced modeling errors commonly found in student-generated diagrams. A pilot observational study further showed that students who revised their diagrams using UMLGraphIR-generated feedback improved their mean accuracy to 88.50%. The UMLGraphIR Streamlit prototype demonstrated the practical feasibility of graph-based UML generation, validation, and feedback delivery, providing interpretable feedback through graph-level identification of missing elements, relationship mismatches, and structural inconsistencies. Conclusion: UMLGraphIR offers a consistent, explainable, and scalable approach for transforming textual specifications into UML diagrams. By establishing a unified graph-based representation, the framework improves diagram quality, supports cross-diagram coherence, and enhances educational feedback mechanisms. The approach provides a foundation for future extensions such as multimodal inputs, additional UML diagram types, and broader integration into model-driven engineering workflows.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
从容砖家完成签到,获得积分10
刚刚
刚刚
1秒前
1秒前
2秒前
是个i人发布了新的文献求助20
2秒前
紧张的沧海完成签到,获得积分10
2秒前
2秒前
隐形曼青的应助被renyun采纳,获得30
2秒前
涛声依旧完成签到,获得积分10
2秒前
景哉发布了新的文献求助10
2秒前
3秒前
3秒前
李sir发布了新的文献求助10
3秒前
闻道完成签到,获得积分20
3秒前
碎觉觉发布了新的文献求助10
3秒前
3秒前
4秒前
4秒前
dz618完成签到,获得积分10
4秒前
5秒前
蛋p发布了新的文献求助10
5秒前
852的应助被风花雪月采纳,获得10
6秒前
zx完成签到,获得积分10
6秒前
细心的语蓉的应助被harry采纳,获得20
6秒前
bkagyin的应助被wyp采纳,获得10
6秒前
深情安青的应助被谦让蛋挞采纳,获得10
6秒前
怕黑匕完成签到,获得积分10
7秒前
njb发布了新的文献求助10
7秒前
yy关闭了yy的文献求助
7秒前
7秒前
movoi发布了新的文献求助10
7秒前
小龙虾发布了新的文献求助10
8秒前
DVD发布了新的文献求助10
8秒前
kilito完成签到 ,获得积分10
10秒前
coco完成签到,获得积分10
10秒前
咖喱花菜发布了新的文献求助10
10秒前
kkkim发布了新的文献求助10
10秒前
11秒前
一二三完成签到,获得积分10
11秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
CODESSA 2000
Rosenblum, Global Change Biology 800
Berberine regulates the TLR4 signaling pathway to suppress hypoxia-induced proliferation and migration of pulmonary arterial smooth muscle cells 520
Organizational Behavior 510
The Welfare Assembly Line: Public Servants in the Suffering City 500
Polymer-based Membranes for Separation and Recovery of Precious Metals 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 计算机科学 工程类 纳米技术 有机化学 化学工程 内科学 物理 生物化学 复合材料 催化作用 细胞生物学 人工智能 心理学 无机化学 基因 遗传学
热门帖子
关注 科研通微信公众号,转发送积分 7849585
求助须知:如何正确求助?哪些是违规求助? 9369509
关于积分的说明 20667405
捐赠科研通 7446747
什么是DOI,文献DOI怎么找? 3342995
关于科研通互助平台的介绍 2486313
邀请新用户注册赠送积分活动 2366032