Skip to content

Commit ebf4486

Browse files
Adds a hardware system pattern.
1 parent 9b6ca35 commit ebf4486

3 files changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
workspace extends https://docs.structurizr.com/dsl/patterns/workspace.dsl {
2+
3+
model {
4+
archetypes {
5+
hardwareSystem = element {
6+
metadata "Hardware System"
7+
}
8+
}
9+
10+
ss = softwareSystem "Name"
11+
camera = hardwareSystem "Camera"
12+
13+
ss -> camera "Sends control signals to"
14+
}
15+
16+
views {
17+
systemContext ss "SystemContext" {
18+
include *
19+
}
20+
}
21+
22+
}
55.6 KB
Loading
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
layout: default
3+
title: Hardware system
4+
parent: Pattern catalog
5+
grand_parent: DSL
6+
permalink: /dsl/patterns/hardware-system/
7+
---
8+
9+
# Hardware system
10+
11+
- You need to model a hardware system, such as a camera/robot/device that your software controls.
12+
- Model the hardware system as a [custom element](/dsl/cookbook/custom-elements), using an archetype if required.
13+
14+
[![](example-1.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/patterns/hardware-system/example-1.dsl)

0 commit comments

Comments
 (0)