9

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

3 Answers3

14

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.

3

That label is probably grouped with other items and cannot be removed.

See if this Microsoft article helps :

Visio: Cannot Ungroup or Modify an Object in Visio

harrymc
  • 498,455
1

If you disable the Auto assign name to newly created UML model element option in the UML Options dialog (UML -> Drawing Options), Visio will not assign meaningless names to the ends anymore.

utapyngo
  • 1,973
  • 2
  • 19
  • 33