Abstract
The paper proposes a formal approach for constructing UML activity diagrams from sequence diagrams by using graph transformations. Activity diagrams are good at describing the overall flow of control in a system, as they provide support for conditional and parallel behaviour, but do not capture well object interactions. Activity diagrams are mostly used in the preliminary stages of analysis and design. As the design progresses, more detailed descriptions of object interactions become necessary, and interaction diagrams are used for this purpose. During the transition from a high level to a detailed design, the mapping between the behavior represented in activity diagrams and that described in interaction diagrams may be lost, and the two views may become inconsistent. By reconstructing the activity diagrams from sequence diagrams, consistency is re-enforced. Every activity block is cross-referenced with the corresponding sequence diagram messages, which helps designers to correlate the two views. The transformation from sequence to activity diagrams is based on PROGRES, a known visual language and environment for programming with graph rewriting systems.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Booch, G., Rumbaugh, J., Jacobson, I.: The Unified Modeling Language User Guide, Addison Wesley Longman, (1999)
Fowler, M., Scott, K.: UML Distilled, Second Edition, Addison Wesley Longman, (2000)
Kahkipuro, P.: UML based Performance Modelling Framework for Object-Oriented Distributed Systems, Proc. of Second Int. Conference on the Unified Modeling Language, Lecture Notes in Computer Science, Vol. 1723, Springer-Verlag (1999)
Petriu, D.K., Wang, X.: From UML description of high-level software architecture to LQN performance models. In: Nagl, M., Schürr, A., Münch, M. (eds.): Applications of Graph Transformations with Industrial Relevance, AGTIVE’99, Lecture Notes in Computer Science, Vol. 1779. Springer-Verlag, (2000) 47–62.
Pooley, R., Stevens, P.: Using UML: Software Engineering with Objects and Components, Addison Wesley Longman, (1999)
Rumbaugh, J., Booch, G., Jacobson, I.: The Unified Modeling Language Rreference Manual, Addison Wesley Longman, (1999)
Schürr, A.: Introduction to PROGRES, an attributed graph grammar-based specification language, In: M. Nagl (ed): Graph-Theoretic Concepts in Computer Science, Lecture Notes in Computer Science, Vol. 411 (1990) 151–165.
Schürr, A.: PROGRES: A Visual Language and Environment for PROgramming with Graph Rewrite Systems, Technical Report AIB 94-11, RWTH Aachen, Germany, (1994)
Schürr, A.: Programmed Graph Replacement Systems, In: G. Rozenberg (ed): Handbook of Graph Grammars and Computing by Graph Transformation, (1997) 479–546.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2000 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Petriu, D.C., Sun, Y. (2000). Consistent Behaviour Representation in Activity and Sequence Diagrams. In: Evans, A., Kent, S., Selic, B. (eds) ≪UML≫ 2000 — The Unified Modeling Language. UML 2000. Lecture Notes in Computer Science, vol 1939. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-40011-7_27
Download citation
DOI: https://doi.org/10.1007/3-540-40011-7_27
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-41133-8
Online ISBN: 978-3-540-40011-0
eBook Packages: Springer Book Archive