Skip to main content

Example 2: ArchiMate relationships with elements and notes

 

Diagram


Code:

@startuml

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

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


title ArchiMate Relationships with Notes



<style>

interface {

    shadowing 0

    backgroundcolor transparent

    linecolor transparent

    FontColor transparent

}



rectangle{

  MinimumWidth: 650;

  HorizontalAlignment: left


}


element{

    HorizontalAlignment: left;

    MinimumWidth : 150;

    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")

    Application_Component(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 with Descriptions

Rel_Specialization(Role_SeniorManager, Role_Manager, "Specialization")

note on link

A Senior Manager is a specialized form of Manager.

end note


Rel_Triggering(Event_CustomerRequest, Process_OrderProcessing, "Triggering")

note on link

A customer request triggers order processing.

end note


Rel_Flow(Function_PaymentProcessing, Service_Billing, "Flow")

note on link

Payment processing flows into billing service.

end note


Rel_Access_w(Component_CRM, Function_CustomerDB, "Access_w")

note on link

CRM System can write data to Customer Database.

end note


Rel_Access_rw(Service_OrderMgmt, Function_InventoryDB, "Access_rw")

note on link

Order Management can read and write Inventory Database.

end note


Rel_Access_r(Process_CampaignManagement, Component_CMS, "Access_r")

note on link

Campaign Management reads data from CMS.

end note


Rel_Access(Actor_Customer, Interface_UserPortal, "Access")

note on link

Customers interact with the User Portal.

end note


Rel_Influence(Process_ProductDevelopment, Process_BrandStrategy, "Influence")

note on link

Product Development influences Brand Strategy.

end note


Rel_Association_dir(Role_Consultant, Process_Advisory, "Association_dir")

note on link

Consultants are associated with Advisory Process (one-way).

end note


Rel_Association(Application_BI_Tool, Database_Analytics, "Association")

note on link

BI Analytics Tool is associated with Analytics Database.

end note


Rel_Serving(Technology_LoadBalancer, Service_WebHosting, "Serving")

note on link

Load Balancer provides services to Web Hosting.

end note


' Corrected: Realization should be from Technology Node to Application Service

Rel_Realization(Technology_ObjectStorage, Service_CloudStorage, "Realization")

note on link

Object Storage Node realizes the Cloud Storage Service.

end note


' Changed: HR Management now as Application Component with Composition relationship

Rel_Composition(Component_ERP, Component_HRManagement, "Composition")

note on link

ERP System is composed of HR Management System.

end note


Rel_Assignment(Actor_SalesLead, Role_SalesRepresentative, "Assignment")

note on link

Sales Lead is assigned as a Sales Representative.

end note


Rel_Aggregation(Process_ProjectManagement, Function_TaskTracking, "Aggregation")

note on link

Project Management aggregates Task Tracking.

end note


@enduml


Comments

Popular posts from this blog

Virtual environments in python

 Creating virtual environments is essential for isolating dependencies and ensuring consistency across different projects. Here are the main methods and tools available, along with their pros, cons, and recommendations : 1. venv (Built-in Python Virtual Environment) Overview: venv is a lightweight virtual environment module included in Python (since Python 3.3). It allows you to create isolated environments without additional dependencies. How to Use: python -m venv myenv source myenv/bin/activate # On macOS/Linux myenv\Scripts\activate # On Windows Pros: ✅ Built-in – No need to install anything extra. ✅ Lightweight – Minimal overhead compared to other tools. ✅ Works across all platforms . ✅ Good for simple projects . Cons: ❌ No dependency management – You still need pip and requirements.txt . ❌ Not as feature-rich as other tools . ❌ No package isolation per project directory (requires manual activation). Recommendation: Use venv if you need a simple, lightweight solut...

Building a Simple Text Generator: A Hands-on Introduction

Introduction Text generation is one of the most exciting applications of Natural Language Processing (NLP) . From autocorrect and chatbots to AI-generated stories and news articles , text generation models help machines produce human-like text. In this blog post, we’ll introduce a simple yet effective text generation method using Markov Chains . Unlike deep learning models like GPT, this approach doesn’t require complex neural networks—it relies on probability-based word transitions to create text. We’ll walk through: ✅ The concept of Markov Chains and how they apply to text generation. ✅ A step-by-step implementation , fetching Wikipedia text and training a basic text generator. ✅ Example outputs and future improvements. The Concept of Markov Chains in Text Generation A Markov Chain is a probabilistic model that predicts future states (or words) based only on the current state (or word), rather than the full sentence history. How it works in text generation: 1️⃣ We analyze a gi...

Mastering Trade-Off Analysis in System Architecture: A Strategic Guide for Architects

 In system architecture and design, balancing conflicting system qualities is both an art and a science. Trade-off analysis is a strategic evaluation process that enables architects to make informed decisions that align with business goals and technical constraints. By prioritizing essential system attributes while acknowledging inevitable compromises, architects can craft resilient and efficient solutions. This enhanced guide provides actionable insights and recommendations for architects aiming to master trade-off analysis for impactful architectural decisions. 1. Understanding Trade-Off Analysis Trade-off analysis involves identifying and evaluating the conflicting requirements and design decisions within a system. Architects must balance critical aspects like performance, scalability, cost, security, and maintainability. Since no system can be optimized for every quality simultaneously, prioritization based on project goals is essential. Actionable Insights: Define key quality ...