Enterprise Architect version 14.0

download
purchase

enzh-CNcsnlfrdehiiditkoplptruskessv

My Profile

Social Media Channels

facebook  twitter  youtube   linkedin

Friday, 21 June 2019 10:30

Enterprise Architect 15 beta preview

Written by
Rate this item
(0 votes)

00 sparxsystems enterprise architect 15

Sparx Systems released this month the beta version of Enterprise Architect 15.

Below is a selection of the main features and enhancements that will be detailed in this article:

  • Data Miner
  • JavaScript Model Based Add-ins
  • Custom tables (new spreadsheet artefacts)
  • Browser new organization
  • Diagrams enhancements
    • Custom drawing style diagram property
    • Google GCP, Amazon AWS web images
    • Bookmark values
    • Group elements
    • New keyboard shortcuts
    • Simplified access to the "Link to element feature"
    • Image Assets drag and drop to a diagram
  • New keyboard shortcuts

Data Miner

Data Miner is a new feature to create model elements and relationships in Enterprise Architect from a data source such as a database, JSON file, or an XML file.

Data Miner is available via its associated diagram type, giving access to the following toolbox:

data miner toolbox sparxsystems enterprise architect 15

  • DMConnection class [1]: properties to open a database via ODBC, a local file, or a URL.
  • DMSet class [1..*]: query on the data source.
  • DMScripts class [1]: scripts to update the EA models using the data available via the DMSets.
  • Data Source and Harvester relationships: links DMSet to DMConnection, or DMScripts to DMSet classes.
  • Note: it is recommended to use patterns to create all required Data Miner elements.

Below is an example to import data from an Excel file:

data miner import Excel sparxsystems enterprise architect 15

Process:

  • Open the Edit Data Miner Connection on the DMConnection class to define the file location (local or URL).

data miner file connection properties sparxsystems enterprise architect 15

The Excel file used in this example contains a spreadsheet for each type of information: applications, interfaces, data objects, data flows between applications.

data miner import excel applications sparxsystems enterprise architect 15

05 2 data miner import excel interfaces sparxsystems enterprise architect 15

05 3 data miner import excel data objects sparxsystems enterprise architect 15

05 4 data miner import excel data flows sparxsystems enterprise architect 15

  • Use the Open Data Miner Visualizer menu on the DMSet classes to define the query and check the results. In the following example, the query gathers all the information from the APPS tab.

data miner dmset query excel spreadsheet sparxsystems enterprise architect 15

  • Updating or creating model elements, attributes, operations, relationships, diagrams, etc. in Enterprise Architect is defined via the JavaScript code in the DMScript class (use Edit Data Miner Processor).
  •  Notes:
    • The pattern from the Data Miner toolbox generates a DMScript class with an initial JavaScript code.
    • New classes are available in EA API: EA.DataMiner, EA.DataMinerManager, EA.DataSet, EA.DMAction, EA.DMArray, EA.DMConnection, and EA.DMScript.
  • Once the script is defined, it can be used via a right click > Run Data Miner Processor.

Result:

  • ArchiMate Application Component, Interface and Data Object elements have been generated according to the script definition:

data miner import excel result browser sparxsystems enterprise architect 15

  • Stereotypes tagged values have been initialized with mapped values from the Excel spreadsheet:

data miner import excel result browser sparxsystems enterprise architect 15

data miner import excel result data flow sparxsystems enterprise architect 15

DataMiner works one-way i.e. it doesn’t export or update information in the data source. It can prove to be very useful when custom data sources need to be imported without having to use a CSV file or other supported formats. Importing such data model can relevant to share a visual view of its concepts, link it with analysis and design models, map it to another project or data model, etc.

Note: I started testing the ODATA metadata import as an alternative to the XSLT process available here. The Data Miner not only generates classes and attributes, but also relationships – more to follow on this subject!

JavaScript Model Based Add-ins

