{
  "schema_version": 2,
  "diagram_type": "workflow",
  "meta": {
    "title": "Điểm 1: việc từng tốn cả năm còn vài giờ",
    "quality_profile": "showcase",
    "legend": {
      "mode": "hidden"
    },
    "views": [
      {
        "id": "v1",
        "label": "So sánh",
        "focus": [
          "idea",
          "year",
          "hours"
        ],
        "note": "Dan ước lượng: tự làm mất một năm trở lên; với agent chỉ vài giờ công của ông."
      },
      {
        "id": "v2",
        "label": "Giới hạn",
        "focus": [
          "res",
          "prod"
        ],
        "note": "Mới ở mức chạy được cho riêng mình; lên mức sản phẩm hay open source vẫn tốn nhiều công hơn."
      }
    ]
  },
  "lanes": [
    {
      "id": "before",
      "label": "Trước đây"
    },
    {
      "id": "now",
      "label": "Bây giờ"
    }
  ],
  "mainPath": [
    "idea",
    "hours",
    "res"
  ],
  "nodes": [
    {
      "id": "idea",
      "lane": "before",
      "col": 0,
      "type": "frontend",
      "label": "Regex, ripgrep, Rust",
      "sublabel": "Dan không rành mảng này",
      "width": 190
    },
    {
      "id": "year",
      "lane": "before",
      "col": 1,
      "type": "security",
      "label": "Một năm trở lên",
      "sublabel": "mức 'works for me'",
      "width": 160
    },
    {
      "id": "hours",
      "lane": "now",
      "col": 1,
      "type": "backend",
      "label": "Vài giờ của Dan",
      "sublabel": "agent viết code",
      "width": 150
    },
    {
      "id": "res",
      "lane": "now",
      "col": 2,
      "type": "frontend",
      "label": "Tool chạy cho mình",
      "sublabel": "build Rust nhanh hơn",
      "width": 170
    },
    {
      "id": "prod",
      "lane": "now",
      "col": 3,
      "type": "external",
      "label": "Thành sản phẩm",
      "sublabel": "vẫn tốn nhiều công",
      "width": 150
    }
  ],
  "edges": [
    {
      "id": "e0",
      "from": "idea",
      "to": "year",
      "variant": "dashed",
      "label": "tự viết"
    },
    {
      "id": "e1",
      "from": "idea",
      "to": "hours",
      "variant": "emphasis",
      "label": "dùng agent"
    },
    {
      "id": "e2",
      "from": "hours",
      "to": "res",
      "variant": "emphasis"
    },
    {
      "id": "e3",
      "from": "res",
      "to": "prod",
      "variant": "dashed",
      "label": "nếu muốn"
    }
  ]
}