Skip to main content

Example 1: ArchiMate relationship in PlantUML code to demonstrate 15 relationship types

 Following section presents 15 types of relationships in ArchiMate and PlantUML to generate the diagram. Since this code is generated by GEN-AI it may require precision on aspects other than PlantUML syntax:

Diagram





Plant UML Code: 

@startuml

'!includeurl https://raw.githubusercontent.com/plantuml-stdlib/Archimate-PlantUML/master/Archimate.puml

' Another way of including Archimate Library (above is commented for following)

!include <archimate/Archimate>

!theme archimate-standard from https://raw.githubusercontent.com/plantuml-stdlib/Archimate-PlantUML/master/themes


title ArchiMate Relationships Overview

<style>

element{

    HorizontalAlignment: left;

    MinimumWidth : 180;

    Padding: 25;

}

</style>

left to right direction

rectangle Other {

    Business_Role(Role_SeniorManager, "Senior Manager")

    Business_Role(Role_Manager, "Manager")

}

rectangle Dynamic {

    Business_Event(Event_CustomerRequest, "Customer Request")

    Business_Process(Process_OrderProcessing, "Order Processing")

    Business_Function(Function_PaymentProcessing, "Payment Processing")

    Application_Service(Service_Billing, "Billing Service")

rectangle Dependency {

    Application_Component(Component_CRM, "CRM System")

    Application_Function(Function_CustomerDB, "Customer Database")

    Application_Service(Service_OrderMgmt, "Order Management")

    Application_Function(Function_InventoryDB, "Inventory Database")

    Business_Process(Process_CampaignManagement, "Campaign Management")

    Application_Component(Component_CMS, "CMS Platform")

    Business_Actor(Actor_Customer, "Customer")

    Application_Interface(Interface_UserPortal, "User Portal")

    Business_Process(Process_ProductDevelopment, "Product Development")

    Business_Process(Process_BrandStrategy, "Brand Strategy")

    Business_Role(Role_Consultant, "Consultant")

    Business_Process(Process_Advisory, "Advisory Process")

    Application_Component(Application_BI_Tool, "BI Analytics Tool")

    Application_Collaboration(Database_Analytics, "Analytics Database")

    Technology_Node(Technology_LoadBalancer, "Load Balancer")

    Technology_Service(Service_WebHosting, "Web Hosting Service")

}

rectangle Structural {

    Application_Service(Service_CloudStorage, "Cloud Storage Service")

    Technology_Node(Technology_ObjectStorage, "Object Storage Node")

    Application_Component(Component_ERP, "ERP System")

    Business_Function(Component_HRManagement, "HR Management System")

    Business_Actor(Actor_SalesLead, "Sales Lead")

    Business_Role(Role_SalesRepresentative, "Sales Representative")

    Business_Process(Process_ProjectManagement, "Project Management")

    Business_Function(Function_TaskTracking, "Task Tracking")

}


' Relationships

Rel_Specialization(Role_SeniorManager, Role_Manager, "Specialization")

Rel_Triggering(Event_CustomerRequest, Process_OrderProcessing, "Triggering")

Rel_Flow(Function_PaymentProcessing, Service_Billing, "Flow")

Rel_Access_w(Component_CRM, Function_CustomerDB, "Access_w")

Rel_Access_rw(Service_OrderMgmt, Function_InventoryDB, "Access_rw")

Rel_Access_r(Process_CampaignManagement, Component_CMS, "Access_r")

Rel_Access(Actor_Customer, Interface_UserPortal, "Access")

Rel_Influence(Process_ProductDevelopment, Process_BrandStrategy, "Influence")

Rel_Association_dir(Role_Consultant, Process_Advisory, "Association_dir")

Rel_Association(Application_BI_Tool, Database_Analytics, "Association")

Rel_Serving(Technology_LoadBalancer, Service_WebHosting, "Serving")

Rel_Realization(Technology_ObjectStorage, Service_CloudStorage, "Realization")

Rel_Composition(Component_ERP, Component_HRManagement, "Composition")

Rel_Assignment(Actor_SalesLead, Role_SalesRepresentative, "Assignment")

Rel_Aggregation(Process_ProjectManagement, Function_TaskTracking, "Aggregation")

@enduml



Comments

Popular posts from this blog

Examples 7: ArchiMate flow relationship between elements in layers

Diagram Code @startuml !include < archimate / Archimate > < style > element {     HorizontalAlignment : left ;     MinimumWidth : 180 ;     Padding : 20 ; } note {     BackgroundColor : #FFFFCC ;     RoundCorner : 5 ;     MaximumWidth : 250 ; } </ style > title "ArchiMate 3.2 Valid Flow Relationships" left to right direction ' Business Layer Flow Relationships rectangle "Business Layer Flows" {     Business_Process ( bp1 , "Order Process" )     Business_Process ( bp2 , "Payment Process" )     Rel_Flow ( bp1 , bp2 , "Order data" )     note on link         Flow between Business Processes     end note         Business_Function ( bf1 , "Sales Function" )     Business_Function ( bf2 , "Delivery Function" )     Rel_Flow ( bf1 , bf2 , "Sales information" )     note on link     ...