archimate

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Enterprise Architecture Diagram Generator (ArchiMate)

企业架构图生成器(ArchiMate)

Quick Start: Add
!include <archimate/Archimate>
→ Declare typed elements → Connect with
Rel_*
macros → Group into layers with
rectangle
→ Wrap in
```plantuml
fence.
⚠️ IMPORTANT: Always use
```plantuml
or
```puml
code fence. NEVER use
```text
— it will NOT render as a diagram.
快速开始: 添加
!include <archimate/Archimate>
→ 声明带类型的元素 → 用
Rel_*
宏连接 → 用
rectangle
分组为层级 → 包裹在
```plantuml
代码块中。
⚠️ 重要提示: 始终使用
```plantuml
```puml
代码块,绝对不要使用
```text
——它不会渲染为图表。

Critical Rules

核心规则

  • Every diagram starts with
    @startuml
    and ends with
    @enduml
  • Must include
    !include <archimate/Archimate>
    before using any macros
  • Element syntax:
    Layer_Type(alias, "Label")
  • Relationship syntax:
    Rel_Type(fromAlias, toAlias, "label")
  • Use
    rectangle "Layer" { ... }
    to group elements into ArchiMate layers
  • Directional suffixes
    _Up
    ,
    _Down
    ,
    _Left
    ,
    _Right
    control relationship direction
  • 所有图表以
    @startuml
    开头,以
    @enduml
    结尾
  • 使用任意宏之前必须引入
    !include <archimate/Archimate>
  • 元素语法:
    Layer_Type(alias, "Label")
  • 关系语法:
    Rel_Type(fromAlias, toAlias, "label")
  • 使用
    rectangle "Layer" { ... }
    将元素分组到ArchiMate层级中
  • 方向后缀
    _Up
    _Down
    _Left
    _Right
    可控制关系的指向

Element Macros

元素宏

Business Layer

业务层

MacroArchiMate Element
Business_Actor(id, "Label")
Business Actor
Business_Role(id, "Label")
Business Role
Business_Process(id, "Label")
Business Process
Business_Function(id, "Label")
Business Function
Business_Service(id, "Label")
Business Service
Business_Event(id, "Label")
Business Event
Business_Interface(id, "Label")
Business Interface
Business_Collaboration(id, "Label")
Business Collaboration
Business_Object(id, "Label")
Business Object
Business_Product(id, "Label")
Business Product
Business_Contract(id, "Label")
Business Contract
Business_Representation(id, "Label")
Business Representation
ArchiMate元素
Business_Actor(id, "Label")
业务参与者
Business_Role(id, "Label")
业务角色
Business_Process(id, "Label")
业务流程
Business_Function(id, "Label")
业务功能
Business_Service(id, "Label")
业务服务
Business_Event(id, "Label")
业务事件
Business_Interface(id, "Label")
业务接口
Business_Collaboration(id, "Label")
业务协作
Business_Object(id, "Label")
业务对象
Business_Product(id, "Label")
业务产品
Business_Contract(id, "Label")
业务合同
Business_Representation(id, "Label")
业务表示

Application Layer

应用层

MacroArchiMate Element
Application_Component(id, "Label")
Application Component
Application_Service(id, "Label")
Application Service
Application_Function(id, "Label")
Application Function
Application_Interface(id, "Label")
Application Interface
Application_Process(id, "Label")
Application Process
Application_Interaction(id, "Label")
Application Interaction
Application_Event(id, "Label")
Application Event
Application_Collaboration(id, "Label")
Application Collaboration
Application_DataObject(id, "Label")
Application Data Object
ArchiMate元素
Application_Component(id, "Label")
应用组件
Application_Service(id, "Label")
应用服务
Application_Function(id, "Label")
应用功能
Application_Interface(id, "Label")
应用接口
Application_Process(id, "Label")
应用流程
Application_Interaction(id, "Label")
应用交互
Application_Event(id, "Label")
应用事件
Application_Collaboration(id, "Label")
应用协作
Application_DataObject(id, "Label")
应用数据对象

Technology Layer

技术层

