Skip to content

Commit 1f35dd9

Browse files
structurizr.com/dsl -> playground.structurizr.com
1 parent 661e293 commit 1f35dd9

File tree

28 files changed

+54
-65
lines changed

28 files changed

+54
-65
lines changed

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ logo: "/assets/images/structurizr-banner.png"
99
favicon_ico: "/assets/images/favicon.ico"
1010

1111
nav_external_links:
12+
- title: Playground
13+
url: https://playground.structurizr.com
1214
- title: Patreon
1315
url: https://patreon.com/structurizr
1416

dsl/02-tutorial.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Finally, the `autolayout lr` statement says that automatic layout should be used
7070

7171
Running this example via the Structurizr DSL demo page (click the image below) results in the following diagram.
7272

73-
[![](/dsl/tutorial/1.png)](http://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/tutorial/1.dsl)
73+
[![](/dsl/tutorial/1.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/tutorial/1.dsl)
7474

7575
## 2. Containers
7676

@@ -151,11 +151,11 @@ direct relationship to/from them". The `autolayout lr` statement is the same as
151151

152152
The example DSL creates two diagrams. First we have the system context diagram as before.
153153

154-
[![](/dsl/tutorial/2-1.png)](http://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/tutorial/2.dsl&view=Diagram1)
154+
[![](/dsl/tutorial/2-1.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/tutorial/2.dsl&view=Diagram1)
155155

156156
And if you double-click on the software system, you'll navigate to the container diagram.
157157

158-
[![](/dsl/tutorial/2-2.png)](http://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/tutorial/2.dsl&view=Diagram2)
158+
[![](/dsl/tutorial/2-2.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/tutorial/2.dsl&view=Diagram2)
159159

160160
## 3. Implied relationships
161161

@@ -181,7 +181,7 @@ The resulting diagrams are the same. There is an explicit relationship from the
181181
and because the web application is a container inside the software system,
182182
there is an implicit (or implied) relationship between the user and the software system itself.
183183

184-
[![](/dsl/tutorial/3-1.png)](http://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/tutorial/3.dsl&view=Diagram1)
184+
[![](/dsl/tutorial/3-1.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/tutorial/3.dsl&view=Diagram1)
185185

186186
## 4. View expressions
187187

@@ -285,7 +285,7 @@ This code:
285285
- increases the line thickness for boundary boxes (e.g. the dashed line that shows the software system boundary on a container diagram)
286286
- increases the line thickness for relationships
287287

288-
[![](/dsl/tutorial/5-1.png)](http://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/tutorial/5.dsl&view=Diagram1)
288+
[![](/dsl/tutorial/5-1.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/tutorial/5.dsl&view=Diagram1)
289289

290290
Changing the shape of the database schema element is a two-step process.
291291
First we need to add a custom tag (in this case `Database` to the element).
@@ -310,7 +310,7 @@ And then we can define an element style for that `Database` tag.
310310
}
311311
```
312312

313-
[![](/dsl/tutorial/5-2.png)](http://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/tutorial/5.dsl&view=Diagram2)
313+
[![](/dsl/tutorial/5-2.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/tutorial/5.dsl&view=Diagram2)
314314

315315
Clicking the "i" button inside the diagram editor will reveal the automatically generated diagram key for that particular diagram.
316316

dsl/cookbook/amazon-web-services/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ workspace {
6060

6161
This DSL defines a deployment environment named `Live`, with a hierarchy of deployment nodes showing the various AWS services in use for deployment. It also defines some infrastructure nodes representing services that don't have any software systems/containers deployed onto them.
6262

63-
[![](example-1.png)](http://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/cookbook/amazon-web-services/example-1.dsl)
63+
[![](example-1.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/cookbook/amazon-web-services/example-1.dsl)
6464

6565
The [pre-built Amazon Web Services theme](https://structurizr.com/help/theme?url=https://static.structurizr.com/themes/amazon-web-services-2020.04.30/theme.json) can be used to add some colour, and make use of the AWS icon set.
6666

@@ -130,8 +130,8 @@ workspace {
130130

131131
This DSL adds some element tags, and a reference to the Amazon Web Services theme.
132132

133-
[![](example-2.png)](http://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/cookbook/amazon-web-services/example-2.dsl)
133+
[![](example-2.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/cookbook/amazon-web-services/example-2.dsl)
134134

135135
Further styles can be added if desired too.
136136

137-
[![](example-3.png)](http://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/cookbook/amazon-web-services/example-3.dsl)
137+
[![](example-3.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/cookbook/amazon-web-services/example-3.dsl)

dsl/cookbook/bulk-operations-elements/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ workspace {
4242
}
4343
```
4444

45-
[![](example-1.png)](http://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/cookbook/bulk-operations-elements/example-1.dsl)
45+
[![](example-1.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/cookbook/bulk-operations-elements/example-1.dsl)
4646

4747
## Links
4848

dsl/cookbook/component-view/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ workspace {
4040

4141
This DSL defines a component view for the container `webapp`, and `include *` includes the default set of model elements for the view.
4242

43-
[![](example-1.png)](http://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/cookbook/component-view/example-1.dsl)
43+
[![](example-1.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/cookbook/component-view/example-1.dsl)
4444

4545
Component views can be rendered using the Structurizr cloud service/on-premises installation or exported to a number of other formats via the [Structurizr CLI export command](https://github.com/structurizr/cli/blob/master/docs/export.md).
4646

dsl/cookbook/container-view-multiple-software-systems/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ workspace {
3737
}
3838
```
3939

40-
[![](example-1.png)](https://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/cookbook/container-view-multiple-software-systems/example-1.dsl)
40+
[![](example-1.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/cookbook/container-view-multiple-software-systems/example-1.dsl)
4141

4242
While sufficient for many purposes, there may be times when you want to show the dependency between the two containers, each of which resides in a
4343
separate software system.
@@ -70,7 +70,7 @@ workspace {
7070

7171
This in turn will now show the two containers.
7272

73-
[![](example-2.png)](https://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/cookbook/container-view-multiple-software-systems/example-2.dsl)
73+
[![](example-2.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/cookbook/container-view-multiple-software-systems/example-2.dsl)
7474

7575
If you'd rather not specify each container individually, you could utilise an [expression](/dsl/expressions)
7676
and replace the `include` statement with one of the following:

dsl/cookbook/container-view/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ workspace {
3636

3737
This DSL defines a container view for the software system `s`, and `include *` includes the default set of model elements for the view.
3838

39-
[![](example-1.png)](http://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/cookbook/container-view/example-1.dsl)
39+
[![](example-1.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/cookbook/container-view/example-1.dsl)
4040

4141
Container views can be rendered using the Structurizr cloud service/on-premises installation or exported to a number of other formats via the [Structurizr CLI export command](https://github.com/structurizr/cli/blob/master/docs/export.md).
4242

dsl/cookbook/custom-elements/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ workspace {
3131
}
3232
```
3333

34-
[![](example-1.png)](http://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/cookbook/custom-elements/example-1.dsl)
34+
[![](example-1.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/cookbook/custom-elements/example-1.dsl)
3535

3636
## Links
3737

dsl/cookbook/custom-view/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ workspace {
3434

3535
This DSL defines a custom view showing a couple of custom elements.
3636

37-
[![](example-1.png)](http://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/cookbook/custom-view/example-1.dsl)
37+
[![](example-1.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/cookbook/custom-view/example-1.dsl)
3838

3939
## Links
4040

dsl/cookbook/deployment-groups/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ The container instance to container instance relationships are based upon the co
5252
defined in the static structure part of the model.
5353
While this works out of the box in many cases, here we can see that the "Service API" on "Server 1" has a connection to the "Database Schema" on "Server 2", and vice versa.
5454

55-
[![](example-1.png)](http://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/cookbook/deployment-groups/example-1.dsl)
55+
[![](example-1.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/cookbook/deployment-groups/example-1.dsl)
5656

5757
If this is not the desired behaviour, you can use the "deployment group" feature, which
5858
provides a way to group software system/container instances and restrict how relationships are created between them.
@@ -98,7 +98,7 @@ workspace {
9898
}
9999
```
100100

101-
[![](example-2.png)](http://structurizr.com/dsl?src=https://docs.structurizr.com/dsl/cookbook/deployment-groups/example-2.dsl)
101+
[![](example-2.png)](https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/cookbook/deployment-groups/example-2.dsl)
102102

103103
## Links
104104

0 commit comments

Comments
 (0)