Kition
boardDiagrams & Flows· featured

Checkout User Journey

A swim-lane flowchart of a grocery app's checkout, with decision diamonds, Yes and No branches and a retry loop.

Checkout User Journey — Board sample rendered by Kition

Three frames are the swim lanes (shopper, app, payment provider). Flow nodes in four roles (start and end pills, steps, an input parallelogram, decisions) are joined by connectors bound to the nodes, so moving a node keeps its arrows attached; elbow connectors carry the branches between lanes.

Steps

15 commands
showcase.yaml16 lines
steps:
  - {"command": "element.create", "params": {"elements": [{"kind": "text", "position": [40, 40], "text": "Checkout journey: grocery app", "fontSize": 44, "strokeColor": "ink"}, {"kind": "text", "position": [42, 110], "text": "Who does what between an open cart and a confirmed order, and where shoppers drop out.", "fontSize": 20, "strokeColor": "gray"}]}, "as": "heading"}
  - {"command": "element.create", "params": {"elements": [{"kind": "frame", "position": [40, 190], "size": [1760, 220], "text": ""}, {"kind": "frame", "position": [40, 430], "size": [1760, 220], "text": ""}, {"kind": "frame", "position": [40, 670], "size": [1760, 220], "text": ""}]}, "as": "lanes"}
  - {"command": "element.create", "params": {"elements": [{"kind": "text", "parent": "$lanes.created.0", "position": [64, 286.0], "text": "Shopper", "fontSize": 22, "strokeColor": "gray"}, {"kind": "text", "parent": "$lanes.created.1", "position": [64, 526.0], "text": "Grocery app", "fontSize": 22, "strokeColor": "gray"}, {"kind": "text", "parent": "$lanes.created.2", "position": [64, 766.0], "text": "Payment provider", "fontSize": 22, "strokeColor": "gray"}]}, "as": "lanelabels"}
  - {"command": "element.create", "params": {"elements": [{"kind": "shape", "shapeStyle": "flow-node", "shapeType": "pill", "position": [190, 260.0], "size": [170, 80], "text": "Cart opened", "parent": "$lanes.created.0", "fillColor": "green", "strokeColor": "green", "fillStyle": "solid", "fontSize": 17, "key": "start"}, {"kind": "shape", "shapeStyle": "flow-node", "shapeType": "rectangle", "position": [410, 255.0], "size": [190, 90], "text": "Review items and totals", "parent": "$lanes.created.0", "fillColor": "blue", "strokeColor": "blue", "fillStyle": "solid", "fontSize": 17, "key": "review"}, {"kind": "shape", "shapeStyle": "flow-node", "shapeType": "diamond", "position": [410, 475.0], "size": [190, 130], "text": "Signed in?", "parent": "$lanes.created.1", "fillColor": "yellow", "strokeColor": "yellow", "fillStyle": "solid", "fontSize": 17, "key": "signed"}, {"kind": "shape", "shapeStyle": "flow-node", "shapeType": "rectangle", "position": [660, 495.0], "size": [200, 90], "text": "Sign in or continue as guest", "parent": "$lanes.created.1", "fillColor": "gray", "strokeColor": "gray", "fillStyle": "solid", "fontSize": 17, "key": "guest"}, {"kind": "shape", "shapeStyle": "flow-node", "shapeType": "rectangle", "position": [910, 255.0], "size": [190, 90], "text": "Choose a delivery slot", "parent": "$lanes.created.0", "fillColor": "blue", "strokeColor": "blue", "fillStyle": "solid", "fontSize": 17, "key": "delivery"}, {"kind": "shape", "shapeStyle": "flow-node", "shapeType": "parallelogram", "position": [1150, 255.0], "size": [230, 90], "text": "Enter card details", "parent": "$lanes.created.0", "fillColor": "blue", "strokeColor": "blue", "fillStyle": "solid", "fontSize": 17, "key": "pay"}, {"kind": "shape", "shapeStyle": "flow-node", "shapeType": "diamond", "position": [1150, 710.0], "size": [230, 140], "text": "Payment approved?", "parent": "$lanes.created.2", "fillColor": "yellow", "strokeColor": "yellow", "fillStyle": "solid", "fontSize": 17, "key": "ok"}, {"kind": "shape", "shapeStyle": "flow-node", "shapeType": "rectangle", "position": [1150, 495.0], "size": [230, 90], "text": "Show the error, keep the cart", "parent": "$lanes.created.1", "fillColor": "red", "strokeColor": "red", "fillStyle": "solid", "fontSize": 17, "key": "error"}, {"kind": "shape", "shapeStyle": "flow-node", "shapeType": "pill", "position": [1460, 500.0], "size": [200, 80], "text": "Order confirmed", "parent": "$lanes.created.1", "fillColor": "purple", "strokeColor": "purple", "fillStyle": "solid", "fontSize": 17, "key": "done"}]}, "as": "n"}
  - {"command": "connector.create", "params": {"from": {"element": "$n.created.0", "anchor": [1, 0.5]}, "to": {"element": "$n.created.1", "anchor": [0, 0.5]}, "type": "straight", "style": {"strokeColor": "gray"}}}
  - {"command": "connector.create", "params": {"from": {"element": "$n.created.1", "anchor": [0.5, 1]}, "to": {"element": "$n.created.2", "anchor": [0.5, 0]}, "type": "straight", "style": {"strokeColor": "gray"}}}
  - {"command": "connector.create", "params": {"from": {"element": "$n.created.2", "anchor": [1, 0.5]}, "to": {"element": "$n.created.3", "anchor": [0, 0.5]}, "type": "straight", "style": {"strokeColor": "gray"}, "label": "No"}}
  - {"command": "connector.create", "params": {"from": {"element": "$n.created.2", "anchor": [0.5, 0]}, "to": {"element": "$n.created.4", "anchor": [0, 0.5]}, "type": "elbow", "style": {"strokeColor": "gray"}, "label": "Yes"}}
  - {"command": "connector.create", "params": {"from": {"element": "$n.created.3", "anchor": [1, 0.5]}, "to": {"element": "$n.created.4", "anchor": [0.5, 1]}, "type": "elbow", "style": {"strokeColor": "gray"}}}
  - {"command": "connector.create", "params": {"from": {"element": "$n.created.4", "anchor": [1, 0.5]}, "to": {"element": "$n.created.5", "anchor": [0, 0.5]}, "type": "straight", "style": {"strokeColor": "gray"}}}
  - {"command": "connector.create", "params": {"from": {"element": "$n.created.5", "anchor": [1, 0.5]}, "to": {"element": "$n.created.6", "anchor": [1, 0.5]}, "type": "elbow", "style": {"strokeColor": "gray"}}}
  - {"command": "connector.create", "params": {"from": {"element": "$n.created.6", "anchor": [1, 0.5]}, "to": {"element": "$n.created.8", "anchor": [0.5, 1]}, "type": "elbow", "style": {"strokeColor": "gray"}, "label": "Yes"}}
  - {"command": "connector.create", "params": {"from": {"element": "$n.created.6", "anchor": [0.5, 0]}, "to": {"element": "$n.created.7", "anchor": [0.5, 1]}, "type": "straight", "style": {"strokeColor": "gray"}, "label": "No"}}
  - {"command": "connector.create", "params": {"from": {"element": "$n.created.7", "anchor": [0.5, 0]}, "to": {"element": "$n.created.5", "anchor": [0.5, 1]}, "type": "straight", "style": {"strokeColor": "gray"}, "label": "Try again"}}
  - {"command": "element.create", "params": {"elements": [{"kind": "shape", "shapeStyle": "sticky", "position": [1540, 690], "size": [220, 180], "text": "18% of carts stop at payment. Test saved cards next sprint.", "fillColor": "yellow", "fontSize": 17}]}, "as": "note"}

Checks

5 checks on every build
  • inspect.elements = 28
  • results.lanes.created = {"count":3}
  • results.n.created = {"count":9}
  • Diagnostics: none, the kit's own check finds nothing wrong
  • The saved document opens again, and its thumbnail matches thumb.png within the render tolerance

Related

More Board samples
boardDiagrams & Flows

Design Studio Org Chart

A three-team org chart with a director, department heads and their reports, joined by elbow connectors.

1 page; 27 elements
boardDiagrams & Flows

Web Shop Architecture

A system diagram of an online shop, with clients, a gateway, services and their data stores inside a private network frame.

1 page; 29 elements
boardBrainstorming

New-Hire Onboarding Brainstorm

Sticky notes from two offices arranged around a cloud-shaped question, joined by dotted curved connectors.

1 page; 19 elements
boardBrainstorming

Balcony Gardener Persona

A user persona board with an avatar, a quote, trait chips, goal and frustration notes and habit sliders.

1 page; 36 elements