Top Community Contributors
- Managing a Student Project with Enterprise Architect - Part 1
For whom develops systems, a good and integrated toolset is fundamental: Herminio Lourenço
Written by sparxsystems
- Managing a Student Project with Enterprise Architect – Part 2
What's new with ArchiMate 3.0 & EA v.13?
Written by DT_Sam
Reader's Choice Award Recognizes Sparx Systems For Software Architecture
Written by sparxsystems
- Managing a Student Project with Enterprise Architect – Part 3
Fast access to each diagram in Enterprise Architect
Written by Dr. Konrad Wieland
EA TFS Connector a new add-in for the Bellekens EA Toolpack
Written by Geert Bellekens
We have often to do with EA models we’ve never seen before. In such cases, you have either to click through the project tree (can be confusing and time-robbing) or you use some pre-defined Model Views.
The picture bellow shows how it could look like on your machine when you’ve read the article to the end.
The feature could be very helpful also in other situations and we wonder why it’s used so rarely. Using Model Views you can create access points to any elements you want independently from its position in the project browser. It can be compared with database views if you are familiar with databases.
The only thing which is a bit annoying while creating a view, you have to create a model search first. If you use the Query Builder, the created search can be used as a basis for a view without any problems. In case the functionality of the Query Builder is insufficient and you need to create an SQL query, it has to fulfill some criteria. Within your query, you need to define three fields: CLASSGUID, CLASSTABLE and CLASSTYPE, as shown in the following example:
SELECT ea_guid AS CLASSGUID, 't_diagram' as CLASSTABLE, Diagram_Type AS CLASSTYPE, Name, [Version], Author, Stereotype, CreatedDate, Diagram_Type, ModifiedDate
WHERE t_diagram.Diagram_Type = 'Statechart'
ORDER BY ModifiedDate ASC
Diagram Views help a lot to explore unknown projects. Thus, we have created views for all common diagram types.
Feel free to download and to use them: Searches and Views
First step – open Model Search / Find in Project dialog and import the xml file that contains the definition of searches:
Second step – activate Model Views window and import the xml file that contains the definition of views:
Sparx Systems released mid September the first beta of Enterprise Architect version 12.1. Full details on this version are available here.
Below is a summary of the main features and enhancements introduced in EA 12.1.
Web-based, online EA User Guide
Enterprise Architect User Guide has been redesigned to access the help content from a web browser. By default, the EA user guide is opened on Sparx Systems web site in order to access an up to date help content.
For those who use Enterprise Architect offline, an installation file makes it possible to access it locally. The online help section is available here.
Management of security user accounts and groups in Enterprise Architect 12.1 has been improved with the Active Directory Groups support (prior to this version, each AD user had to be imported).
Permission and user details are shown in a more efficient manner.
Tagged Values support in the Traceability view
The traceability view provides a dynamic, navigable view of the current element's relationships to other elements in the model, e.g. to find associated classes, realized requirements, etc.
Enterprise Architect 12.1 adds a support for model elements referenced in a Tagged Value. To illustrate this enhancement, a RefGUID Tagged Value (see. Sparx EA User Guide) has been defined so that a reference between an business and implementation class can be set. In the example below, the traceability view shows a link between Class1 (Domain Object) and Class1 (System) via the "Tagged Value References" list.
Metafile rendering improvement
Image Metafile rendering has been improved with Enterprise Architect 12.1. An anti-aliasing filter is applied for many metafiles to increase the image clearness. Below is a screenshot-based comparison between Enterprise Architect versions 12 (build 1512) and 12.1 (build 1220).
Enterprise Architect 12 :
Enterprise Architect 12.1 :
Note: a new image library to use with Enterprise Architect 12 is available from Sparx Systems web site.
Quicklinker: Create multiple elements
The Quicklinker is a very useful feature that lets you create elements on the fly from within a diagram. Enterprise Architect 12.1 makes it possible to create multiple elements at once. When dragging the Quicklinker, a new option is available:
The popup window below lets you define a list of associated elements, providing their name, type and link type:
Once submitted, the expected elements are created:
Model Wizard pattern customization
The Model Wizard is available via the Project Browser to create a predefined model structure, provided by Sparx Systems. A new "Customize Pattern on Import" option is available to let users select the model branches to generate.
Virtualized Connector Ends
Enterprise Architect 12.1 introduces the concept of virtualized elements, a feature that lets you show several times the same element onto a diagram. This feature answers a need for a number of users that need to achieve this e.g. to simplify its layout.
I tried to add the same class twice onto a diagram and Enterprise Architect didn’t let me do that, so how does this feature work?
Once a connector has been created between elements, a right click on this connector makes it possible to create a virtual representation of the element. In the following diagram, a blue connector has been added between the Transaction and ShoppingBasket classes.
A right click on the connector lets you virtualize the connector end either to the Source or Target i.e. it lets you create a virtualized element of the source (Transaction class) or the target (ShoppingBasket class).
- Enterprise Architect 12.1 does not let you create connectors to a virtualized element. It would be useful as an enhancement to allow the association of a virtualized element with any other element.
- When the element or any of its virtualized version is selected, they’re all selected.
- When the main element is hidden, all virtualized elements are hidden as well since they're directly associated with connectors.
- Hiding a virtualized element will hide the connector as well.
- Virtualized elements don't count as additional occurrences of the element in the diagram (results from running Find in All Diagrams are the same).
This feature hasn’t changed for a while until this new version 12.1 which supports a link between the diagram legend and the rendering style of the elements and connectors.
The Diagram Legend window provides additional options to compare elements with the legend’s content. If an element matches a set of criteria, it will be rendered with a fill colour, line colour and line width as set in the legend’s value. This is enabled with the “Apply auto color” option.
To test this enhancement, a filter has been defined on the element’s alias i.e. the legend’s values will be compared with the elements’ aliases. Evaluation has been restricted to Class elements (see option "Applies to" in the screenshot below). On the following diagram:
- StockItem class is rendered in green as its alias is set to 1
- LineItem class is rendered in light red as its alias is set to 2
- Class2 class is rendered in light blue as its alias is set to Class (note that Class1 alias doesn’t match)
Note: the association stereotyped “test” is rendered in orange as per the following settings.
This enhancement can save time, however I can see some limitations:
- In a given legend, I can only apply a filter for a specific type of elements. In other words it is not possible to define styles for classes, interfaces, and components in a diagram. A diagram legend definition is also restricted to a given element’s property such as the alias (note the element’s name doesn’t seem to be supported). It would make more sense to make the Filter and Applies to settings specific to each diagram legend value.
- Matching values only work with numeric values or identical string values. It would help to have a way to set a rule like ‘Class-*’.
- It would also be useful to have an option to define a connector’s line style based on the legend (e.g. Orthogonal, Tree Style...).
- The tested value is shown in the legend whereas in most cases it is not relevant to the target audience. It would be better to have a separate field to set the content to display in the diagram legend, e.g. to display "Customer" for elements matching the rule where their Alias starts with "Cust-", instead of showing "Cust-" in the legend.
According to Sparx Systems, Info View is a new option aimed at providing “a simplified view of an element that allows the name, description and selected other properties to be displayed […]. This view allows a diagram to be constructed for a non-technical audience or any purpose where display of descriptions is more important than the notations defined by the modeling language.”
This can be enabled via a right click on an element > Info View > Enabled. Then properties can be chosen as needed. Below is an illustration for a class and use case:
Windows Phone 8 Wireframing support
Wireframing has been introduced in version 12 to create UI diagrams for web sites, iPhone, iPad and Android phones. Windows Phone support has been added in Enterprise Architect 12.1:
The Schema Composer includes the following enhancements in version 12.1:
- CIM Schemas can be reverse-engineered to create Schema Composer profiles.
- When loading classes into the Schema Composer from Message Assemblies or from Class Diagrams, all classes referenced through inheritance and associations are also loaded, ensuring the inclusion of all classes required for generation of valid schemas.
SysML 1.4 support, SysML 1.2 & 1.3 enhancements
SysML 1.4 is now supported and enhancements have been added for previous SysML 1.2 and 1.3 versions:
- Multiplicity is shown for SysML 1.2 and 1.3 ports displayed in a compartment on their parent block.
- On Parametric diagrams, SysML 1.3 Properties owned by constraint blocks or constraint properties are now drawn as a small box with an external label.
- The ID and Text values of SysML requirements can now be displayed in the Summary window.
- Behaviour of copies of SysML requirements updated such that Text tagged value on copies is pinned and updated as the original is updated.
BPSim 1.0 support
Sparx Systems has announced the following: “Enterprise Architect supports BPSim, a specification for parameterization and exchange of process analysis data, allowing the creation, comparison and reuse of different simulation configurations stored within the model. BPSim takes into account a wide range of runtime information such as statistical information, random variations, queuing, scheduling and resources. BPSim configurations can be exported from Enterprise Architect for consumption in a 3rd party simulation engine”.
Note that a BPSim capable simulator is planned to be released in Enterprise Architect for the end of this year.