Diagram Display Configuration Administration

Introduction

Due to the number of graphic properties on diagrams that are not accessible from Rhapsody, these properties have been set by default in a properties file. By editing this file, it is possible to configure the display of diagrams in MagicDraw.

This guide explains how to configure the display of diagrams in MagicDraw.

Administration

The Default Properties File can be modified to add, subtract, or change Property settings. However the modifications must follow the format:

Diagram_Type.Element_Type.Property_Name=Property_Value

or for Diagram Properties:

Diagram_Type.Property_Name=Property_Value

Diagram Types

Two Kinds of Diagram Types are allowed:

DIAGRAM Key Word

Using the DIAGRAM key word, the defined property will apply to all diagrams in the model.

UML Diagram Types

Here is the complete list of UML Diagram Types allowed:

Element Types

Four Kinds of Element Types are allowed:

NODE Key Word

Using the NODE keyword, the defined property will apply to any Node (e.g. Box) in the diagram.

EDGE Key Word

Using the EDGE keyword, the defined property will apply to any Edge (e.g. Line) in the diagram.

UML Element Types

Any Element Types defined in the UML2 metamodel can be used. For more information on Element Types, consult MDAccess for UML > Reference > API Reference.

Stereotype Names

Any stereotype defined in the Model can be used.

Graphical Property Names

Two kinds of Graphical Property Names are allowed:

UML Property Names

Here is the complete list of UML Properties allowed:

showStereotype
Property that can be defined either on a NODE or on an EDGE.
Set to false, Stereotypes are hidden.
Set to true, Stereotypes are shown.

showName
Property that can be defined either on a NODE or on an EDGE.
Set to false, Names are hidden.
Set to true, Names are shown.

showStructure
Property that can be defined on a NODE.
Set to false, Attributes and Operations are hidden.
Set to true, Attributes and Operations are shown.

suppressAttributes
Property that can be defined on a NODE.
Set to false, Attributes are hidden.
Set to true, Attributes are shown.

suppressOperations
Property that can be defined on a NODE.
Set to false, Operations are hidden.
Set to true, Operations are shown.

MagicDraw Symbol Property Names

SHOW_CONSTRAINTS
Property that can be defined either on a NODE or on an EDGE.
Set to false, Constraints are hidden.
Set to true, Constraints are shown.

SHOW_EXTENSION_POINT
Property that can be defined on an Extend.
Set to false, Extension Points are hidden.
Set to true, Extension Points are shown.

SHOW_NAME
Property that can be defined either on a NODE or on an EDGE.
Set to false, Names are hidden.
Set to true, Names are shown.

SHOW_OPERATIONS_STEREOTYPE
Property that can be defined on a Classifier.
Set to false, Operations Stereotypes are hidden.
Set to true, Operations Stereotypes are shown.

SHOW_TAGGED_VALUES
Property that can be defined either on a NODE or on an EDGE.
Set to false, Tagged Values are hidden.
Set to true, Tagged Values are shown.

SHOW_TYPE
Property that can be defined on EDGE.
Set to false, Types are hidden.
Set to true, Types are shown.

SUPPRESS_CLASS_PORTS
Property that can be defined on a Classifier.
Set to false, Operations Stereotypes are shown.
Set to true, Operations Stereotypes are hidden.

SUPPRESS_CONSTRAINTS_COMPARTMENT
Property that can be defined on a Classifier.
Set to false, Constraints are shown.
Set to true, Constraints are hidden.

SUPPRESS_EXTENSIONS
Property that can be defined on a Use Case.
Set to false, Extensions are shown.
Set to true, Extensions are hidden.

SUPPRESS_PARTS_COMPARTMENT
Property that can be defined on a Classifier.
Set to false, Parts are shown.
Set to true, Parts are hidden.

SUPPRESS_PROPERTIES_COMPARTMENT
Property that can be defined on a Classifier.
Set to false, Properties are shown.
Set to true, Properties are hidden.

SUPPRESS_STATE_ACTIONS
Property than can be defined on a State.
Set to false, Actions are shown.
Set to true, Actions are hidden.

MagicDraw defines a very large number of Symbol Properties. They are not all taken into account in the current version. Only the properties defined above are taken into account.