MacroArchiMate Element
Technology_Device(id, "Label")
Technology Device
Technology_Node(id, "Label")
Technology Node
Technology_SystemSoftware(id, "Label")
System Software
Technology_Artifact(id, "Label")
Technology Artifact
Technology_CommunicationNetwork(id, "Label")
Communication Network
Technology_Path(id, "Label")
Technology Path
Technology_Service(id, "Label")
Technology Service
Technology_Process(id, "Label")
Technology Process
Technology_Function(id, "Label")
Technology Function
Technology_Interface(id, "Label")
Technology Interface
ArchiMate元素
Technology_Device(id, "Label")
技术设备
Technology_Node(id, "Label")
技术节点
Technology_SystemSoftware(id, "Label")
系统软件
Technology_Artifact(id, "Label")
技术制品
Technology_CommunicationNetwork(id, "Label")
通信网络
Technology_Path(id, "Label")
技术路径
Technology_Service(id, "Label")
技术服务
Technology_Process(id, "Label")
技术流程
Technology_Function(id, "Label")
技术功能
Technology_Interface(id, "Label")
技术接口

Motivation Layer

动因层

MacroArchiMate Element
Motivation_Stakeholder(id, "Label")
Stakeholder
Motivation_Driver(id, "Label")
Driver
Motivation_Assessment(id, "Label")
Assessment
Motivation_Goal(id, "Label")
Goal
Motivation_Outcome(id, "Label")
Outcome
Motivation_Principle(id, "Label")
Principle
Motivation_Requirement(id, "Label")
Requirement
Motivation_Constraint(id, "Label")
Constraint
Motivation_Value(id, "Label")
Value
ArchiMate元素
Motivation_Stakeholder(id, "Label")
利益相关方
Motivation_Driver(id, "Label")
驱动因素
Motivation_Assessment(id, "Label")
评估
Motivation_Goal(id, "Label")
目标
Motivation_Outcome(id, "Label")
成果
Motivation_Principle(id, "Label")
原则
Motivation_Requirement(id, "Label")
需求
Motivation_Constraint(id, "Label")
约束
Motivation_Value(id, "Label")
价值

Strategy Layer

战略层

MacroArchiMate Element
Strategy_Capability(id, "Label")
Capability
Strategy_Resource(id, "Label")
Resource
Strategy_CourseOfAction(id, "Label")
Course of Action
Strategy_ValueStream(id, "Label")
Value Stream
ArchiMate元素
Strategy_Capability(id, "Label")
能力
Strategy_Resource(id, "Label")
资源
Strategy_CourseOfAction(id, "Label")
行动方案
Strategy_ValueStream(id, "Label")
价值流

Implementation Layer

实现层

MacroArchiMate Element
Implementation_WorkPackage(id, "Label")
Work Package
Implementation_Deliverable(id, "Label")
Deliverable
Implementation_Plateau(id, "Label")
Plateau
Implementation_Gap(id, "Label")
Gap
Implementation_Event(id, "Label")
Implementation Event
ArchiMate元素
Implementation_WorkPackage(id, "Label")
工作包
Implementation_Deliverable(id, "Label")
交付物
Implementation_Plateau(id, "Label")
平台
Implementation_Gap(id, "Label")
差距
Implementation_Event(id, "Label")
实现事件

Relationship Macros

关系宏

