Skip to content

Commit

Permalink
Some final tweaks for v0.5.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbrowndotje committed Nov 8, 2015
1 parent 1e0864e commit 6062f3b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.</td>
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.</td>
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.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 6062f3b

Please sign in to comment.