The stencil contains both UML shapes and non-normative shapes, which are the shapes not defined in the standard, but used in some UML books and papers. How to enable developer mode, please read a help item in Visio 2007 In Visio 2007, Microsoft has disables styles, unless you run a developer mode. In this way, you can easily create a communication diagram from a class diagram by copying and pasting the class diagram and then selecting all the classes and changing their text style. In Visio 2003 and earlier versions, you can easily change a class to an object, and vice versa, by changing its text style from "UM Classifier" to "UM Instance". The State Lifeline in Timing Diagram can be modified by moving the controls at the right side. You can glue the "Region/Partition" to another shape and in this way increase the number of connection points on its sides. If you right-click the shape "Region/Partition", you can turn it into a "Connection Points Line", which is an invisible line containing 80 connection points. There is an alternative way of adding connection points to a shape side. For example, you can move them near to class operations or attributes, and then connect Relationships or Notes to them. In the bottom-left corner of most two-dimensional shapes there is a pool of connection points that you can move around using controls. Align Left moves text right, and Align center moves the control to the middle of the text. Select the Label shape, and Click Align Right button on Formatting Toolbar to move text to the left side of the control. Text of the Label shape can be moved to the right or left side of the yellow control (green in Visio 2000). To edit existing text, click once on the yellow control, and press F2, or select Text Tool from the menu. It selects the underlying text box, which turns green. To add association roles and cardinalities (multiplicities) to associations, select the shape and click once on the yellow control (green in Visio 2000). Press F2, or select Text Tool (click icon "A" on the menuīar), or right-click the selected compartment and select Edit To edit existing text, select the additional compartment and It turns gray in Visio 4.1 – 5.0 and in VisioĢ000-2002 it changes its corners to a light green symbol that New text, select the shape and click once on the additionalĬompartment. You can edit text in the additional compartments. To do so, click the control on the bottom line of the shape and drag it up. You can open additional compartments of a class, object, package, part, component, node, state, and use case. When you right-click most of the shapes, a useful menu appears. In Visio 2000 and Visio 5, moreover, in Tools, Options, Advanced tab, place check marks in the Enable Microsoft Basic for Applications, Load Visual Basic for Applications from text, and enable Automation Events check boxes. With these settings will Visio automatically create connection points on Lifelines in sequence diagrams, when you connect Messages, Fragments, or Interaction Occurrences to Lifelines. If for some reason, you open first another template (such as a blank template, or the UML Model Diagram template built-in Visio) and then open the UML 2.2 stencils from this other template, you need to change some settings.Ĭlick Tools, Snap & Glue and place check marks in the Glue and Shape Vertices check boxes. When starting creating a new diagram using "New / Browse Templates", look for the template icon shown on the left. The template and the stencils are designed to work together. The template defines all required Visio settings, and opens automatically two stencils: "UML 2.2 Symbols", Start by opening the template "UML 2.2 Template". These tips are useful especially for those who are new to Visio. If Visio asks you whether to enable or disable macros, disable them. The stencils and template do not contain macros. However, if you have additional questions or tips that could be included on this page I would appreciate your feedback.Ĭontrol-D to add this link to your favorites. Please read them before asking me questions. This page contains tips how to draw all UML symbols and diagrams specified in the OMGĭocument formal/, "OMG Unified Modeling Language (OMG UML), Superstructure, version 2.2". Tips for Using Visio Stencil and Template for UML 2.2
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |