digraph G { rankdir=LR; "start_1"[shape=circle label=""]; "end_1"[shape=doublecircle label=""]; "task_1"[shape=rectangle label="Receive product"]; "task_2"[shape=rectangle label="Package product"]; "task_3"[shape=rectangle label="Ship product"]; "seg_1"[shape=diamond label="X"]; "task_4"[shape=rectangle label="Deliver to packstation"]; "task_5"[shape=rectangle label="Deliver to recipient"]; "task_6"[shape=rectangle label="Print and post pick-up receipt"]; "task_7"[shape=rectangle label="Re-route to packstation"]; "seg_2"[shape=diamond label="X"]; "task_8"[shape=rectangle label="Initiate return shipment"]; "task_9"[shape=rectangle label="Successful delivery"]; "start_1" -> "task_1"; "task_1" -> "task_2"; "task_2" -> "task_3"; "task_3" -> "seg_1"; "seg_1" -> "task_4"[label="Delivery option: Packstation"]; "seg_1" -> "task_5"[label="Delivery option: Recipient"]; "task_5" -> "task_6"[label="Recipient not present"]; "task_6" -> "task_7"; "task_7" -> "seg_2"; "task_4" -> "seg_2"; "seg_2" -> "task_8"[label="Product damaged"]; "seg_2" -> "task_9"[label="Product not damaged"]; "task_8" -> "end_1"; "task_9" -> "end_1"; }