archimate
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEnterprise Architecture Diagram Generator (ArchiMate)
企业架构图生成器(ArchiMate)
Quick Start: Add → Declare typed elements → Connect with macros → Group into layers with → Wrap in fence.
!include <archimate/Archimate>Rel_*rectangle```plantuml⚠️ IMPORTANT: Always useor```plantumlcode fence. NEVER use```puml— it will NOT render as a diagram.```text
快速开始: 添加 → 声明带类型的元素 → 用宏连接 → 用分组为层级 → 包裹在代码块中。
!include <archimate/Archimate>Rel_*rectangle```plantuml⚠️ 重要提示: 始终使用或```plantuml代码块,绝对不要使用```puml——它不会渲染为图表。```text
Critical Rules
核心规则
- Every diagram starts with and ends with
@startuml@enduml - Must include before using any macros
!include <archimate/Archimate> - Element syntax:
Layer_Type(alias, "Label") - Relationship syntax:
Rel_Type(fromAlias, toAlias, "label") - Use to group elements into ArchiMate layers
rectangle "Layer" { ... } - Directional suffixes ,
_Up,_Down,_Leftcontrol relationship direction_Right
- 所有图表以开头,以
@startuml结尾@enduml - 使用任意宏之前必须引入
!include <archimate/Archimate> - 元素语法:
Layer_Type(alias, "Label") - 关系语法:
Rel_Type(fromAlias, toAlias, "label") - 使用将元素分组到ArchiMate层级中
rectangle "Layer" { ... } - 方向后缀、
_Up、_Down、_Left可控制关系的指向_Right
Element Macros
元素宏
Business Layer
业务层
| Macro | ArchiMate Element |
|---|---|
| Business Actor |
| Business Role |
| Business Process |
| Business Function |
| Business Service |
| Business Event |
| Business Interface |
| Business Collaboration |
| Business Object |
| Business Product |
| Business Contract |
| Business Representation |
| 宏 | ArchiMate元素 |
|---|---|
| 业务参与者 |
| 业务角色 |
| 业务流程 |
| 业务功能 |
| 业务服务 |
| 业务事件 |
| 业务接口 |
| 业务协作 |
| 业务对象 |
| 业务产品 |
| 业务合同 |
| 业务表示 |
Application Layer
应用层
| Macro | ArchiMate Element |
|---|---|
| Application Component |
| Application Service |
| Application Function |
| Application Interface |
| Application Process |
| Application Interaction |
| Application Event |
| Application Collaboration |
| Application Data Object |
| 宏 | ArchiMate元素 |
|---|---|
| 应用组件 |
| 应用服务 |
| 应用功能 |
| 应用接口 |
| 应用流程 |
| 应用交互 |
| 应用事件 |
| 应用协作 |
| 应用数据对象 |
Technology Layer
技术层
| Macro | ArchiMate Element |
|---|---|
| Technology Device |
| Technology Node |
| System Software |
| Technology Artifact |
| Communication Network |
| Technology Path |
| Technology Service |
| Technology Process |
| Technology Function |
| Technology Interface |
| 宏 | ArchiMate元素 |
|---|---|
| 技术设备 |
| 技术节点 |
| 系统软件 |
| 技术制品 |
| 通信网络 |
| 技术路径 |
| 技术服务 |
| 技术流程 |
| 技术功能 |
| 技术接口 |
Motivation Layer
动因层
| Macro | ArchiMate Element |
|---|---|
| Stakeholder |
| Driver |
| Assessment |
| Goal |
| Outcome |
| Principle |
| Requirement |
| Constraint |
| Value |
| 宏 | ArchiMate元素 |
|---|---|
| 利益相关方 |
| 驱动因素 |
| 评估 |
| 目标 |
| 成果 |
| 原则 |
| 需求 |
| 约束 |
| 价值 |
Strategy Layer
战略层
| Macro | ArchiMate Element |
|---|---|
| Capability |
| Resource |
| Course of Action |
| Value Stream |
| 宏 | ArchiMate元素 |
|---|---|
| 能力 |
| 资源 |
| 行动方案 |
| 价值流 |
Implementation Layer
实现层
| Macro | ArchiMate Element |
|---|---|
| Work Package |
| Deliverable |
| Plateau |
| Gap |
| Implementation Event |
| 宏 | ArchiMate元素 |
|---|---|
| 工作包 |
| 交付物 |
| 平台 |
| 差距 |
| 实现事件 |
Relationship Macros
关系宏
All relationships support directional suffixes: , , , .
_Up_Down_Left_Right| Macro | ArchiMate Relationship | Line Style |
|---|---|---|
| Composition | Solid + filled diamond |
| Aggregation | Solid + open diamond |
| Assignment | Solid + circle→triangle |
| Realization | Dotted + hollow triangle |
| Serving | Solid + arrow |
| Triggering | Solid + filled triangle |
| Flow | Dashed + filled triangle |
| Access | Dotted line |
| Access (read) | Dotted + arrow |
| Access (write) | Dotted + reverse arrow |
| Influence | Dashed + arrow |
| Association | Solid line |
| Specialization | Solid + hollow triangle |
所有关系都支持方向后缀:、、、。
_Up_Down_Left_Right| 宏 | ArchiMate关系 | 线条样式 |
|---|---|---|
| 组合 | 实线+实心菱形 |
| 聚合 | 实线+空心菱形 |
| 分配 | 实线+圆形→三角形 |
| 实现 | 虚线+空心三角形 |
| 服务 | 实线+箭头 |
| 触发 | 实线+实心三角形 |
| 流 | 虚线+实心三角形 |
| 访问 | 点线 |
| 访问(读) | 点线+箭头 |
| 访问(写) | 点线+反向箭头 |
| 影响 | 虚线+箭头 |
| 关联 | 实线 |
| 泛化 | 实线+空心三角形 |
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")
@endumlplantuml
@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")
@endumlDiagram Types
图表类型
| Type | Purpose | Key Macros | Example |
|---|---|---|---|
| Enterprise Landscape | Full B/A/T layered view | All layers | enterprise-landscape.md |
| Application Integration | App-to-app data flows | | application-integration.md |
| Technology Infrastructure | Infrastructure stack | | technology-infrastructure.md |
| Business Capability | Capability map | | business-capability.md |
| Migration Planning | Plateau-based roadmap | | migration-planning.md |
| Security Architecture | Security controls | | security-architecture.md |
| Data Architecture | Data flow & ownership | | data-architecture.md |
| DevOps Pipeline | CI/CD delivery chain | | devops-pipeline.md |
| 类型 | 用途 | 核心宏 | 示例 |
|---|---|---|---|
| 企业全景 | 完整的业务/应用/技术分层视图 | 所有层级 | enterprise-landscape.md |
| 应用集成 | 应用间数据流 | | application-integration.md |
| 技术基础设施 | 基础设施栈 | | technology-infrastructure.md |
| 业务能力 | 能力地图 | | business-capability.md |
| 迁移规划 | 基于平台的路线图 | | migration-planning.md |
| 安全架构 | 安全控制 | | security-architecture.md |
| 数据架构 | 数据流与所有权 | | data-architecture.md |
| DevOps流水线 | CI/CD交付链 | | devops-pipeline.md |