uml - Visual Studio Class Diagram - Show two-way associations as a single arrow? -
i'm designing model in c# , have classes refer , each other;
class order { public icollection<orderitem> childitems { get; set; } } class orderitem { public order parentorder { get; set; } }
now, i know order->childitems inverse relationship orderitem->parentorder. can't seem represent on class diagram single arrow 2 arrows, 2 labels, etc. can this;
but i'd prefer single arrow make clear there 1 relationship going on here. possible?
as far know not possible under visual studio 2015. sure arrows express navigability of association. association 1 arrow mean relation if navigeable in 1 direction if not arrows not necessary mean association not navigeable (it depends). if have cross @ end of association mean not navigeable. more info please take @ page 212 of uml 2.5 specification http://www.omg.org/spec/uml/2.5/pdf/
usually tools use different layout when association naviageable or not in both direction in order able see difference directly on diagram.
this not seem case visual studio.
Comments
Post a Comment