How to remove certain UML labels in Visio 2010

microsoft-visio-2010uml

I am trying to draw a UML diagram and have become frustrated at the inclusion of some unwanted labels (see circled in red below) when I add composition relationships. When I select them and press Delete I get the following message:

Shape protection, container, and/or
layer properties prevent complete
execution of this command

Any ideas on how to overcome this?

alt text

Best Answer

While the statement in the answer above is true it is not the solution to the problem. Most of the UML shapes have a wide variety of display options. To remove the decorations on a UML connector do the following:

  1. right-click the shape

  2. Select "Shape Display Options..." from the menu

  3. Un-check End Options ' "First end name", "Second end name" and "End multiplicities"

  4. (Alternative) In this case you might select Suppress / "First end" and "Second end". Checking the "End Options" turns things on; checking "Suppress" turns things off.

Play around with the other UML shapes to see how they behave.

Related Question