Structurizr type diagrams do not support themes
See original GitHub issuehello my problem is as follows
Definition:
workspace "Amazon Web Services Example" "An example AWS deployment architecture." {
model {
springPetClinic = softwaresystem "Spring PetClinic" "Allows employees to view and manage information regarding the veterinarians, the clients, and their pets." "Spring Boot Application" {
webApplication = container "Web Application" "Allows employees to view and manage information regarding the veterinarians, the clients, and their pets." "Java and Spring Boot"
database = container "Database" "Stores information regarding the veterinarians, the clients, and their pets." "Relational database schema" "Database"
}
webApplication -> database "Reads from and writes to" "MySQL Protocol/SSL"
live = deploymentEnvironment "Live" {
deploymentNode "Amazon Web Services" {
tags "Amazon Web Services - Cloud"
region = deploymentNode "US-East-1" {
tags "Amazon Web Services - Region"
route53 = infrastructureNode "Route 53" {
description "Highly available and scalable cloud DNS service."
tags "Amazon Web Services - Route 53"
}
elb = infrastructureNode "Elastic Load Balancer" {
description "Automatically distributes incoming application traffic."
tags "Amazon Web Services - Elastic Load Balancing"
}
deploymentNode "Autoscaling group" {
tags "Amazon Web Services - Auto Scaling"
deploymentNode "Amazon EC2" {
tags "Amazon Web Services - EC2"
webApplicationInstance = containerInstance webApplication
}
}
deploymentNode "Amazon RDS" {
tags "Amazon Web Services - RDS"
deploymentNode "MySQL" {
tags "Amazon Web Services - RDS MySQL instance"
databaseInstance = containerInstance database
}
}
}
}
route53 -> elb "Forwards requests to" "HTTPS"
elb -> webApplicationInstance "Forwards requests to" "HTTPS"
}
}
views {
deployment springPetClinic "Live" "AmazonWebServicesDeployment" {
include *
autolayout lr
animation {
route53
elb
webApplicationInstance
databaseInstance
}
}
styles {
element "Element" {
shape roundedbox
background #ffffff
}
element "Database" {
shape cylinder
}
element "Infrastructure Node" {
shape roundedbox
}
}
themes "https://static.structurizr.com/themes/amazon-web-services-2020.04.30/theme.json"
}
}
Result: https://structurizr.com/dsl
please help!!
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Help - Themes - Structurizr
Structurizr supports the concept of themes, so that you can consistently style diagrams across workspaces. Themes are JSON files containing tag-based element ...
Read more >How to apply theme? · Issue #3 · structurizr/themes - GitHub
I have a problem with applying the existing theme to my C4 model. What I did to apply theme to my workspace is:...
Read more >Software Diagrams - C4 Models with Structurizr
An overview of the C4 model, including main and supplementary diagram types. After the introduction, we then compare of modelling vs ...
Read more >Simon Brown (@simonbrown) / Twitter
An overview of the C4 model, including main and supplementary diagram types. After the introduction, we then compare of modelling vs diagrams and...
Read more >Just enough documentation - Danyl Novhorodov's Blog
By using this approach for documentation and diagrams we can apply ... very good documentation and it supports export to all kinds of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The PlantUML exporter should use the colours from the theme, although the theme is accessed via a HTTPS network call. If that’s blocked, you won’t see any colours.
I guess I will also need
RelationshipStyle
to have a public constructor since I’m decoding JSON.