Skip to content

Commit 4357894

Browse files
Adds a comparison to PlantUML et al.
1 parent 6843272 commit 4357894

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

dsl/index.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,22 @@ The following video, "C4 models as code", provides a good starting point for und
2222
<iframe src="https://www.youtube-nocookie.com/embed/LYzOc7vI-Uo?si=Fiwayepq9xOKpgeK" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
2323
</div>
2424

25+
## Structurizr DSL vs PlantUML, Mermaid, Graphviz/DOT
26+
27+
The two key differences between the Structurizr DSL and other "diagrams as code" formats are:
28+
29+
1. The Structurizr DSL is model-based, making it possible to generate multiple diagrams, at different levels of abstraction, from a single DSL file.
30+
2. The Structurizr DSL sits on top of the Java Virtual Machine, making it possible to execute Java/Groovy/Kotlin/JRuby code during the workspace generation process. This is particularly useful if you would like to [reverse-engineer](/usage/authoring#manual-authoring-vs-reverse-engineering) parts of your software architecture mdoel.
31+
32+
| | Structurizr DSL | PlantUML | Mermaid | Graphviz |
33+
|----------------------------------------------------|-------------------------|----------|---------|----------|
34+
| Can generate multiple diagrams from a single file? | [Yes](/dsl/tutorial) | No | No | No |
35+
| Can include/execute Java code? | [Yes](/dsl/plugins) | No | No | No |
36+
| Can include/execute Groovy/Kotlin/JRuby scripts? | [Yes](/dsl/scripts) | No | No | No |
37+
| Diagrams can be rendered with multiple tools? | [Yes](/usage/rendering) | No | No | No |
38+
39+
## Authoring
40+
2541
There are a number of options for authoring workspaces with the Structurizr DSL.
2642

2743
| Tool | Summary | Recommended |

0 commit comments

Comments
 (0)