PeerJ Computer Science (Jun 2023)

Seamless transformation from use case to sequence diagrams

  • Abdulrahman Alyami,
  • Salvatore Flavio Pileggi,
  • Osama Sohaib,
  • Igor Hawryszkiewycz

DOI
https://doi.org/10.7717/peerj-cs.1444
Journal volume & issue
Vol. 9
p. e1444

Abstract

Read online Read online

System design is an essential subject taught in information systems and has become a core course in its curriculum. Unified modelling language (UML) has been broadly adopted, and it is common to support the system design process using different diagrams. Each diagram serves a purpose by focusing on a specific part of a particular system. Design consistency ensures a seamless process, as the diagrams are generally interrelated. However, creating a well-designed system takes a lot of work, especially for university students with work experience. To overcome this challenge, aligning the concepts across diagrams is essential, which can help achieve better consistency and management of the design system, especially in an educational setting. This article is an extension of our previous work, as we have discussed a simple scenario of Automated teller machines to demonstrate the alignment concepts between UML diagrams. From a more technical perspective, the current contribution provides a Java program that aligns concepts by converting text-based use cases to text-based sequence diagrams. Then, the text is transformed in PlantUML to generate its graphical representation. The developed alignment tool is expected to contribute to helping students and instructors during the system design phases to be more consistent and practical. Limitations and future work are presented.

Keywords