Create Relationships Help Page

About creating Relationships between Entities and Entityclasses

You can easily create a relationship between entities and entity classes on the Dragon1 platform.

If you create a relationship between entities you are creating a model. If you create a relationship between entity classes you are creating a meta model.

Relationships as stored as reusable data objects in the repository.

Three Ways of Creating Relationships

Dragon1 supports three ways of creating relationships:

  • You can create a relationship in the Architecture Repository application manually
  • You can create and edit a relationship and its attributes in the Visual Designer by drawing

  • By importing a CSV file, XML file, JSON file or Excel Sheet that contains relationship information

On this page, we provide an example of each of these ways.

Predefined Types of Relationships

The Dragon1 platform predefines UML relationships, ArchiMate relationships, BPMN relationships and Dragon1 method relationships:

UML:

ArchiMate:

BPMN:

Dragon1 (open EA Method):

You can choose these types of relationships in a select list in a dialog or draw these types by dragging them from a panel.

How To Create A Relationship in the Architecture Repository

To create a relationship:

  • Go to the Architecture Repository web application
  • Enter two entities, for instance, an application and a process
  • Create a folder called Relationships
  • Select the folder
  • Choose from the Entities menu the menu item Insert Relationship
  • Use the Insert Relationship Dialog to select the Application Entityclass and next your inserted application
  • Use the Insert Relationship Dialog to select the Process Entityclass and next your inserted process
  • Select also a relationship type
  • Click on Make
  • You will now see your relationship inserted in the treeview at the left as the data object

Screenshot showing added Insert Dialog for relationships:

dragon1 create relationship insert dialog

How to Delete a Relationship

To delete a relationship:

  • Select a relationship in the folder
  • Click on the Delete relationship button in the form
  • Now you see the relationship removed from the treeview and the folder list.

The data is not really removed from the repository but only placed in the recycle bin. Use the Edit menu to select the Edit dialog. Click on Recycle Bin and see the deleted items. Here you can select an item in the list and click the Undelete button on the form. Now your item is undeleted and again shown in the folder.

How To Create A Relationship in the Visual Designer

To create a relationship:

  • Go to the Visual Designer web application.
  • Select a folder
  • Create or select a model or visualization in the folder
  • Drag two entities on to the canvas
  • Draw a relationship between the entities
  • You will now see your relationship inserted in the treeview at the left as the data object
  • Select the relationship
  • If you select the relationship in the explorer, at the right-hand top of the screen you can add, edit and delete relationship attributes.

Screenshot showing a drawn relationship in the Visual Designer and after that selecting the relationship in the tree:

dragon1 create relationship visual designer

How To Create A Relationship by importing an Excel Sheet

The Dragon1 import application supports importing excel sheets (saved as CSV files) contain relationship data.

To import an Excel Sheet with relationship data:

  • Make sure that you have an Excel Sheet with the columns relationshipid, sourceentityid, targetentityid, relationshiptype and relationshiptext
  • Go to the Import web application.
  • Select the local csv file (containing the Excel Sheet) on your computer
  • Select the correct cabinet, dossier and folder as the location for the import
  • Click on import
  • Go to the Architecture Repository
  • Open the correct Cabinet, Dossier and Folder
  • See the relationships are imported