How to create reusable UML elements in visio?

729 views Asked by At

I have a team of architects/designers creating a set of UML models. Most are used to using visio.
To enforce some discipline, i want to create a set of read only UML components that represent applications in the organization.
What I need is a something like a stencil containing these application UML elements.
When someone drags and drops them on a diagram, they will get a non editable object. They can connect it to other elements, and use it in anyway required, but they cannot change the name of the element (and certain other attributes) because this denotes an application in the organization.
How do I achieve this in Visio 2010 Standard Edition?
I have tried the following

  • Created a stencil
  • Created a Copy of a UML component master
  • Named the component after the application that I want it to represent

When I drop this application from the stencil to a diagram, I get a blank UML component with a blank name. I want this component on the diagram to have the name of the application (that I gave the UML element in the stencil).

1

There are 1 answers

1
bvdb On

Some history:

  • Microsoft bought the Visio software in 2000.
  • The UML 2.0 standard was only released in 2004.
  • Visual Studio 2005 contained limitted but very intuitive UML modeling tools.

Little changed in Visio, but Visual Studio's modeling tools continued to improve. It looked for a while like Microsoft decided to let Visio go.

Unfortunately, Visio just won't die. It has become an industry standard, not only for UML, but for all kind of drawings. (e.g. electrical circuits, network architecture drawings, ...). And I have to admit, that Visio's integration with Microsoft's SharePoint platform is really great. You can create Visio diagrams online, without the need to install it on your computer.

If you wanted to stick with Visio, and are still looking for a good template. You can find various templates online (e.g. here).

We had been using Visio for over 15 years in our company, when we had a young graduate who asked us if he could use UMLet. Some of us had been using StarUML† secretly already. (Nobody likes to use Visio in all honesty). Today, everybody within our company uses UMLet, but we do use Visio for external documents if our customer really insists to use this format.

Software should be intuitive. You don't need any training to use UMLet. It's free, it's made spefically for UML. The content and markup of each element is textual, which keeps things simple, and saves you hours of time.

UMLet