WMS { # Warehouse Management System n1: circle label:"Start" n2: rectangle label:"Receive pick wave" n3: rectangle label:"Optimize pick route" n4: rectangle label:"Assign to picker" n5: rectangle label:"Update wave status" n6: circle label:"End" n1.handle(right) -> n2.handle(left) n2.handle(right) -> n3.handle(left) n3.handle(right) -> n4.handle(left) n4.handle(bottom) -> Picker.n7.handle(top) [label="Dispatch"] n5.handle(right) -> n6.handle(left) } Picker { # Warehouse Picker n7: rectangle label:"Receive pick list on scanner" n8: rectangle label:"Navigate to location" n9: rectangle label:"Scan bin barcode" n10: diamond label:"Correct location?" n11: rectangle label:"Pick quantity" n12: rectangle label:"Scan item barcode" n13: diamond label:"Correct item?" n14: rectangle label:"Place in tote" n15: rectangle label:"Report location error" n16: rectangle label:"Report item mismatch" n7.handle(right) -> n8.handle(left) n8.handle(right) -> n9.handle(left) n9.handle(right) -> n10.handle(left) n10.handle(right) -> n11.handle(left) [label="Yes"] n10.handle(bottom) -> n15.handle(top) [label="No"] n11.handle(right) -> n12.handle(left) n12.handle(right) -> n13.handle(left) n13.handle(right) -> n14.handle(left) [label="Yes"] n13.handle(bottom) -> n16.handle(top) [label="No"] n14.handle(bottom) -> QualityCheck.n17.handle(top) [label="Item picked"] n15.handle(top) -> n8.handle(bottom) [label="Redirect"] n16.handle(top) -> n11.handle(bottom) [label="Repick"] } QualityCheck { # Quality Check n17: diamond label:"More items in order?" n18: rectangle label:"Move to next location" n19: rectangle label:"Complete pick task" n20: rectangle label:"Scan tote to packing" n17.handle(right) -> n18.handle(left) [label="Yes"] n17.handle(bottom) -> n19.handle(top) [label="No"] n18.handle(top) -> Picker.n8.handle(bottom) [label="Continue"] n19.handle(right) -> n20.handle(left) n20.handle(top) -> WMS.n5.handle(bottom) [label="Complete"] }