Project

General

Profile

Plantuml » History » Version 20

Vyacheslav Mukhortov, 2024-11-18 22:07

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