Mar 032017
 

When you need to visually identify the particular information of the element, you should go to the specification of that element or display this value in the compartment of that element symbol. Starting with 18.5 version of MagicDraw, this can be achieved in more simple and compact way – by changing the element’s symbol appearance on a diagram using legends.

Legends provide a quick way to visually distinguish elements. Symbol colors and icons defined in a legend allow you to instantly indicate and recognize information about elements, such as property values. Legends have been significantly improved with MagicDraw 18.5. You can now change symbol appearance according to the specified condition. See Figure 1.

Figure 1. The multiple aspects of the requirement in one view.

As you can see in Figure 1, the diagram represents multiple aspects of requirements. The properties of each requirement are represented through symbol colors and icons. For example, the “Quick Charge Mode” requirement is of medium risk (yellow warning icon), has the approved status (green fill color) and is satisfied by design element (green flag icon). All of this information can be seen in one diagram, at a glance. Therefore you don’t need to check it in the Specification windows of individual elements.

Legends creation.

You can create legends by using the button located in the “Common” group of the diagram pallet. Legends serve as grouping elements for a set of visualization elements called legend items. Legend items can be created directly from a legend symbol, as illustrated in Figure 2.

Figure 2. Creating legend and legend items.

A legend item defines the representation of an element symbol. In order to change symbol appearance, you can specify symbol fill, line, background colors and icons. Legend items can be applied to elements in two different ways:

  • By selecting particular elements from the model
  • By specifying a condition to evaluate model elements

The second method utilizes a new Property Test operation which simplifies the specification of the condition that checks the value of an element property. All you need to do is select an element type, choose the desired property and specify its value. See Figure 3.

Figure 3. Specifying condition.

A legend item is then applied to all model elements that contain the specified property value.

5.00 avg. rating (98% score) - 1 vote

  One Response to “Legends”

  1. avatar

    What are the specifications for the “icons”, (they are SVGs but what resolution)? Are these icons available with in the MD 18.5? If yes then where?

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

Time limit is exhausted. Please reload CAPTCHA.