Skip to content

Instantly share code, notes, and snippets.

@simonbrowndotje
Last active September 16, 2017 02:34
Show Gist options
  • Save simonbrowndotje/12018bafdfa6a37f9fcef66237e1ff9b to your computer and use it in GitHub Desktop.
Save simonbrowndotje/12018bafdfa6a37f9fcef66237e1ff9b to your computer and use it in GitHub Desktop.
An example Structurizr Express diagram definition that uses a hexagon.
Person = User | A user of my software system. | | 940,169
SoftwareSystem = Software System | My software system. | |
Container = Software System | Single Page Application | Does interesting things. | Angular 2 | | 915,1145
Container = Software System | Some Service | Some hipster microservice. | Go | Microservice | 940,1921
Container = Software System | Database | Stores interesting data. | MySQL | Database | 915,2818
Relationship = User | Uses | | Single Page Application | |
Relationship = Single Page Application | Uses | HTTPS | Some Service | |
Relationship = Some Service | Reads from and writes to | | Database | |
Diagram = Container | Software System | A description of this diagram. | A4_Portrait
ElementStyle = Element | 650 | 400 | | #ffffff | 36 |
ElementStyle = Person | 600 | | #08427b | | | Person
ElementStyle = Container | | | #438dd5 | | |
ElementStyle = Database | | | | | | Cylinder
ElementStyle = Microservice | 600 | | #ff0000 | | | Hexagon
RelationshipStyle = Relationship | 5 | | | Direct | 32 | 400 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment