How do I specify the visibility of an relationship in UML?
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
<------------------------------------------------------->
精彩评论