Enterprise Architect traditional add-ins stand for applications that need to be installed on each user's PC (eaUtils is an example). Enterprise Architect 15 supports a new type of add-in known as Model-Based, to set up on a modelling project (no installation required), similarly to scripts (see my EA User Group London 2018 presentation).

Model-based add-ins are implemented in JavaScript within Enterprise Architect, whereas traditional add-ins mostly use C# or Java. Contrary to the scripts, add-ins support broadcast events and add-in menus (in the Specialize ribbon or via a right click).

The following Model Based Add-in is available from the EA Example project:

model based addin javascript class sparxsystems enterprise architect 15

When the project is opened, this add-in is automatically recognized as an optional one:

model_based_addin_manage_addins_sparxsystems_enterprise_architect_15

Once enabled, this add-in provides a menu to generate the attributes details in the system output view from a selected class:

model_based_addin menu sparxsystems_enterprise_architect_15

Custom Tables

Enterprise Architect supports a number of artefacts such as Model Views to generate results from a custom query in a table. The following list matches automated test cases defined for eaUtils add-in with eaTests library:

adhoc tables model views sparxsystems_enterprise_architect_15

Custom table is a new type of artefact to manage spreadsheets and make them viewable on a diagram. The following custom table has been defined to show data flows between applications:

adhoc custom table data flow example sparxsystems_enterprise_architect_15

Notes: the edition mode is quite easy to use, however having a dedicated menu would help (similarly to the RTF document generator). Also, there is no support to copy and paste an existing content from Excel.

The table structure is available in the XML format via the following tagged value: 

adhoc custom table data content example sparxsystems_enterprise_architect_15

The cell layout is available via the dataFormat tab:

adhoc custom table data format example sparxsystems_enterprise_architect_15

Finally, the script tab is available to dynamically update values from the model data.

Running the Execute behavior script gathers all data flows and update the table accordingly:

adhoc custom table data script result sparxsystems_enterprise_architect_15

Browser enhancements

The Browser (previously known as the Project Browser) is now complete with 4 tabs:

  • 1- Project: tree structure view of the model elements and diagrams

project_browser_sparxsystems_enterprise_architect_15

  • 2- Context: filtered view of the current package content (introduced in EA 14)

context_browser_sparxsystems_enterprise_architect_15

  • 3- Diagram: new view with the list of elements (alphabetical order) used in the current diagram, as well as the in/out relationships. It can be useful to work with the diagram content.
    • A single click on an element or connector in the list selects it in the diagram.
    • A double click opens the properties window.

diagramt_browser_sparxsystems_enterprise_architect_15

  •  4- Element: the element browser view has been improved and merged in the Browser view.

element_browser_sparxsystems_enterprise_architect_15

A "find in browser" action is available from the Browser menu:

browser find in shortcut_sparxsystems_enterprise_architect_15

This feature is useful when called from a diagram as it selects an element or the diagram in the repository browser. This new menu is an alternative to the right click access, or existing keyboard shortcuts (Alt+G or Shift+Alt+G).

Diagramming improvements

Custom Diagram Drawing Style

Custom style is a new diagram property option. It is used to remove notation-specific details (UML, SysML, BPMN, ArchiMate…), making diagrams more easily understood by stakeholders.

Custom applications view:

diagram custom style application sparxsystems_enterprise_architect_15

Standard BPMN view:

diagram custom style bpmn example before_sparxsystems_enterprise_architect_15

Custom BPMN view:

diagram custom style bpmn example after_sparxsystems_enterprise_architect_15

The custom diagram drawing style can replace the need to use Visio or Powerpoint with decoupled information from the repository.

The available layout options are illustrated in the diagram below:

diagram custom drawing styles_sparxsystems_enterprise_architect_15

Using Enterprise Architect 15 beta version, I encountered a few issues in manipulating elements on the diagrams. I will test it again with the final release.

Bookmark value

