I have used Enterprise Architect to create a simple class diagram. What I can't figure out how to do is make it show the relationships such as 1 to 1, etc...
Seems like a simple thing to show, but this program is not user friendly at all.
I have used Enterprise Architect to create a simple class diagram. What I can't figure out how to do is make it show the relationships such as 1 to 1, etc...
Seems like a simple thing to show, but this program is not user friendly at all.
It is fairly simple actually - for both Class and Object diagrams you can use "Associate" from the toolbox. Then if you double click the association, you will be able to enter multiplicity under "Source Role" and "Target Role" tabs.
When you draw two classes and put association connector between them, you should right click the association, you will see multiplicity, but you should do this work in near of any class on the line of association.
In the association properties dialog go to target and source role sections. There you'll find the multiplicity fields to fill in. You can also right click near the ends of the association on a diagram and select "multiplicity" from the context menu.
© 2022 - 2024 — McMap. All rights reserved.