diff --git a/README.md b/README.md index ec6b243ef..f6c111a31 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,7 @@ Future task2 : des4, after des3, 5d ``` classDiagram Class01 <|-- AveryLongClass : Cool +<> Class01 Class03 *-- Class04 Class05 o-- Class06 Class07 .. Class08 @@ -98,7 +99,11 @@ Class01 : size() Class01 : int chimp Class01 : int gorilla Class08 <--> C2: Cool label -<> Class01 +class Class10 { + <> + int id + size() +} ``` ![Class diagram](./img/class.png) diff --git a/dist/index.html b/dist/index.html index d5e7ba0a0..d6a856f49 100644 --- a/dist/index.html +++ b/dist/index.html @@ -399,6 +399,7 @@ merge newbranch
classDiagram Class01 <|-- AveryLongClass : Cool +<<interface>> Class01 Class03 "0" *-- "0..n" Class04 Class05 "1" o-- "many" Class06 Class07 .. Class08 @@ -411,7 +412,11 @@ Class01 : size() Class01 : int chimp Class01 : int gorilla Class08 <--> C2: Cool label -<<interface>> Class01 +class Class10 { + <<service>> + int id + size() +}