UML Communication Diagrams
UModel Communication Diagram Features:
- Toolbar for quick access to communication diagram elements
- Select messages from existing operations in target class
- Create new operations in target class with new messages
- Automatically generate a new sequence diagram based on communication diagram
- Elements can be assigned to diagram layers and selectively viewed or hidden
- Unlimited undo/redo encourages exploring new ideas
Communication Diagrams Describe Messages Transmitted between Objects and Imply Associations between Classes
UML communication diagrams are similar to sequence diagrams, but provide an overview of the relationships between objects, rather than focusing on the order of messages between objects, as your software executes.
UModel® 2015 lets you begin a new communication diagram by creating a new object lifeline in the communication diagram toolbar or in the right-click menu. Alternatively, if you want to create an object from an existing class, you can drag the class from the model tree into your communication diagram.
Communication diagrams have a free-form layout, so you can position objects to emphasize their relationships. You might want to create all the objects involved in the interaction and position them logically before creating any messages. Communication diagrams typically describe one instance, or a single path, of program execution.
As you add message lines between objects, UModel conveniently numbers the messages in the order they are created. You can insert a new message or edit a message sequence number and UModel automatically renumbers all the other messages in order.
Creating Class Operations from Transitions
When you add a new transition to a lifeline that represents a class, you can create a new message name or use the pull-down list in the Properties window to assign an existing operation from the target class.
Automatic Creation of Operations lets you simultaneously add a new operation in the target class when you create a transition in the communication diagram.
Creating a Sequence Diagram from a Communication Diagram
The UModel right-click context menu lets you automatically create a new sequence diagram using the same objects and messages in your communication diagram.
The new sequence diagram is fully independent of the communication diagram, so you can edit and enhance it as you like.