Hostname: page-component-89b8bd64d-dvtzq Total loading time: 0 Render date: 2026-05-11T05:31:17.249Z Has data issue: false hasContentIssue false

Communiqué: a planning-based sequence diagrams generator

Published online by Cambridge University Press:  23 July 2018

Moataz Ahmed
Affiliation:
King Fahd University of Petroleum & Minerals, Dhahran 31261, Saudi Arabia e-mail: moataz@kfupm.edu.sa, yaser.a.sulaiman@gmail.com
Yaser Sulaiman
Affiliation:
King Fahd University of Petroleum & Minerals, Dhahran 31261, Saudi Arabia e-mail: moataz@kfupm.edu.sa, yaser.a.sulaiman@gmail.com

Abstract

During the software system development lifecycle, different types of Unified Modeling Language model are developed to represent different views of the system. Sequence diagrams represent one of the most important types of model. They show how objects in the system interact to offer the functionality manifested in the form of use cases. As the complexity of the system being modeled increases, creating the sequence diagrams manually becomes harder. However, the problem of automatic sequence diagrams generation has not caught enough researchers yet. This paper presents an approach and a tool to automatically generate sequence diagrams from use cases and class diagrams. The problem of determining the sequence of message passing is treated as an Artificial Intelligence action planning problem and solved as such. In doing so, Design by Contract concepts are enforced in the specification of the given use cases and class diagrams. A special message-passing planner, Communiqué, was developed and implemented accordingly. The overall approach was empirically evaluated against sets of manually created sequence diagrams available in the literature. Communiqué was able to create sequence diagrams comparable to the manually developed ones. The paper also sheds the light on some directions for future work to advance the applicability of the approach.

Information

Type
Research Article
Copyright
© Cambridge University Press, 2018 

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable