Altova 시퀀스 다이어그램 - Altova sikwonseu daieogeulaem

Altova 시퀀스 다이어그램 - Altova sikwonseu daieogeulaem

UModel Sequence Diagram Features:

  • Toolbar for sequence diagram elements
  • Elements can be assigned to diagram layers
  • Messages in diagrams refer to operations in classes
  • Supports all 14 UML diagram types

  • Generate Java, C#, or VB .NET code
  • Generate sequence diagrams from code
  • Round-trip engineering syncs changes
  • Unlimited undo/redo encourages exploring new ideas

UML Sequence Diagrams

UModel ueses sequence diagrams to describe the interactions between objects in an application and the messages objects send and receive.

Altova 시퀀스 다이어그램 - Altova sikwonseu daieogeulaem

When you create a new sequence diagram, UModel 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

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.

UModel

UModel supports all 14 UML diagrams, as well as a UML diagram for XML Schemas and another to model tables in relational databases, giving your team a powerful UML modeling tool at a fraction of the cost of legacy solutions. To see a comprehensive list of all UML diagram types, see our UML diagrams page or click on the link below to download a 30-day trial of Altova UModel.

This example shows you how to generate a Sequence diagram from a method. The project containing this method will be reverse-engineered from Java source code. You can find the Java source code at the following path: C:\Users\<user>\Documents\Altova\UModel2023\UModelExamples\OrgChart.zip. First, unzip the OrgChart.zip archive to the same location (for example, right-click the archive in Windows Explorer and select Extract All).

1.On the Project menu, click Import Source Directory, and select the directory unzipped previously.

2.Go through the wizard steps to import the source code as a Java project. For more information about this step, see Reverse Engineering (from Code to Model).

3.Having imported the code, right-click the main method of the OrgChartTest class in the Model Tree and select Generate Sequence Diagram from Code... from the context menu.

Altova 시퀀스 다이어그램 - Altova sikwonseu daieogeulaem

This opens the Sequence Diagram Generation dialog box in which you define the generation settings.

Altova 시퀀스 다이어그램 - Altova sikwonseu daieogeulaem

4.Select the presentation and layout options, and then click OK to generate the diagram. The settings shown above produce the sequence diagram below.

Altova 시퀀스 다이어그램 - Altova sikwonseu daieogeulaem

Sequence diagram generation options

The table below lists the generation options pertaining to Sequence diagrams.