diff --git a/README.md b/README.md index 124bb714..74017c54 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ The dependencies for use with Maven, Ivy, Gradle, etc are as follows. Name | Description ------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- -com.structurizr:structurizr-core:0.3.1 | The core library that can used to create models. -com.structurizr:structurizr-client:0.3.1 | The structurizr.com API client for Java for uploading models. -com.structurizr:structurizr-spring:0.3.1 | The Spring integration to extract classes annotated @Controller, @Service and @Repository for identification as components. -com.structurizr:structurizr-annotations:0.3.1 | Annotations to add software architecture hints into your own code. +com.structurizr:structurizr-core:0.5.0 | The core library that can used to create models. +com.structurizr:structurizr-client:0.5.0 | The structurizr.com API client for Java for uploading models. +com.structurizr:structurizr-spring:0.5.0 | The Spring integration to extract classes annotated @Controller, @Service and @Repository for identification as components. +com.structurizr:structurizr-annotations:0.5.0 | Annotations to add software architecture hints into your own code. diff --git a/structurizr-examples/src/com/structurizr/example/core/FinancialRiskSystem.java b/structurizr-examples/src/com/structurizr/example/core/FinancialRiskSystem.java index fcdb6b60..863fc6d3 100644 --- a/structurizr-examples/src/com/structurizr/example/core/FinancialRiskSystem.java +++ b/structurizr-examples/src/com/structurizr/example/core/FinancialRiskSystem.java @@ -2,12 +2,9 @@ import com.structurizr.Workspace; import com.structurizr.api.StructurizrClient; -import com.structurizr.io.json.JsonWriter; import com.structurizr.model.*; import com.structurizr.view.*; -import java.io.StringWriter; - /** * This is a simple (incomplete) example C4 model based upon the financial risk system * architecture kata, which can be found at http://bit.ly/sa4d-risksystem diff --git a/structurizr-examples/src/com/structurizr/example/core/MessageBusExample.java b/structurizr-examples/src/com/structurizr/example/core/MessageBusExample.java index 66cc7030..7435fb46 100644 --- a/structurizr-examples/src/com/structurizr/example/core/MessageBusExample.java +++ b/structurizr-examples/src/com/structurizr/example/core/MessageBusExample.java @@ -67,10 +67,10 @@ public static void main(String[] args) throws Exception { dynamicView.endChildSequence(); views.getConfiguration().getStyles().add(new ElementStyle(Tags.ELEMENT, null, null, null, null, null, Shape.RoundedBox)); - views.getConfiguration().getStyles().add(new ElementStyle(MESSAGE_BUS_TAG, 1600, null, "#9A2EFE", "white", null)); - views.getConfiguration().getStyles().add(new ElementStyle(MICROSERVICE_TAG, null, null, "#AC58FA", "white", null, null)); - views.getConfiguration().getStyles().add(new ElementStyle(DATABASE_TAG, null, null, "#BE81F7", "white", null, Shape.Cylinder)); - views.getConfiguration().getStyles().add(new ElementStyle(EVENT_STORE_TAG, null, null, "#D0A9F5", "white", null, Shape.Cylinder)); + views.getConfiguration().getStyles().add(new ElementStyle(MESSAGE_BUS_TAG, 1600, null, "#FFBF00", "#000000", null)); + views.getConfiguration().getStyles().add(new ElementStyle(MICROSERVICE_TAG, null, null, "#FACC2E", "#000000", null, null)); + views.getConfiguration().getStyles().add(new ElementStyle(DATABASE_TAG, null, null, "#F5DA81", "#000000", null, Shape.Cylinder)); + views.getConfiguration().getStyles().add(new ElementStyle(EVENT_STORE_TAG, null, null, "#F5DA81", "#000000", null, Shape.Cylinder)); views.getConfiguration().getStyles().add(new RelationshipStyle(Tags.ASYNCHRONOUS, null, null, true, null, null, null, null)); views.getConfiguration().getStyles().add(new RelationshipStyle(Tags.SYNCHRONOUS, null, null, false, null, null, null, null));