Bookmark values are available to set and display a value on top of an element in a diagram. This setting is specific to a diagram i.e. different bookmark values can be set for each diagram that needs it. This feature can be useful for instance to tag the logical order on each step as illustrated here:

diagram bookmark value bpmn example sparxsystems_enterprise_architect_15

To enable and set a value, right click on the element, select Set Bookmark Value, enable the option and provide the value.

diagram bookmark value sparxsystems_enterprise_architect_15

The diagram contextual menu provides an option to Show or Hide All Bookmark Values.

Group Elements

Group Elements is a new option to enable or disable on a selection of elements e.g. to move, change colours, or align them.

diagram group elements sparxsystems_enterprise_architect_15

Link to Element Feature

This feature is known to link or map most of the time a class attribute or operation with another one (e.g. mapping between a data model with standard data model, or a logical data model with a physical one). Until now, once an association was created between classes, the process to link attributes or operations could take time for multiple links. This is now easier to achieve as illustrated here:

diagram link element feature sparxsystems_enterprise_architect_15

diagram link element feature sparxsystems_enterprise_architect_15

diagram link element feature sparxsystems_enterprise_architect_15

Resources: Amazon AWS and Google GCP Image and Icon sets

Comprehensive series of images and icons required to model AWS (Amazon Web Services) and GCP (Google Cloud Platform) architectures are now available from Enterprise Architect 15.

Here are some examples of Amazon and Google icons:

images librairie graphique Google GCP sparxsystems_enterprise_architect_15

Images assets

Image assets have been introduced with Enterprise Architect 13 as an alternative to the image library with the ability to manage images as modelling elements.

Image asset elements are not supposed to be used directly in diagrams. Instead they should be set as the alternative image of elements. Enterprise Architect 15 provides a specific option when drag/dropping an image asset from the browser onto a diagram.

drag drop image asset sparxsystems_enterprise_architect_15

  • Set as Alternate Image: define the image asset as the alternate image of an existing element e.g. class Class1
  • Add as element with image: create a new element (class, component…) with the image asset identified as the alternate image
  • Add as link: add the image asset element itself on the diagram

Note: it would be great if the option Add as element with image could support Boundary elements as they are commonly used to display images (cf. eaUtils Find in All Diagrams help for more information).

New keyboard shortcuts

Notes: Ctrl+Space

Access to the elements notes is very useful to read or update its description, hence the need to enable most of the time the Notes view.

A handy quick access to Notes has been released with the Ctrl+Space shortcut which opens the notes in a temporary popup window.

notes keyboard shortcut ctrl space sparxsystems_enterprise_architect_15

Properties: Ctrl+Return

The Ctrl+Return shortcut on the selected element or diagram opens and selects the properties view.

Note: the Tagged Values view has now been merged into the Properties view via a new tab.

properties tag view sparx enterprise architect 15

 

Read 413 times Last modified on Sunday, 23 June 2019 22:48
Guillaume

Guillaume Finance

VISEO (Sparx EA Expert, OMG OCSMP Model User certified)
 
Modelling consultant and expert on Sparx Systems Enterprise Architect modelling tool and solution, I'm helping clients with the model-based approach using standards for a number of contexts including:
- Software analysis, design and architecture with UML.
- Systems Engineering and MBSE with SysML.
- Enterprise Architecture, IT landscape with UML or ArchiMate.
- Business processes with BPMN.
My other activities include:
- Defining and maintaining the model repository including requirements, analysis and design for software projects.
- Remote support and expertise on Sparx Enterprise Architect modelling.
- Running training sessions on UML or SysML with Sparx Systems Enterprise Architect.
- Installation and configuration of Prolaborate web solution for Sparx EA.
 
I publish articles and news about modelling languages and Enterprise Architect on my blog www.umlchannel.com, maintain eaUtils free addin: www.eautils.com, and I participate in the European EA User Group events www.eausergroup.com
Contact details: guillaume[at]umlchannel.com

www.umlchannel.com
Login to post comments