Structurizr DSL generation
From diagrams
AI can be used to convert a hand-drawn system context diagram into a Structurizr DSL definition. Here’s a photo of a diagram from a C4 model workshop:
Convert this diagram to Structurizr DSL.
Here’s the resulting output when pasted into the Structurizr playground:
Now we can add the containers from a separate diagram:
Add the containers.
And here’s the resulting output:
From prompts
Here’s an example chat session with minimal prompting. A little cleanup is required, but it’s a good starting point:
And here’s the output when the generated DSL is pasted into the Structurizr playground:










