Skip to content

Commit 17128db

Browse files
authored
Convert class diagram from PlantUML to mermaid (#23)
Convert class diagram from PlantUML to mermaid ## References - TODO <!-- References to relevant GitHub issues and pull requests, esp. upstream and downstream changes --> ## Submitter checklist - [ ] The PR request is well described and justified, including the body and the references - [ ] The PR title represents the desired changelog entry - [ ] The repository's code style is followed (see the contributing guide) - [ ] Test coverage that demonstrates that the change works as expected - [ ] For new features, there's necessary documentation in this pull request or in a subsequent PR to [wiremock.org](https://github.com/wiremock/wiremock.org) <!-- Put an `x` into the [ ] to show you have filled the information. The template comes from https://github.com/wiremock/.github/blob/main/.github/pull_request_template.md You can override it by creating .github/pull_request_template.md in your own repository -->
1 parent 64a8304 commit 17128db

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

README.md

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,19 @@ Adds support to transport state across different stubs.
2424
| `property` | A property of a `state`. A state can have multiple properties. |
2525
| `list` | Next to the singularic state, a context can have a list of `states`. The list of `states` can be modified but `states` within the `list` can't. |
2626

27-
```plantuml
28-
@startuml Data model
29-
!pragma layout smetana
30-
31-
class Store
32-
class Context
33-
class State
34-
class Property {
35-
+ String key
36-
+ String value
37-
}
38-
class List
39-
40-
Store "1" *-> "*" Context
41-
Context "1" *-> "1" State
42-
Context "1" *-> "1" List
43-
List "1" *-> "*" State
44-
State "1" *-> Property
45-
@enduml
27+
```mermaid
28+
classDiagram
29+
direction LR
30+
Store "1" *-- "*" Context
31+
Context "1" *-- "1" State
32+
Context "1" *-- "1" List
33+
List "1" *-- "*" State
34+
State "1" *-- "*" Property
35+
class Property {
36+
+String key
37+
+String value
38+
}
39+
4640
```
4741

4842
## Background

0 commit comments

Comments
 (0)