Skip to content

Commit 6682040

Browse files
committed
Updates to Archimate.puml file and added sample files
1 parent 86641f0 commit 6682040

File tree

6 files changed

+220
-3
lines changed

6 files changed

+220
-3
lines changed

Archimate.puml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
!define ELEMENT_FONT_COLOR #FFFFFF
99

1010
skinparam defaultTextAlignment center
11-
skinparam wrapWidth 200
11+
skinparam wrapWidth 400
1212
skinparam maxMessageSize 150
1313

1414
skinparam Arrow {
@@ -28,6 +28,13 @@ skinparam Folder<<group>> {
2828
FontColor #444444
2929
BackgroundColor lightgrey
3030
}
31+
skinparam rectangle<<boundary>> {
32+
Shadowing false
33+
StereotypeFontSize 0
34+
FontColor #444444
35+
BorderColor #444444
36+
BorderStyle dashed
37+
}
3138

3239
' Layout
3340
' ##################################
@@ -47,6 +54,11 @@ skinparam Folder<<group>> {
4754
!define Lay_R(e_from, e_to) e_from -[hidden]R- e_to
4855
!define Lay_L(e_from, e_to) e_from -[hidden]L- e_to
4956

57+
' Boundaries
58+
' ##################################
59+
!define Boundary(e_alias, e_label) rectangle "==e_label" <<boundary>> as e_alias
60+
!define Boundary(e_alias, e_label, e_type) rectangle "==e_label\n<size:TECHN_FONT_SIZE>[e_type]</size>" <<boundary>> as e_alias
61+
5062
' Elements
5163
' ##################################
5264
'Strategy Elements

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,32 @@
11
# Archimate-PlantUML
22
PlantUML macros and other includes for Archimate Diagrams
3+
4+
## Background
5+
> __Todo__
6+
> * PlantUML
7+
> * Archimate
8+
9+
## Getting Started
10+
> __Todo__
11+
>
12+
>
13+
14+
## Usage
15+
> __Todo__
16+
>
17+
>
18+
19+
## Contributing
20+
If you have any ideas, just open an issue [Link to add] and tell me what you think.
21+
22+
If you'd like to contribute, please fork the repository and use a feature branch.
23+
Pull requests are warmly welcome.
24+
25+
## License
26+
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
27+
28+
## Acknowledgments
29+
* [PlantUML Reference Guide](http://plantuml.com/PlantUML_Language_Reference_Guide.pdf) - PlantUML Reference Guide
30+
* [Archimate 3.0.1 Specification](http://pubs.opengroup.org/architecture/archimate3-doc/) - Archimate Specifications
31+
* [Plant UML Archimate Specifications](http://plantuml.com/archimate-diagram) - for archimate spec in PlantUML
32+
* [C4-PlantUML](https://github.com/RicardoNiepel/C4-PlantUML) - for inspiration, base structure and scripts idea
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
@startuml
2+
!include Archimate.puml
3+
4+
title Archimate Sample - Internet Browser
5+
6+
'LAYOUT_AS_SKETCH
7+
'LAYOUT_LEFT_RIGHT
8+
'LAYOUT_TOP_DOWN
9+
10+
Business_Object(businessObject, "A Business Object")
11+
Business_Process(someBusinessProcess,"Some Business Process")
12+
Business_Service(itSupportService, "IT Support for Business (Application Service)")
13+
14+
Application_DataObject(dataObject, "Web Page Data \n 'on the fly'")
15+
Application_Function(webpageBehaviour, "Web page behaviour")
16+
Application_Component(ActivePartWebPage, "Active Part of the web page \n 'on the fly'")
17+
18+
Technology_Artifact(inMemoryItem,"in memory / 'on the fly' html/javascript")
19+
Technology_Service(internetBrowser, "Internet Browser Generic & Plugin")
20+
Technology_Service(internetBrowserPlugin, "Some Internet Browser Plugin")
21+
Technology_Service(webServer, "Some web server")
22+
23+
Rel_Flow_Left(someBusinessProcess, businessObject, "")
24+
Rel_Serving_Up(itSupportService, someBusinessProcess, "")
25+
Rel_Specilization_Up(webpageBehaviour, itSupportService, "")
26+
Rel_Flow_Right(dataObject, webpageBehaviour, "")
27+
Rel_Specilization_Up(dataObject, businessObject, "")
28+
Rel_Assignment_Left(ActivePartWebPage, webpageBehaviour, "")
29+
Rel_Specilization_Up(inMemoryItem, dataObject, "")
30+
Rel_Realization_Up(inMemoryItem, ActivePartWebPage, "")
31+
Rel_Specilization_Right(inMemoryItem,internetBrowser, "")
32+
Rel_Serving_Up(internetBrowser, webpageBehaviour, "")
33+
Rel_Serving_Up(internetBrowserPlugin, webpageBehaviour, "")
34+
Rel_Aggregation_Right(internetBrowser, internetBrowserPlugin, "")
35+
Rel_Access_Up(webServer, inMemoryItem, "")
36+
Rel_Serving_Up(webServer, internetBrowser, "")
37+
38+
@enduml

samples/Archimate-Overview.wsd

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
@startuml
2+
!include Archimate.puml
3+
4+
title Archimate Overview
5+
6+
'LAYOUT_AS_SKETCH
7+
'LAYOUT_LEFT_RIGHT
8+
'LAYOUT_TOP_DOWN
9+
10+
Grouping(M_Group,"Motivation"){
11+
Motivation_Stakeholder(MStakeholder, "Stakeholder")
12+
Motivation_Assessment(MAssessment, "Assessment")
13+
Motivation_Driver(MDriver, "Driver")
14+
Motivation_Goal(MGoal, "Goal")
15+
Motivation_Outcome(MOutcome,"Outcome")
16+
Motivation_Principle(MPrinciple,"Principle")
17+
Motivation_Constraint(MConstraint,"Constraint")
18+
Motivation_Requirement(MRequirement,"Requirement")
19+
Motivation_Meaning(MMeaning,"Meaning")
20+
Motivation_Value(MValue,"Value")
21+
}
22+
23+
Grouping(B_Group,"Business"){
24+
Business_Object(BObject, "Business Object")
25+
Business_Representation(BRepresentation, "Representation")
26+
Business_Contract(BContract, "Contract")
27+
Business_Product(BProduct, "Product")
28+
29+
Business_Service(BService, "Business Service")
30+
Business_Function(BFunction, "Business Function")
31+
Business_Process(BProcess, "Business Process")
32+
Business_Event(BEvent, "Business Event")
33+
Business_Interaction(BInteraction, "Business Interaction")
34+
35+
Business_Role(BRole,"Business Role")
36+
Business_Actor(BActor,"Business Actor")
37+
Business_Collaboration(BCollaboration, "Business Collaboration")
38+
Business_Interface(BInterface, "Business Interface")
39+
}
40+
41+
Grouping(A_Group, "Application"){
42+
Application_DataObject(ADataObject, "Data Object")
43+
44+
Application_Service(AService,"Application Service")
45+
Application_Function(AFunction, "Application Function")
46+
Application_Process(AProcess, "Application Process")
47+
Application_Event(AEvent, "Application Event")
48+
Application_Interaction(AInteraction, "Application Interaction")
49+
50+
Application_Component(AComponent, "Application Component")
51+
Application_Collaboration(ACollaboration, "Application Collaboration")
52+
Application_Interface(AInterface, "Application Interface")
53+
}
54+
55+
Grouping(T_Group, "Technology"){
56+
Technology_Artifact(TArtifact, "Artifact")
57+
58+
Technology_Service(TService, "Technology Service")
59+
Technology_Function(TFunction, "Technology Function")
60+
Technology_Process(TProcess, "Technology Process")
61+
Technology_Event(TEvent, "Technology Event")
62+
Technology_Interaction(TInteraction, "Technology Interaction")
63+
64+
Technology_Node(TNode, "Technology Node")
65+
Technology_SystemSoftware(TSystemSoftware, "System Software")
66+
Technology_Device(TDevice,"Technology Device")
67+
Technology_Interface(TInterface, "Technology Interface")
68+
Technology_Collaboration(TCollaboration, "Technology Collaboration")
69+
Technology_CommunicationNetwork(TCommunicationNetwork, "Communication Network")
70+
Technology_Path(TPath, "Technology Path")
71+
}
72+
73+
Grouping(I_Group, "Implementation"){
74+
Implementation_Deliverable(IDeliverable, "Deliverable")
75+
Implementation_Gap(IGap, "Gap")
76+
77+
Implementation_WorkPackage(IWorkPackage, "Work Package")
78+
Implementation_Event(IEvent, "Implementation Event")
79+
Implementation_Plateau(IPlateau,"Plateau")
80+
}
81+
82+
Grouping(S_Group,"Strategy"){
83+
Strategy_Resource(SResource,"Resource")
84+
85+
Strategy_Capability(SCapability,"Capability")
86+
}
87+
88+
Grouping(C_Group, "Composite"){
89+
Other_Location(CLocation,"Location")
90+
}
91+
92+
Grouping(P_Group, "Physical"){
93+
Physical_Material(PMaterial, "Material")
94+
95+
Physical_Facility(PFacility, "Facility")
96+
Physical_Equipment(PEquipment, "Equipment")
97+
Physical_DistributionNetwork(PDistributionNetwork, "Distribution Network")
98+
}
99+
@enduml
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
@startuml
2+
!include Archimate.puml
3+
4+
title Archimate Example - Relationships
5+
6+
'LAYOUT_AS_SKETCH
7+
'LAYOUT_LEFT_RIGHT
8+
'LAYOUT_TOP_DOWN
9+
10+
Business_Service(Service01, "Service 01")
11+
Application_Service(Service02, "Service 02")
12+
Technology_Service(Service03, "Service03")
13+
14+
Rel_Composition_Right(Service01, Service02, "Composition")
15+
Rel_Aggregation(Service01, Service02, "Aggregation")
16+
Rel_Assignment(Service01, Service02, "Assignment")
17+
Rel_Specilization(Service01, Service02, "Specilization")
18+
Rel_Serving(Service01, Service02, "Serving")
19+
Rel_Association(Service02, Service03, "Association")
20+
Rel_Flow(Service02, Service03, "Flow")
21+
Rel_Realization(Service02, Service03, "Realization")
22+
Rel_Triggering(Service02, Service03, "Triggering")
23+
Rel_Access(Service02, Service03, "Access")
24+
Rel_Influnce(Service02, Service03, " + Influnce")
25+
26+
Grouping(Example01, "Example 01"){
27+
Strategy_Capability(TestCapability01, "Test Capability")
28+
Business_Product(TestProduct01, "Test Product")
29+
Application_Service(TestService01, "Test Service")
30+
Technology_Device(TestDevice01, "Test Device")
31+
32+
Rel_Composition(TestCapability01, TestProduct01, "C-P")
33+
Rel_Composition_Down(TestProduct01, TestService01, "P-S")
34+
Rel_Composition_Left(TestService01, TestDevice01, "S-D")
35+
Rel_Composition_Up(TestDevice01, TestCapability01, "D-C")
36+
}
37+
38+
Lay_D(Service01, Example01)
39+
@enduml

samples/Archimate-01.wsd renamed to samples/Archimate-Sample01.wsd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@startuml
22
!include Archimate.puml
33

4-
title Archimate Example 01
4+
title Archimate Sample - Requirement & Application Services
55

66
'LAYOUT_AS_SKETCH
77
'LAYOUT_LEFT_RIGHT
@@ -12,7 +12,6 @@ Motivation_Requirement(ReqBudgetPlanning, "Do budget planning within the ERP sys
1212

1313
Application_Service(ASPayroll,"Payroll Service")
1414
Application_Service(ASBudgetPlanning,"Budget Planning Service")
15-
1615
Application_Component(ACSAPFinanceAccRec, "SAP Finance - Accounts Recievables")
1716
Application_Component(ACSAPHR, "SAP Human Resources")
1817
Application_Component(ACSAPFin, "SAP Finance")

0 commit comments

Comments
 (0)