Skip to content

Commit 458affe

Browse files
author
JeanMarc van Leerdam
committed
Minor fixes based on PR comments
1 parent 3281b72 commit 458affe

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

CHANGES.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
## 3.2.2 (not yet released)
2-
3-
### What's changed
4-
* Added support for ArchiMate shapes in sequence diagrams in [#59](https://github.com/plantuml-stdlib/Archimate-PlantUML/pull/59)
5-
6-
71
## 3.2.1 (not yet released)
82

93
### What's changed
4+
* Added support for ArchiMate shapes in sequence diagrams in [#59](https://github.com/plantuml-stdlib/Archimate-PlantUML/pull/59)
105
* Special shapes can be used for some elements in [#58](https://github.com/plantuml-stdlib/Archimate-PlantUML/pull/58)
116
* Bugfix: use `%true()` and `%false()` instead of `true` and `false` (included in #58)
127

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,12 @@ Call the procedure with a label, and if the label is not unique within the diagr
364364
$elementType("Label")
365365
$elementType("Label", ID)
366366
```
367-
The supported elements for sequence diagrams are:
367+
368+
The supported elements for sequence diagrams are listed in the table below.
369+
370+
<details>
371+
372+
<summary>Click to show the table</summary>
368373

369374
| Aspect | Type | Procedure |
370375
|------------------------------|-----------------------|-----------------------------|
@@ -427,6 +432,8 @@ The supported elements for sequence diagrams are:
427432
| Technology - Physical | Facility | `$facility` |
428433
| Technology - Physical | Material | `$material` |
429434

435+
</details>
436+
430437
## Example
431438
```plantuml
432439
@startuml

dist/plantuml-stdlib/stdlib/archimate/Archimate.puml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
' Version
44
'######################################
55
!function ArchimateVersion()
6-
!$archimateVersion = "3.2.2"
6+
!$archimateVersion = "3.2.1"
77
!return $archimateVersion
88
!endfunction
99

dist/plantuml-stdlib/stdlib/archimate/ArchimateSequenceDiagramSupport.puml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
!$id = $label
3131
!endif
3232
!if ($type=="distributionnetwork")
33-
!$bgcolor = PHYSICAL
33+
!$bgcolor = "#PHYSICAL"
3434
!else
35-
!$bgcolor = $layer
35+
!$bgcolor = "#" + $layer
3636
!endif
37-
participant "$label" as $id <<$archimate/$layer-$type>> #$bgcolor
37+
participant "$label" as $id <<$archimate/$layer-$type>> $bgcolor
3838
!endprocedure
3939

4040
' motivation

0 commit comments

Comments
 (0)