This sample extends Visual Studio Ultimate. It lets users align shapes neatly on a UML diagram. If you
hold the shift key, it will also make the widths uniform.
For example: Align a vertical set of shapes:

Align a horizontal set of shapes:

Result:

Adjusting widths - hold the shift key while selecting Align and Resize:

Result:

Installing the Sample
- You must have:
- Visual Studio 2010 Ultimate
- Visual Studio SDK
- Download, unzip, and open the sample in Visual Studio.
- Press F5 to build the sample and start an experimental instance of Visual Studio.
- In the experimental instance, open a modeling project and experiment with model diagrams.
- To install the command on your computer or another computer that has Visual Studio Ultimate, copy bin\Debug\AlignCommand.vsix to the target computer; double-click it. To uninstall, use Tools>Extensions Manager in Visual Studio.
What this sample demonstrates
Discussion and Questions
Please post suggestions and questions on the
Visualization and Modeling SDK Forum.
Related samples