开发者

How do I specify the visibility of an relationship in UML?

开发者 https://www.devze.com 2023-02-03 20:34 出处:网络
I am creating class diagrams for C# code and I\'d like to specify the visibility of relationships. I\'m using named arrows to specify the relationships but I dont think its right to put the visibility

I am creating class diagrams for C# code and I'd like to specify the visibility of relationships. I'm using named arrows to specify the relationships but I dont think its right to put the visibility signal (+, -, ~, #) tog开发者_开发技巧ether with the name. I also don't want to repeat the relationship as a property in the class.

Please tell me if I wasn't clear enough. Thanks.


I hope I understand your question. For me, it's not a problem to put the visibility of a property with the property name like this :

  + PropertyClassA                    + PropertyClassB
<------------------------------------------------------->  
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号