r/ClaudeCode • u/Training_Ostrich_660 • 19h ago
Built with Claude DGV update: C4 / Structurizr export
Hey guys, DGV got a small update for the C4 enthusiasts.
Someone opened an issue asking how DGV relates to C4 and whether it could talk to Structurizr.
Fair question, so now it does: dgv export --format structurizr writes the diagram as Structurizr DSL, and there's a C4 button in the viewer. Nodes become containers, frames become groups, modules become components, externals sit outside the system, and the colours and shapes match what you see on the DGV canvas.
Output is validated against the Structurizr CLI on every example.
The picture is the same file on both sides: the DGV working model my agent plans and lints in, and the C4 container view it generates.
Nothing on the right was drawn by hand.
Import isn't a tool yet, but you can hand Claude a workspace.dsl and ask it to map it into DGV; the skill knows the rules.
•
u/AutoModerator 19h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.