2000 · 360 citations · 8 references
ComputingComputer ScienceDesign AutomationDiagrammingRequirements EngineeringDesign HierarchySoftware ConstructionSoftware DesignSoftware ModelingSystem RepresentationInterleavingInterleaving TechniquesSequence DiagramsState DiagramsStatechartsUml ModelingUml Sequence Diagrams
Computer support is essential for translating UML requirements into design, yet generating statecharts from sequence diagrams must overcome conflict resolution, duplicate behavior handling, and the need for structured, hierarchical artifacts. This paper proposes an algorithm that automatically generates UML statecharts from collections of sequence diagrams, addressing these challenges and demonstrating its effectiveness on an ATM example. The algorithm merges independently developed sequence diagrams by detecting and resolving conflicts, recognizing and merging identical behaviors, and producing an approximate statechart that designers can refine. The algorithm successfully tackles all three challenges and is illustrated with a well‑known ATM example.
This paper presents an algorithm for automatically generating UML statecharts from a collection of UML sequence diagrams. Computer support for this transition between requirements and design is important for a successful application of UML's highly iterative, distributed software development process. There are three main issues which must be addressed when generating statecharts from sequence diagrams. Firstly, conflicts arising from the merging of independently developed sequence diagrams must be detected and resolved. Secondly, different sequence diagrams often contain identical or similar behaviors. For a true interleaving of the sequence diagrams, these behaviors must be recognized and merged. Finally, generated statecharts usually are only an approximation of the system and thus must be hand-modified and refined by designers. As such, the generated artifact should be highly structured and readable. In terms of statecharts, this corresponds to the introduction of hierarchy. Our algorithm successfully tackles all three of these aspects and will be illustrated in this paper with a well-known ATM example.
8
Statecharts: a visual formalism for complex systems
David Harel · Science of Computer Programming · 1987 · 6.7K citations
Scenarios in system development: current practice
K. Weidenhaupt, Klaus Pohl, Matthias Jarke et al. · IEEE Software · 1998 · 404 citations
On the Formal Semantics of Statecharts (Extended Abstract)
David Harel, Amir Pnueli, Jeanette P. Schmidt et al. · Logic in Computer Science · 1987 · 206 citations