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