Skip to content

Commit

Permalink
Merge pull request #35 from robinvanb/patch-1
Browse files Browse the repository at this point in the history
Update Spring PetClinic Readme
  • Loading branch information
simonbrowndotje authored Oct 10, 2016
2 parents 8ab58df + 38f68b7 commit 24ad956
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/spring-petclinic.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,17 +109,15 @@ With the software architecture model in place, we now need to create some views

```java
ViewSet viewSet = workspace.getViews();
SystemContextView contextView = viewSet.createContextView(springPetClinic);
contextView.setKey("context");
SystemContextView contextView = viewSet.createContextView(springPetClinic, "context", "Context view for Spring PetClinic");
contextView.addAllSoftwareSystems();
contextView.addAllPeople();
```

Next is the container diagram.

```java
ContainerView containerView = viewSet.createContainerView(springPetClinic);
containerView.setKey("containers");
ContainerView containerView = viewSet.createContainerView(springPetClinic, "containers", "Container view for Spring PetClinic");
containerView.addAllPeople();
containerView.addAllSoftwareSystems();
containerView.addAllContainers();
Expand Down Expand Up @@ -200,4 +198,4 @@ If you sign in to Structurizr and open the workspace you just uploaded, you'll s

![The Spring PetClinic workspace](images/spring-petclinic-1.png)

Structurizr doesn't do any automatic layout of the elements on your diagrams, so you will need to drag the boxes around to create a layout that you like. You can save the position of the diagram elements though. And that's it!
Structurizr doesn't do any automatic layout of the elements on your diagrams, so you will need to drag the boxes around to create a layout that you like. You can save the position of the diagram elements though. And that's it!

0 comments on commit 24ad956

Please sign in to comment.