Order fulfilment with parallel checks
An order split into four parallel checks in a group, which meet again at packing. With "sharedTrunks": true the three checks off the main path leave the split on one branching line and reach packing on one, with a dot at every branch; the payment check on the main path and the two branches of the decision keep their own lines. Every edge is still drawn end to end with its tooltip; the description and the table are unchanged. Illustrative values.
Order fulfilment with parallel checks
examples/order-fulfilment.json{
"schemaVersion": 1,
"type": "flow",
"title": "Order fulfilment with parallel checks",
"source": "Warehouse handbook, order path",
"width": 960,
"height": 700,
"flow": {
"nodes": [
{
"id": "received",
"label": "Order received",
"kind": "start"
},
{
"id": "split",
"label": "Split into tasks"
},
{
"id": "stock",
"label": "Reserve stock"
},
{
"id": "payment",
"label": "Capture payment"
},
{
"id": "fraud",
"label": "Check fraud score"
},
{
"id": "address",
"label": "Validate address"
},
{
"id": "pack",
"label": "Pack parcel"
},
{
"id": "express",
"label": "Express?",
"kind": "decision"
},
{
"id": "courier",
"label": "Hand to courier"
},
{
"id": "post",
"label": "Send by post"
},
{
"id": "shipped",
"label": "Shipped",
"kind": "end"
}
],
"edges": [
{
"from": "received",
"to": "split"
},
{
"from": "split",
"to": "stock"
},
{
"from": "split",
"to": "payment"
},
{
"from": "split",
"to": "fraud"
},
{
"from": "split",
"to": "address"
},
{
"from": "stock",
"to": "pack"
},
{
"from": "payment",
"to": "pack"
},
{
"from": "fraud",
"to": "pack"
},
{
"from": "address",
"to": "pack"
},
{
"from": "pack",
"to": "express"
},
{
"from": "express",
"to": "courier",
"label": "yes"
},
{
"from": "express",
"to": "post",
"label": "no"
},
{
"from": "courier",
"to": "shipped"
},
{
"from": "post",
"to": "shipped"
}
],
"groups": [
{
"label": "Checks",
"nodes": [
"stock",
"payment",
"fraud",
"address"
]
}
],
"mainPath": [
"received",
"split",
"payment",
"pack",
"express",
"courier",
"shipped"
],
"sharedTrunks": true
}
}Focus
Source: Warehouse handbook, order path
Show chart data
| Step | Kind | Group | Leads to |
|---|---|---|---|
| Order received | start | Split into tasks | |
| Split into tasks | step | Reserve stock, Capture payment, Check fraud score, Validate address | |
| Reserve stock | step | Checks | Pack parcel |
| Capture payment | step | Checks | Pack parcel |
| Check fraud score | step | Checks | Pack parcel |
| Validate address | step | Checks | Pack parcel |
| Pack parcel | step | Express? | |
| Express? | decision | Hand to courier (yes), Send by post (no) | |
| Hand to courier | step | Shipped | |
| Send by post | step | Shipped | |
| Shipped | end |