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 = "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?