{
  "schema_version": 1,
  "diagram_type": "workflow",
  "meta": {
    "title": "从创意到金属印刷交付：晶晶晶生产流水线",
    "quality_profile": "showcase",
    "locale": "zh-CN",
    "viewBox": [1200, 720]
  },
  "lanes": [
    { "id": "design", "label": "创意与资产" },
    { "id": "vector", "label": "图元生产" },
    { "id": "prepress", "label": "印前修订与合成" },
    { "id": "factory", "label": "打样与质量反馈", "variant": "exception" },
    { "id": "delivery", "label": "生产交付" }
  ],
  "phases": [
    { "id": "definition", "label": "定义与生成", "fromCol": 0, "toCol": 1, "variant": "emphasis" },
    { "id": "production", "label": "图元生产", "fromCol": 2, "toCol": 3 },
    { "id": "delivery-phase", "label": "合成、打样与交付", "fromCol": 4, "toCol": 5, "variant": "dashed" }
  ],
  "groups": [
    { "id": "parallel-assets", "label": "按图元类型分流并行", "lane": "vector", "fromCol": 2, "toCol": 4, "variant": "emphasis" },
    { "id": "prepress-gate", "label": "可制造性闸门", "lane": "prepress", "fromCol": 4, "toCol": 5, "variant": "security" }
  ],
  "mainPath": ["brief", "prompt", "elements", "branch", "vectorize", "optimize", "illustrator", "compose", "preflight", "delivery"],
  "nodes": [
    { "id": "brief", "lane": "design", "col": 0, "width": 64, "type": "external", "label": "创意约束", "sublabel": "产品 / 工艺" },
    { "id": "prompt", "lane": "design", "col": 1, "width": 64, "type": "backend", "label": "LLM 生成", "sublabel": "图元 + 令牌", "tag": "可复用" },
    { "id": "elements", "lane": "design", "col": 2, "width": 64, "type": "backend", "label": "图元验收", "sublabel": "主体 / 文字" },
    { "id": "branch", "lane": "vector", "col": 2, "width": 64, "type": "security", "label": "元素分流", "sublabel": "保留 / 重建" },
    { "id": "vectorize", "lane": "vector", "col": 3, "width": 60, "type": "backend", "label": "矢量化", "sublabel": "SVG / 路径" },
    { "id": "optimize", "lane": "vector", "col": 4, "width": 60, "type": "backend", "label": "矢量优化", "sublabel": "锚点 / 专色" },
    { "id": "illustrator", "lane": "prepress", "col": 4, "width": 100, "type": "frontend", "label": "AI 修订", "sublabel": "文字 / 几何" },
    { "id": "compose", "lane": "prepress", "col": 5, "width": 100, "height": 32, "type": "backend", "label": "合成版面", "sublabel": "出血 / 套准", "yOffset": -18 },
    { "id": "preflight", "lane": "factory", "col": 5, "width": 100, "type": "security", "label": "印前检验", "sublabel": "尺寸 / 分色" },
    { "id": "proof", "lane": "factory", "col": 4, "width": 90, "type": "external", "label": "打样校对", "sublabel": "基材 / 白墨" },
    { "id": "delivery", "lane": "delivery", "col": 5, "width": 100, "type": "cloud", "label": "生产交付", "sublabel": "锁版 / 制版" }
  ],
  "edges": [
    { "id": "brief-prompt", "from": "brief", "to": "prompt", "variant": "emphasis" },
    { "id": "prompt-elements", "from": "prompt", "to": "elements", "variant": "emphasis", "route": "up-channel", "fromSide": "top", "toSide": "top", "channelY": 70 },
    { "id": "elements-branch", "from": "elements", "to": "branch", "variant": "security" },
    { "id": "branch-vectorize", "from": "branch", "to": "vectorize", "variant": "emphasis" },
    { "id": "vectorize-optimize", "from": "vectorize", "to": "optimize", "variant": "default", "route": "up-channel", "fromSide": "top", "toSide": "top", "channelY": 180 },
    { "id": "optimize-illustrator", "from": "optimize", "to": "illustrator", "variant": "emphasis" },
    { "id": "illustrator-compose", "from": "illustrator", "to": "compose", "variant": "default" },
    { "id": "compose-preflight", "from": "compose", "to": "preflight", "variant": "security" },
    { "id": "preflight-delivery", "from": "preflight", "to": "delivery", "variant": "emphasis" },
    { "id": "preflight-proof", "from": "preflight", "to": "proof", "variant": "dashed", "role": "branch" },
    { "id": "proof-delivery", "from": "proof", "to": "delivery", "variant": "dashed", "role": "branch" }
  ],
  "cards": []
}
