Create Relationships Help Page

Introduction

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 a relationship in the Visual Designer by drawing

  • By importing an Excel Sheet that contains relationship information

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

Predefined Types of Relationships

Dragon1 predefines UML relationships, ArchiMate relationships and BPMN relationships:

UML:

ArchiMate:

BPMN:

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 data object

Screenshot showing added Insert Dialog for relationships:

dragon1 insert dialog create relationship

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
  • Select the relationship
  • Click on Edit Data
  • Set/Change the attributes of the relationship, like the type of the relationship (composition or association or else..)
  • Click on Save Entities to save the drawn relationship as object in the folder of the cabinet.
  • You will now see your relationship inserted in the treeview at the left as data object

Screenshot showing a drawn relationship in the Visual Designer:

dragon1 drawn relationship

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 location for the import
  • Click on import
  • Go to the Architecture Repository
  • Open the correct Cabinet, Dossier and Folder
  • See the relationships are imported