Buy

Buy
Buy Professional or Ultimate Edition

Downloads

Advertisement

Download - Mirrors

Get it from CNET Download.com!

Facebook

Associated diagrams and relationships between their elements

1/8/2011 12:04:48 AM | Dušan Rodina | 1954x

This tutorial shows how to create associate diagrams and define the relationship between two elements, which are defined in two different diagrams.

1

Create Package Diagram with two packages named PackageA and PackageB.

2

Associate new diagram to PackageA – click on Add New Diagram in context menu of package (context menu available on right click).

3

Select Class Diagram, type its name and confirm it clicking on OK button.

4

Draw a class diagram.

5

Repeat steps 2 to 4 for PackageB.

6

In Project tab of Side bar, choose All Entities view.

7

Open the package diagram with PackageA and PackageB . Drag ClassA from project tree and drop it to PackageA and ClassB to PackageB.

8

Insert relationship between two classes. For example choose Use relationship and drag from ClassA to ClassB.

Finished!

Add Comment
Subdiagramms 5/28/2011 11:28:50 AM
0 + - 0

Could this also work for subdiagrams?

I would love to have subdiagrams to actions in activity diagrams where slots (perhaps as input pins) in the subdiagram are synchronized with the ones on the upper level.

Or is that by any chance already possible and am I just not seeing the functionality?

Michael Reply
RE: Subdiagramms 5/29/2011 4:07:28 PM
0 + - 0

The synchronization is bidirectional and can be used for any element in any diagram, but it updates only the content of individual elements (name, stereotypes, tagged values, attributes, etc.). New relations between elements are not inserted into the another diagram automatically - you have to insert them manually.

Dušan Rodina (author) Reply
< 1 >