Specifying behavioral semantics of UML diagrams through graph transformations

  • Authors:
  • Jun Kong;Kang Zhang;Jing Dong;Dianxiang Xu

  • Affiliations:
  • North Dakota State University, Fargo, ND 58105, United States;The University of Texas at Dallas, Dallas, TX, United States;The University of Texas at Dallas, Dallas, TX, United States;North Dakota State University, Fargo, ND 58105, United States

  • Venue:
  • Journal of Systems and Software
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

The Unified Modeling Language (UML) has been widely accepted as a standard for modeling software systems from various perspectives. The intuitive notations of UML diagrams greatly improve the communication among developers. However, the lack of a formal semantics makes it difficult to automate analysis and verification. This paper offers a graphical yet formal approach to specifying the behavioral semantics of statechart diagrams using graph transformation techniques. It supports many advanced features of statecharts, such as composite states, firing priority, history, junction, and choice. In our approach, a graph grammar is derived automatically from a state machine to summarize the hierarchy of states. Based on the graph grammar, the execution of a set of non-conflict state transitions is interpreted by a sequence of graph transformations. This facilitates verifying a design model against system requirements. To demonstrate our approach, we present a case study on a toll-gate system.