blob: 564a76635700e553ef1cd5065761f5296e2c7ea3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
@startuml
actor User
participant View
participant Presenter
database UnitDatabase
participant Unit
User -> View : Choose units & input value
View -> Presenter : Call convertUnits()
View <-- Presenter : Get user input
Presenter -> UnitDatabase : Send raw user input
Presenter <-- UnitDatabase : Return unit objects
Presenter -> Unit : Convert provided units
Presenter <-- Unit : Return converted value
View <-- Presenter : Return converted units
User <-- View : Show conversion output
@enduml
|