Skip to content

Instantly share code, notes, and snippets.

@simonbrowndotje
Created September 20, 2017 09:40
Show Gist options
  • Save simonbrowndotje/ef5a7aa446ebbd9f4104241e88b4cdd8 to your computer and use it in GitHub Desktop.
Save simonbrowndotje/ef5a7aa446ebbd9f4104241e88b4cdd8 to your computer and use it in GitHub Desktop.
An example Structurizr Express definition
{
"type": "System Context",
"scope": "Software System",
"description": "A short description of this diagram.",
"size": "A5_Landscape",
"elements": [
{
"type": "Person",
"name": "User",
"description": "A user of my software system.",
"tags": "",
"position": "1040,215"
},
{
"type": "Software System",
"name": "Software System",
"description": "My software system.",
"tags": "",
"position": "1015,1112",
"containers": []
}
],
"relationships": [
{
"source": "User",
"description": "Uses",
"technology": "",
"destination": "Software System",
"tags": "",
"vertices": []
}
],
"styles": [
{
"type": "element",
"tag": "Element",
"width": "",
"height": "",
"background": "",
"color": "#ffffff",
"fontSize": "",
"border": "",
"opacity": "",
"shape": ""
},
{
"type": "element",
"tag": "Software System",
"width": "",
"height": "",
"background": "#d34407",
"color": "",
"fontSize": "",
"border": "",
"opacity": "",
"shape": ""
},
{
"type": "element",
"tag": "Person",
"width": "",
"height": "",
"background": "#f86628",
"color": "",
"fontSize": "",
"border": "",
"opacity": "",
"shape": "Person"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment