Book a Demo
Prev Next

Attribute Values - styleex & pdata

When creating a diagram profile you can define a range of characteristics of the diagrams created with the profile, using the pdata and styleex attributes. If one of these attributes is defining several characteristics at once, you put the values in a single string separated by semicolons; for example:



Select the Metaclass element, then display the 'Attributes' dialog and define or update the attributes 'styleex' or 'pdata'.

Specify the attribute type as 'string', then specify the diagram characteristics you require, in the 'Initial Value' field.

Use any of these methods to display the 'Attributes' dialog.


Design > Element > Editors > Attributes

Context Menu

In the Browser window or a diagram | Right-click on Metaclass element | Features | Attributes

Keyboard Shortcuts


styleex: string =

  • AdvancedConnectorProps=1; (to show connector property strings)
  • AdvancedElementProps=1; (to show the element property string)
  • AdvancedFeatureProps=1; (to show the feature property string)
  • AttPkg=1; (to show Package visible Class members)
  • DefaultLang=Language; (to set the default language for the diagram; Language can be one of the built-in languages such as C++ or Java, or it can be a custom language)
  • ExcludeRTF=1; (to exclude the diagram image from generated reports)
  • HandDraw=1; (to apply hand drawn mode)
  • HideConnStereotype=1; (to hide the connector stereotype labels)
  • HideQuals=0; (to show qualifiers and visibility indicators)
  • NoFullScope=1; (to hide fully scoped element names, e.g. "ParentClass::ChildClass" will be shown as "ChildClass")
  • SeqTopMargin=50; (to set the height of the top margin on Sequence diagrams)
  • ShowAsList=1; (to make the diagram open directly into the Diagram List)
  • ShowAsList=2; (to make the diagram open directly into the Gantt Chart view)
  • ShowAsList=3; (to make the diagram open directly into the Specification Manager)
  • ShowAsList=4; (to make the diagram open directly into the Relationship Matrix)
  • ShowMaint=1; (to show the element Maintenance compartment)
  • ShowNotes=1; (to show the element Notes compartment)
  • ShowOpRetType=1; (to show the operation return type)
  • ShowTests=1; (to show the element Testing compartment)
  • SuppConnectorLabels=1; (to suppress all connector labels)
  • SuppressBrackets=1; (to suppress brackets on operations without parameters)
  • TConnectorNotation=Option; (where Option is one of UML 2.1, IDEF1X, or Information Engineering)
  • TExplicitNavigability=1; (to show non-navigable connector ends)
  • VisibleAttributeDetail=1; (to show attribute details on the diagram)
  • Whiteboard=1; (to apply whiteboard mode)

pdata: string =

  • HideAtts=0; (to show the element Attributes compartment)
  • HideEStereo=0; (to show element stereotypes in the diagram)
  • HideOps=0; (to show the element Operations compartment)
  • HideParents=0; (to show additional parents of elements in the diagram)
  • HideProps=0; (to show property methods)
  • HideRel=0; (to show relationships)
  • HideStereo=0; (to show attribute and operation stereotypes)
  • OpParams =3; (to show operation parameters)
  • ShowCons=1; (to show the element Constraints compartment)
  • ShowIcons=1; (to use stereotype icons)
  • ShowReqs=1; (to show the element Requirements compartment)
  • ShowSN=1; (to show sequence notes)
  • ShowTags=1; (to show the element Tagged Values compartment)
  • SuppCN=0; (to show collaboration numbers)
  • UseAlias=1; (to use the aliases or elements in the diagram, if available)

Learn more