{
  "version": 1,
  "title": "Rust · borrowed input and checked totals",
  "nodes": [
    {
      "id": "orders",
      "label": "Vec<Order>",
      "kind": "Servicio",
      "x": 60,
      "y": 260
    },
    {
      "id": "loop",
      "label": "total_loop(&orders)",
      "kind": "Librería / SDK",
      "x": 440,
      "y": 80
    },
    {
      "id": "iter",
      "label": "total_iter(&orders)",
      "kind": "Librería / SDK",
      "x": 440,
      "y": 440
    },
    {
      "id": "result",
      "label": "Option<u64>",
      "kind": "Servicio",
      "x": 900,
      "y": 260
    }
  ],
  "edges": [
    {
      "id": "e0",
      "from": "orders",
      "to": "loop",
      "label": "borrow slice"
    },
    {
      "id": "e1",
      "from": "orders",
      "to": "iter",
      "label": "borrow slice"
    },
    {
      "id": "e2",
      "from": "loop",
      "to": "result",
      "label": "checked_add"
    },
    {
      "id": "e3",
      "from": "iter",
      "to": "result",
      "label": "try_fold"
    }
  ]
}
