Skip to content

Commit cd88d35

Browse files
Added an example of specifying an element border.
1 parent 1bea7b5 commit cd88d35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

structurizr-examples/src/com/structurizr/example/core/WidgetsLimited.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ public static void main(String[] args) throws Exception {
6868
styles.addElementStyle(Tags.PERSON).shape(Shape.Person);
6969

7070
styles.addElementStyle(Tags.ELEMENT).color("#ffffff");
71-
styles.addElementStyle(EXTERNAL_PERSON_TAG).background("#EC5381");
72-
styles.addElementStyle(EXTERNAL_SOFTWARE_SYSTEM_TAG).background("#EC5381");
71+
styles.addElementStyle(EXTERNAL_PERSON_TAG).background("#EC5381").border(Border.Dashed);
72+
styles.addElementStyle(EXTERNAL_SOFTWARE_SYSTEM_TAG).background("#EC5381").border(Border.Dashed);
7373

7474
styles.addElementStyle(INTERNAL_PERSON_TAG).background("#B60037");
7575
styles.addElementStyle(INTERNAL_SOFTWARE_SYSTEM_TAG).background("#B60037");

0 commit comments

Comments
 (0)