{
  "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": [
    "supplier-setup-input",
    "supplier-setup-gate",
    "supplier-setup-result"
  ],
  "nodes": [
    {
      "id": "supplier-setup-input",
      "lane": "main",
      "col": 0,
      "type": "frontend",
      "label": "formal actor",
      "sublabel": "準備 Agent／Currency",
      "width": 164
    },
    {
      "id": "supplier-setup-gate",
      "lane": "main",
      "col": 2,
      "type": "security",
      "label": "Supplier Create 成功？",
      "sublabel": "原子 onboarding",
      "width": 164
    },
    {
      "id": "supplier-setup-result",
      "lane": "main",
      "col": 4,
      "type": "backend",
      "label": "另步 eligible binding",
      "sublabel": "Gateway／allocation",
      "width": 164
    },
    {
      "id": "supplier-setup-alternate",
      "lane": "alternate",
      "col": 2,
      "type": "security",
      "label": "本步停止",
      "sublabel": "前步 commit 保留",
      "width": 164
    }
  ],
  "edges": [
    {
      "id": "supplier-setup-check",
      "from": "supplier-setup-input",
      "to": "supplier-setup-gate",
      "label": "核對",
      "role": "main"
    },
    {
      "id": "supplier-setup-yes",
      "from": "supplier-setup-gate",
      "to": "supplier-setup-result",
      "label": "通過",
      "variant": "emphasis",
      "role": "main"
    },
    {
      "id": "supplier-setup-no",
      "from": "supplier-setup-gate",
      "to": "supplier-setup-alternate",
      "label": "未通過",
      "variant": "security",
      "role": "branch"
    }
  ]
}
