{
  "schema_version": 2,
  "diagram_type": "workflow",
  "meta": {
    "title": "付款原子重派",
    "quality_profile": "showcase",
    "legend": { "entries": { "frontend": { "label": "輸入／入口" }, "backend": { "label": "處理結果" }, "security": { "label": "條件／分支" } } }
  },
  "lanes": [
    {
      "id": "main",
      "label": "本概念主線"
    },
    {
      "id": "alternate",
      "label": "另一結果",
      "variant": "exception"
    }
  ],
  "mainPath": [
    "withdrawal-redispatch-input",
    "withdrawal-redispatch-gate",
    "withdrawal-redispatch-result"
  ],
  "nodes": [
    {
      "id": "withdrawal-redispatch-input",
      "lane": "main",
      "col": 0,
      "type": "frontend",
      "label": "NOT_TRANSFERRED",
      "sublabel": "已獨立 commit",
      "width": 164
    },
    {
      "id": "withdrawal-redispatch-gate",
      "lane": "main",
      "col": 2,
      "type": "security",
      "label": "合法重派成功？",
      "sublabel": "新 reserve＋舊 release",
      "width": 164
    },
    {
      "id": "withdrawal-redispatch-result",
      "lane": "main",
      "col": 4,
      "type": "backend",
      "label": "責任轉新 attempt",
      "sublabel": "舊新提交拒絕",
      "width": 164
    },
    {
      "id": "withdrawal-redispatch-alternate",
      "lane": "alternate",
      "col": 2,
      "type": "security",
      "label": "保留原狀",
      "sublabel": "失敗 rollback",
      "width": 164
    }
  ],
  "edges": [
    {
      "id": "withdrawal-redispatch-check",
      "from": "withdrawal-redispatch-input",
      "to": "withdrawal-redispatch-gate",
      "label": "核對",
      "role": "main"
    },
    {
      "id": "withdrawal-redispatch-yes",
      "from": "withdrawal-redispatch-gate",
      "to": "withdrawal-redispatch-result",
      "label": "通過",
      "variant": "emphasis",
      "role": "main"
    },
    {
      "id": "withdrawal-redispatch-no",
      "from": "withdrawal-redispatch-gate",
      "to": "withdrawal-redispatch-alternate",
      "label": "未通過",
      "variant": "security",
      "role": "branch"
    }
  ]
}
