In class diagram I am creating classes A and B. Then property in A like this: "b: B". Now in context menu of the property i have "Create association to..." item. If executed it creates correct association and hides property b from class A. Why is that? How can I prevent it? I want property b to be visible in A.
"Create association to..." action creates an association and the selected Property becomes a member end of the newly created associtation. After that the Property will be shown on the diagram as a Source or Target End of the Association. There is no need to show the Property twice - as a Property of a Class and as a Member and of an Association, therefore property on the class 'dissapears'