UML Sequence Diagrams
UModel Sequence Diagram Features:
- Toolbar for quick access to sequence diagram elements
- Elements can be assigned to diagram layers and selectively viewed or hidden
- Messages in sequence diagrams refer to operations in classes
- Generate Java, C#, or VB .NET code from sequence diagrams
- Generate sequence diagrams from existing Java, C#, or VB .NET code
- Round-trip engineering syncs changes in diagram or code
- Unlimited undo/redo encourages exploring new ideas
Sequence Diagrams Describe the Interactions between Objects in an Application and the Messages Objects Send and Receive
When you create a new sequence diagram, UModel® 2013 automatically displays the sequence diagram toolbar for quick access to specialized UML elements including lifelines, combine fragments, gates, message call and reply arrows, message arrows that create new lifelines or destroy existing objects, notes, and more. UModel offers flexible options for sequence diagrams to support your UML diagramming style. You can choose to:
- Automatically create a syntactically correct reply whenever a message is added
- Select Go To Operation from the right-click context menu to assign a message based on an operation listed in the Model Tree
- Select simple consecutive message numbers or nested (decimal) message numbering via the sequence diagram toolbar
- Apply time constraints to sequences, using familiar timing diagram notation
. . . and much more. UModel lets you easily do it all.
Create Operations in Referenced Classes
When you add a new message to a lifeline that represents a class, you can assign a message name or select an existing operation in the target class from the Properties window.
If you turn on Automatic Creation of Operations in the Sequence Diagram toolbar, you can simultaneously create a new operation in the class when you type the name of the new message in your sequence diagram.
Generate Source Code from Sequence Diagrams
UModel empowers developers to generate code from sequence diagrams for methods that describe class operations. This functionality greatly enhances UModel as a visual design and code generation tool, since developers can insert entire code bodies in sequence diagrams and create a complete executable application, rather than a starting point that requires further hand-written code.
You can generate source code from new sequence diagrams when forward engineering a new design, you update existing code by revising sequence diagrams that were reverse-engineered, and you can even apply round-trip engineering to synchronize later changes to either the source code or sequence diagrams in your UML model.
UModel code generation from sequence diagrams is supported for Java, C#, and Visual Basic languages.
Automatically Generate Sequence Diagrams from Existing Code
UModel lets you generate sequence diagrams from source code files that have been reverse engineered into UML classes. These detailed diagrams will greatly enhance traceability and accelerate analysis, reuse, debugging, or enhancement of legacy applications. You can generate multiple sequence diagrams in a single step by selecting operations in reverse engineered classes from the model tree.
The resulting sequence diagrams can be an invaluable tool to quickly and easily expose multiple operations for visual examination, facilitating analysis of large, complex applications.