Prev | Next |
Modeling
This topic provides answers to a range of questions on general modeling using Enterprise Architect.
Question |
Answer |
See also |
---|---|---|
How do I set an element as an instance of a Classifier? |
To set an object as an instance of a Classifier element you can use either the keyboard shortcut or the 'Element' context menu in the diagram. See Instance Classifier in the Advanced Operations on Elements Help topic. |
Advanced Operations on Elements |
Can I Hyperlink from one Diagram to another? |
To create a hyperlink to a diagram:
|
Add Diagram Links To Diagrams |
How do I Link an Element feature's Note to an external Element-Note? |
To connect an element's internal note to an external Note element:
This creates a Note element linked to the selected feature, reflecting the content of that feature. |
Link Note to Internal Documentation |
How do I Link a Note to the Diagram's Note? |
You can display a note with the Diagram Note's text by working through these steps:
The Note now shows the contents of the diagram's 'Notes' field, and is automatically updated with any changes to this field. |
Link Note to Internal Documentation |
Can I create the same element multiple times on a diagram? |
It is not inherently possible to use the same element multiple times on a diagram. However you can either:
|
Drop Elements from Project Browser Virtual Connector Ends |
How can I create an external link to a specific Enterprise Architect diagram? |
You can create a shortcut file, which opens the required project and displays the appropriate diagram. Refer to the Create Project Shortcut Help topic. Alternatively, you could publish your Project to HTML. After doing this you can create a hyperlink that points to the appropriate diagram in the HTML report. For details, see the Create a Web Page Report Help topic. |
Create a Web Page Report Create Project Shortcut |
How can I prevent displaying new connectors in other diagrams? |
By default, connectors created on one diagram are displayed on other diagrams on which the source and target elements already exist. If necessary, after creating a connector you can hide it in other diagrams by using the 'Visibility | Hide Connector in Other Diagrams' option. For details, see the Hide/Show Connectors Help topic. When placing an element on a diagram as a 'Link', this is a reference to the same element (with the same relationships) that is on any other diagram. If you find that elements are showing unwanted relationships, then it might be more appropriate to create Instances of that element, instead of Links. For details, see the Drop Elements from Browser Window Help topic. |
Hide/Show Connectors Drop Elements from Project Browser |
Can I hide the (from package) namespace label? |
You can remove the '(from package)' namespace labels from a diagram by disabling the 'Design > Diagram > Manage > Properties > Diagram > Show Namespace' option. |
Configure Diagram Display |
Can I show Notes and Tagged Values on Activity, Action, or Use Case elements? |
To display Notes or Tagged Values on these elements you have to display the element in 'Rectangle Notation'. See the Rectangle Notation Help topic. |
Rectangle Notation |
How do I set up my own modeling language? |
Enterprise Architect supports user-defined Profiles for defining specifications based on UML standards. It allows you to set up your own Model Driven Generation (MDG) Technologies, which includes predefining your own element types, connector types and diagram types. The element type can be defined with Shape Scripts to cover the shape composition. You can also add your own field-types using Tagged Values. This is demonstrated in our Extending Enterprise Architect webinars. For more information on defining your element types, see these Help topics on setting up an MDG Technology:
|
Extending Enteprise Architect Webinar MDG Technologies Using the Profile Helpers Developing Profiles Getting Started With Shape Scripts Tagged Value Types |
Why is the Legend not showing? |
This issue is related to the MS Jet 3.5 driver. To work around it, change the Enterprise Architect configuration to use Jet 4.0. See the 'Use Jet 4.0 - requires restart' option in the General Options Help topic. Note: for Enterprise Architect version 12.1 or earlier:
|
General Options |
Using Activity elements |
UML Activities describe a behavior made up of Actions. They are intended to be used directly with an Activity diagram as a child, and should not be the source or target of Control Flow or Object Flow connectors. Activities are not intended to appear on Activity diagrams. The correct way to model their use is by dropping the Activity as an Invocation onto your diagram (Ctrl+Drag from the project browser). This creates a Call Behavior Action, which creates a link to the Activity, meaning you can re-use it as many times as needed. |