All relationships support directional suffixes:
_Up
,
_Down
,
_Left
,
_Right
.
MacroArchiMate RelationshipLine Style
Rel_Composition(from, to, "label")
CompositionSolid + filled diamond
Rel_Aggregation(from, to, "label")
AggregationSolid + open diamond
Rel_Assignment(from, to, "label")
AssignmentSolid + circle→triangle
Rel_Realization(from, to, "label")
RealizationDotted + hollow triangle
Rel_Serving(from, to, "label")
ServingSolid + arrow
Rel_Triggering(from, to, "label")
TriggeringSolid + filled triangle
Rel_Flow(from, to, "label")
FlowDashed + filled triangle
Rel_Access(from, to, "label")
AccessDotted line
Rel_Access_r(from, to, "label")
Access (read)Dotted + arrow
Rel_Access_w(from, to, "label")
Access (write)Dotted + reverse arrow
Rel_Influence(from, to, "label")
InfluenceDashed + arrow
Rel_Association(from, to, "label")
AssociationSolid line
Rel_Specialization(from, to, "label")
SpecializationSolid + hollow triangle
所有关系都支持方向后缀:
_Up
_Down
_Left
_Right
ArchiMate关系线条样式
Rel_Composition(from, to, "label")
组合实线+实心菱形
Rel_Aggregation(from, to, "label")
聚合实线+空心菱形
Rel_Assignment(from, to, "label")
分配实线+圆形→三角形
Rel_Realization(from, to, "label")
实现虚线+空心三角形
Rel_Serving(from, to, "label")
服务实线+箭头
Rel_Triggering(from, to, "label")
触发实线+实心三角形
Rel_Flow(from, to, "label")
虚线+实心三角形
Rel_Access(from, to, "label")
访问点线
Rel_Access_r(from, to, "label")
访问(读)点线+箭头
Rel_Access_w(from, to, "label")
访问(写)点线+反向箭头
Rel_Influence(from, to, "label")
影响虚线+箭头
Rel_Association(from, to, "label")
关联实线
Rel_Specialization(from, to, "label")
泛化实线+空心三角形

Quick Example

快速示例

plantuml
@startuml
!include <archimate/Archimate>

rectangle "Business" {
  Business_Actor(customer, "Customer")
  Business_Process(order, "Order Process")
  Business_Service(orderSvc, "Order Service")
}

rectangle "Application" {
  Application_Component(orderApp, "Order System")
  Application_Service(orderAPI, "Order API")
}

rectangle "Technology" {
  Technology_Node(server, "App Server")
  Technology_Device(db, "Database Server")
}

Rel_Triggering(customer, order, "places order")
Rel_Realization(order, orderSvc, "realizes")
Rel_Serving(orderAPI, orderSvc, "serves")
Rel_Realization(orderApp, orderAPI, "realizes")
Rel_Assignment(server, orderApp, "runs on")
Rel_Serving(db, server, "stores data")
@enduml
plantuml
@startuml
!include <archimate/Archimate>

rectangle "Business" {
  Business_Actor(customer, "Customer")
  Business_Process(order, "Order Process")
  Business_Service(orderSvc, "Order Service")
}

rectangle "Application" {
  Application_Component(orderApp, "Order System")
  Application_Service(orderAPI, "Order API")
}

rectangle "Technology" {
  Technology_Node(server, "App Server")
  Technology_Device(db, "Database Server")
}

Rel_Triggering(customer, order, "places order")
Rel_Realization(order, orderSvc, "realizes")
Rel_Serving(orderAPI, orderSvc, "serves")
Rel_Realization(orderApp, orderAPI, "realizes")
Rel_Assignment(server, orderApp, "runs on")
Rel_Serving(db, server, "stores data")
@enduml

Diagram Types

图表类型

TypePurposeKey MacrosExample
Enterprise LandscapeFull B/A/T layered viewAll layersenterprise-landscape.md
Application IntegrationApp-to-app data flows
Application_*
application-integration.md
Technology InfrastructureInfrastructure stack
Technology_*
technology-infrastructure.md
Business CapabilityCapability map
Strategy_*
,
Business_*
business-capability.md
Migration PlanningPlateau-based roadmap
Implementation_*
migration-planning.md
Security ArchitectureSecurity controls
Technology_*
,
Motivation_*
security-architecture.md
Data ArchitectureData flow & ownership
Application_DataObject
,
Rel_Access_*
data-architecture.md
DevOps PipelineCI/CD delivery chain
Technology_*
,
Application_*
devops-pipeline.md
类型用途核心宏示例
企业全景完整的业务/应用/技术分层视图所有层级enterprise-landscape.md
应用集成应用间数据流
Application_*
application-integration.md
技术基础设施基础设施栈
Technology_*
technology-infrastructure.md
业务能力能力地图
Strategy_*
Business_*
business-capability.md
迁移规划基于平台的路线图
Implementation_*
migration-planning.md
安全架构安全控制
Technology_*
Motivation_*
security-architecture.md
数据架构数据流与所有权
Application_DataObject
Rel_Access_*
data-architecture.md
DevOps流水线CI/CD交付链
Technology_*
Application_*
devops-pipeline.md