Can I Make A Use Case Diagram With Visual Studio For Mac

Active3 years, 3 months ago

I'm designing a model in C# and I have classes which refer to and from each other;

Code Map helps you to understand the design and the architecture of your code. This video shows how you can use Code Map to create an inheritance diagram, understand the architecture of your. Use case diagram is a behavioral UML diagram type and frequently used to analyze various systems. They enable you to visualize the different types of roles in a system and how those roles interact with the system.

Now, I know that Order->ChildItems is the inverse relationship to OrderItem->ParentOrder. What I can't seem to do is represent that on a class diagram as a single arrow with two arrows, two labels, etc. I can get this;

Diagram

but I'd prefer a single arrow to make it clear that there is one relationship going on here. Is that possible?

Steve CooperSteve Cooper
13.6k13 gold badges58 silver badges80 bronze badges

1 Answer

As far as I know this not possible under Visual Studio 2015. What I am sure is that the arrows express the navigability of the association. An association with one arrow mean that the relation if navigeable in one direction if you do not arrows it does not necessary mean that the association is not navigeable (it depends). if you have a cross at any end of the association it mean that it is not navigeable. for more info please take a look at page 212 of the UML 2.5 specification http://www.omg.org/spec/UML/2.5/PDF/

Usually tools use a different layout when an association is naviageable or not in both direction in order to be able to see the difference directly on the diagram.

This does not seem to be the case with visual studio.

OnlineRed BeardRed Beard
2,8631 gold badge9 silver badges16 bronze badges
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

Sequence Diagram

Not the answer you're looking for? Browse other questions tagged visual-studio-2015umldiagramclass-diagram or ask your own question.