Attribute-wise formatting in object diagrams
I am creating an object diagram and creating some instances of my classes. The instances are unnamed, correctly resulting in an underlined colon followed by the instance's type, e.g. ": FooBar". Now, I specify an attributes value choosing a defining feature and a concrete value, leading to the attribute name, followed by a colon, the attributes type and the value, e.g. "name : String[1] = "Peter". I would like to disable the type of attribute since it repeats information from the corresponding class diagram. If I select the attribute in my object diagram and press the corresponding toggle button (Show Type), the type of the attribute is not hidden. Alternatively, I can select the instance itself and press toggle the Show Type button. It results in the desired visual depiction of attributes ("name = "Peter" in the example), but the diagram does not display the type of the unnamed instance anymore. Is there a way to control the formatting of attributes in object diagrams without modifying the way classifiers are formatted?
![](https://secure.gravatar.com/avatar/fb1a5631608786deefaf85302837c1e3?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)