File size: 1,081 Bytes
1395e20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
supplier { # Supplier
  n1: circle label:"Start Cross Docking"
  n4: rectangle label:"Make Cross Docking decision"
  n7: rectangle label:"Continue Cross Docking process"
  n10: circle label:"End Cross Docking"
  n1.handle(bottom) -> warehouse.n2.handle(top) [label="Success"]
  n4.handle(bottom) -> warehouse.n5.handle(top) [label="Valid"]
  n7.handle(bottom) -> warehouse.n8.handle(top) [label="Next"]
}

warehouse { # Warehouse
  n2: rectangle label:"Receive Cross Docking request"
  n5: rectangle label:"Update records for Cross Docking"
  n8: rectangle label:"Continue Cross Docking process"
  n2.handle(bottom) -> iot_sensor.n3.handle(top)
  n5.handle(bottom) -> iot_sensor.n6.handle(top)
  n8.handle(bottom) -> iot_sensor.n9.handle(top)
}

iot_sensor { # Iot_Sensor
  n3: rectangle label:"Review Cross Docking details"
  n6: rectangle label:"Continue Cross Docking process"
  n9: rectangle label:"Continue Cross Docking process"
  n9.handle(right) -> supplier.n10.handle(bottom)
  n6.handle(right) -> supplier.n7.handle(left)
  n3.handle(right) -> supplier.n4.handle(left)
}