-
Notifications
You must be signed in to change notification settings - Fork 6
/
airportBus.puml
49 lines (41 loc) · 1.47 KB
/
airportBus.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
@startuml
'!include <DomainStory/domainStory>
!include ../domainStory.puml
'!include https://raw.githubusercontent.com/johthor/DomainStory-PlantUML/main/domainStory.puml
!include <material/bus>
!unquoted procedure Bus($name, $label = "", $tag = "", $note = "", $shape = $Object_Shape, $scale = $Object_IconScale, $color = $Object_IconColor, $background = "")
Object("Bus", "$ma_bus", $name, $label, $tag, $note, $shape, $scale, $color, $background)
!endprocedure
Person(agent, gate agent)
Person(dispatcher ,bus dispatcher)
System(dispatching, bus dispatching)
Person(driver, bus driver)
Group(passengers)
Boundary(contracting) {
Call(busCall, bus)
Document(jobOrder, job to order)
Call(order)
}
Boundary(transport) {
Bus(bus)
}
Boundary(logging) {
Document(details1, details of the journey)
Document(details2, details of the journey)
Document(details3, details of the journey)
note right of details1
Disruptions,
number of
passengers
transported, etc.
end note
}
activity(_, agent, orders, busCall, from, dispatcher)
activity(_, dispatcher, creates, jobOrder, in, dispatching, <--, -->)
activity(_, dispatcher, gives, order, to, driver)
activity(_, driver, transports by, bus, passengers, _, <--)
activity(_, driver, logs, details1)
activity(_, driver, hands over, details2, at the end of the shift to, dispatcher)
activity(_, dispatcher, enters, details3, in, dispatching, -->, <--)
contracting -[hidden]> transport
@enduml