Understand Class Diagram Presentation Options
Visual Paradigm’s Class Diagram offers a variety of presentation options that allow users to customize the view of their diagrams. You can adjust settings such as visibility of attributes and operations, notation styles, and layout preferences to tailor the diagram to your needs. Below are all presentation options available to class diagram and what are their meaning.
Options | Available Setting | Meaning |
Class Display Options. Show Owner | Specify how the class in this diagram being shown. | |
Do not Show | Only show the name of the class. | |
Show Fully-Qualified | Show fully-qualified parents below class name. | |
Show Name Only | Show immediate parent name below class name. | |
When Different from View | Show fully-qualified parents only when the class in diagram under different parent compare to model structure. | |
Configure Class Presentation Options | To configure multiple presentation options for the classes at once. | |
Attribute Display Options | ||
Show Initial Value | Display the initial value of an attribute if it being defined. | |
Hide Initial Value | Hide out the initial value of an attribute if it being defined. | |
Show Getter Setter Properties | Indicate the getter and/or setter properties on diagram. | |
Show Code Details | To show the Attribute’s Code Details on diagram. Project need to specify model for specific programming language. | |
Show Type | To show/hide attribute’s datatype. | |
Show Property Modifiers | To show/hide the ID and readOnly modifier. | |
Show Referenced Attributes | To show the attributes which comes from association. | |
No Sorting | Manual sort attribute’s order. | |
Sort by Name | Sort attributes according to their names in alphabetical order. | |
Sort by Visibility | Sort attributes according to their visibility. | |
Sort by Stereotype | Sort attributes according to its stereotypes. | |
Hide All | Show all attribute(s) in a class. | |
Show All | Hide all attribute(s) in a class. | |
Show Public Only | Only show public attribute(s) in a class. | |
Operation Display Options | ||
Show Signature | To show the entire operation situation. | |
Hide Signature | Only show operation name without signature. | |
Show Parameters | ||
Show Return Type | To show the return type of the operation. | |
Show Code Details | To show the Operation’s Code Details on diagram. Project need to specify model for specific programming language. | |
Show Parameter Code Details | To show the Operation Parameter’s Code Details on diagram. Project need to specify model for specific programming language. | |
No Sorting | Manual sort operation’s order | |
Name | Sort operations according to their name in alphabetical order. | |
Visibility | Sort operations according to their visibility. | |
Stereotype | Sort operations according to its stereotypes. | |
Hide All | Hide all operation(s) in a class. | |
Show All | Show all operation(s) in a class. | |
Show Public Only | Only show public operation(s) in a class. | |
Enumeration Literal Display Options | ||
No Sorting | Manual sort enumeration literal. | |
Name | Sort enumeration literal by name in alphabetical order. | |
Stereotype | Sort enumeration literal by its stereotypes. | |
Hide All | Hide all enumeration literals in diagram. | |
Show All | Show all enumeration literals in diagram. | |
Reception Display Options | ||
No Sorting | Manual sort receptions. | |
Name | Sort receptions by name in alphabetical order. | |
Visibility | Sort receptions according to their visibility. | |
Stereotype | Sort receptions according to their stereotypes. | |
Hide All | Hide all receptions in a class. | |
Show All | Show all receptions in a class. | |
Show Public Only | Only show public receptions in a class. | |
Class Members Display Options | ||
Visibility Style | Display class member’s visibility using UML style, icon, or not display it on class. | |
Show Class Empty Compartments | To show the attribute/operation compartment even it is empty. | |
Show Ellipsis for Hidden Members | Show ellipsis if the class got attributes/operations being set to hidden. | |
Show All Class Member | To show all class members for a class. | |
Hide All Class Members | To hide all class members for a class. | |
Association Display Options | ||
Show Stereotypes | To show the association’s stereotype on diagram. | |
Show From Role Name | To show the role name of the From end of the association. | |
Show To Role Name | To show the role name of the To end of the association. | |
Show From Role Visibility | To show the visibility of the From end of the association. | |
Show To Role Visibility | To show the visibility of the To end of the association. | |
Show From Multiplicity | To show the multiplicity of the From end of the association. | |
Show To Multiplicity | To show he multiplicity of the To end of the association. | |
Show Association End Property Strings | To show the Derived union property on association end. | |
Show Multiplicity Constraints | To display the multiplicity constraints on both From and To end of the association. | |
Show Direction | Show the direction of the association. | |
Show Navigation Arrows | Display navigable arrows on association. | |
Configure Association Presentation Options | Configure multiple association presentation options at once. | |
Generalization Set Notation | ||
One Shape per Generalization | Having separate generalization connectors in the generalization set. | |
Common Generalization Arrowhead | Group generalization connectors in the generalization set. | |
Dashed Line | Using dash line to representation generalization set. | |
Package Display Options | ||
Do not Show | Only show the name of the package. | |
Show Fully-Qualified | Show fully-qualified parents below package name. | |
Show Name Only | Show immediate parent name below package name. | |
When Different from View | Show fully-qualified parents only when the package in diagram under different parent compare to model structure. | |
Within Package Body | Display package name within package body. | |
Within Package Tab | Display package name in package tab. | |
Information Item Display Options | ||
Icon | Display Information Item with icon. | |
Keyword | Display Information Item using keyword. | |
Type | ||
Full-Qualified | Show fully-qualified attribute datatype, operations parameter and operation return type. | |
Name Only | Show name only for attribute datatype, operation parameter and operation return type. | |
Relative | ||
Show Template Info of Generalization, Realization and Binding Dependency | Display the template info. for generalization, realization and binding dependency on diagram. | |
Suppress Implied “1” Multiplicity for Attribute and Association End | To hide out the multiplicity with value “1” on diagram. | |
Class Fit Size when Show/Hide Member | To auto fit the size of class shape when show or hide its class members. | |
Background Color | To set the background color of the diagram. | |
Grid | ||
Grid Visible | To show/hide the grid on diagram. | |
Snap to Grid | Turn on/off shape snap to grid behaviour. | |
Grid Color | To specify the grid color. | |
Grid Setting | To configure multiple grid setting at once. | |
Auto Expend Borders | ||
Right | To auto extend the right border of parent element when move a child element towards its right edge. | |
Bottom | To auto extend the right border of parent element when move a child element towards its bttom edge. | |
Right and Bottom | To auto extend the right border of parent element when move a child element towards its right or bottom edge. | |
Show Shape Legend | To display the shape legend on diagram. | |
Show Connector Legend | To display the connector legend on diagram. | |
Show Color Legend | To display the color legend on diagram. | |
Show Package Header | To show the package header at the top left of the diagram. | |
Show Stereotype | To show the stereotypes on diagram (exclude class members). | |
Show Tagged Values | ||
Show All | To show all element’s tagged values on diagram. | |
Show Non-Empty | Only show element’s non-empty tagged values on diagram. | |
Hide All | Hide all element’s tagged values on diagram. | |
Show Project Managements | ||
Iteration | To show iteration project management property on element. | |
Phrase | To show phrase project management property on element. | |
Discipline | To show discipline project management property on element. | |
Version | To show version project management property on element. | |
Priority | To show priority project management property on element. | |
Status | To show status project management property on element. | |
Difficulty | To show difficulty project management property on element. | |
Author | To show author project management property on element. | |
Show Relationship Constraint Expression | To display the relationship’s constraint expression on diagram. | |
Show Constraints | To show element’s constraints on diagram. | |
Always Show Model Element Indicators | To show model element’s indicator (master & auxiliary view, reference, sub-diagram, model transitor & description) on diagram. | |
Connector Caption Placement | ||
Top Left | To display the caption at the top left of the connector. | |
Top Center | To display the caption at the top center of the connector. | |
Top Right | To display the caption at the top right of the connector. | |
Middle Left | To display the caption at the middle left of the connector. | |
Middle Center | To display the caption at the middle center of the connector. | |
Middle Right | To display the caption at the middle right of the connector. | |
Bottom Left | To display the caption at the bottom left of the connector. | |
Bottom Center | To display the caption at the bottom center of the connector. | |
Bottom Right | To display the caption at the bottom right of the connector. | |
Caption Placement | ||
Top Left | To display the caption at the top left of the class. | |
Top Center | To display the caption at the top center of the class. | |
Top Right | To display the caption at the top right of the class. | |
Middle Left | To display the caption at the middle left of the class. | |
Middle Center | To display the caption at the middle center of the class. | |
Middle Right | To display the caption at the middle right of the class. | |
Bottom Left | To display the caption at the bottom left of the class. | |
Bottom Center | To display the caption at the bottom center of the class. | |
Bottom Right | To display the caption at the bottom right of the class. | |
Shape Presentation Option | ||
Standard | Show element with default notation. | |
Stereotype Icon | Show element according to its stereotype’s icon. | |
Show Name of Stereotype Icon | To display the name of stereotype icon on element. | |
Highlight Glossary Terms | To highlight glossary terms on matched elements. |
Related Know-how |
Related Link |
Leave a Reply
Want to join the discussion?Feel free to contribute!