Plantuml » History » Version 22
Vyacheslav Mukhortov, 2025-07-17 16:41
| 1 | 13 | Vyacheslav Mukhortov | h1. Plantuml Test Page |
|---|---|---|---|
| 2 | 1 | Evgeniy Pavlovskiy | |
| 3 | 16 | Vyacheslav Mukhortov | h2. Use-case model |
| 4 | |||
| 5 | 1 | Evgeniy Pavlovskiy | {{plantuml(png) |
| 6 | 15 | Vyacheslav Mukhortov | skinparam actorStyle Hollow |
| 7 | actor Visitor as v |
||
| 8 | usecase "Login" as uc1 |
||
| 9 | usecase "Forgot password" as uc2 |
||
| 10 | 22 | Vyacheslav Mukhortov | usecase "Test" as uc3 |
| 11 | 15 | Vyacheslav Mukhortov | v -right--> uc1 |
| 12 | uc2 .up.> uc1 : <<extends>> |
||
| 13 | }} |
||
| 14 | |||
| 15 | {{plantuml(png) |
||
| 16 | 21 | Vyacheslav Mukhortov | |
| 17 | 1 | Evgeniy Pavlovskiy | Bob -> Alice : hello |
| 18 | 8 | Vyacheslav Mukhortov | }} |
| 19 | |||
| 20 | 1 | Evgeniy Pavlovskiy | h2. Analysis model |
| 21 | 16 | Vyacheslav Mukhortov | |
| 22 | 8 | Vyacheslav Mukhortov | {{plantuml(png) |
| 23 | 15 | Vyacheslav Mukhortov | control Controller as c |
| 24 | entity Document as d |
||
| 25 | boundary DocumentView as dv |
||
| 26 | dv -right..> c |
||
| 27 | c -right..> d |
||
| 28 | }} |
||
| 29 | |||
| 30 | h2. Design model |
||
| 31 | |||
| 32 | {{plantuml(png) |
||
| 33 | 1 | Evgeniy Pavlovskiy | Class01 <|-- Class02 |
| 34 | 18 | Vyacheslav Mukhortov | Class03 *--> Class04 |
| 35 | Class05 o--> Class06 |
||
| 36 | Class07 ..> Class08 |
||
| 37 | 19 | Vyacheslav Mukhortov | Class08 -right-> Class09 |
| 38 | 10 | Vyacheslav Mukhortov | }} |
| 39 | 14 | Vyacheslav Mukhortov | |
| 40 | {{plantuml(png) |
||
| 41 | abstract class AbstractList |
||
| 42 | abstract AbstractCollection |
||
| 43 | interface List |
||
| 44 | interface Collection |
||
| 45 | |||
| 46 | List <|-- AbstractList |
||
| 47 | Collection <|-- AbstractCollection |
||
| 48 | |||
| 49 | Collection <|- List |
||
| 50 | AbstractCollection <|- AbstractList |
||
| 51 | AbstractList <|-- ArrayList |
||
| 52 | |||
| 53 | class ArrayList { |
||
| 54 | Object[] elementData |
||
| 55 | size() |
||
| 56 | } |
||
| 57 | |||
| 58 | enum TimeUnit { |
||
| 59 | DAYS |
||
| 60 | HOURS |
||
| 61 | MINUTES |
||
| 62 | } |
||
| 63 | |||
| 64 | annotation SuppressWarnings |
||
| 65 | |||
| 66 | annotation Annotation { |
||
| 67 | annotation with members |
||
| 68 | String foo() |
||
| 69 | String bar() |
||
| 70 | } |
||
| 71 | }} |
||
| 72 | 1 | Evgeniy Pavlovskiy | |
| 73 | 20 | Vyacheslav Mukhortov | h2. Component diagram |
| 74 | |||
| 75 | {{plantuml(png) |
||
| 76 | |||
| 77 | package "Server" { |
||
| 78 | interface "REST" |
||
| 79 | interface "IDataRepository" |
||
| 80 | |||
| 81 | [DataService] -up- REST |
||
| 82 | [Server Database] -up- IDataRepository |
||
| 83 | [DataService] .right.> IDataRepository |
||
| 84 | } |
||
| 85 | |||
| 86 | package "Client" { |
||
| 87 | interface ISyncManager |
||
| 88 | interface IDataStore |
||
| 89 | interface IAPIClient |
||
| 90 | |||
| 91 | [HTTP Client] -left- IAPIClient |
||
| 92 | [Client Data Base] -up- IDataStore |
||
| 93 | [Data Sync Service] -up- ISyncManager |
||
| 94 | |||
| 95 | [Client App] -right-> IDataStore |
||
| 96 | [Client App] -left-> ISyncManager |
||
| 97 | [Data Sync Service] -down-> IAPIClient |
||
| 98 | |||
| 99 | [HTTP Client] ..> REST : <<HTTP>> |
||
| 100 | } |
||
| 101 | |||
| 102 | Server <.right.. Client |
||
| 103 | }} |
||
| 104 | |||
| 105 | |||
| 106 | 17 | Vyacheslav Mukhortov | h2. PlantUML specification |
| 107 | |||
| 108 | 15 | Vyacheslav Mukhortov | "PlantUML":https://plantuml.com/en/ |
| 109 | |||
| 110 | 1 | Evgeniy Pavlovskiy | h2. Version |
| 111 | 17 | Vyacheslav Mukhortov | |
| 112 | 10 | Vyacheslav Mukhortov | {{plantuml(png) |
| 113 | 11 | Evgeniy Pavlovskiy | version |
| 114 | 2 | Vyacheslav Mukhortov | }} |