Skip to content

A modern and elegant dashboard for network traffic visualization and analysis.

35.2 KB
Raw Blame
{
  "type": "excalidraw",
  "version": 2,
  "source": "https://excalidraw.com",
  "elements": [
    {
      "type": "rectangle",
      "version": 1,
      "versionNonce": 1,
      "isDeleted": false,
      "id": "central-panel",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 350,
      "y": 50,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "#fff3e0",
      "width": 600,
      "height": 200,
      "seed": 1,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 3 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 2,
      "isDeleted": false,
      "id": "panel-title",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 370,
      "y": 65,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "width": 280,
      "height": 28,
      "seed": 2,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 20,
      "fontFamily": 2,
      "text": "🏢 中心面板 (Neko Master)",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "🏢 中心面板 (Neko Master)",
      "lineHeight": 1.4,
      "baseline": 22
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 3,
      "isDeleted": false,
      "id": "fastify-title",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 370,
      "y": 100,
      "strokeColor": "#e65100",
      "backgroundColor": "transparent",
      "width": 160,
      "height": 20,
      "seed": 3,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 14,
      "fontFamily": 2,
      "text": "Fastify API Server",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "Fastify API Server",
      "lineHeight": 1.4,
      "baseline": 15
    },
    {
      "type": "rectangle",
      "version": 1,
      "versionNonce": 4,
      "isDeleted": false,
      "id": "api-report",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 370,
      "y": 130,
      "strokeColor": "#2e7d32",
      "backgroundColor": "#c8e6c9",
      "width": 250,
      "height": 30,
      "seed": 4,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 3 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 5,
      "isDeleted": false,
      "id": "api-report-text",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 378,
      "y": 137,
      "strokeColor": "#1b5e20",
      "backgroundColor": "transparent",
      "width": 234,
      "height": 16,
      "seed": 5,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 11,
      "fontFamily": 2,
      "text": "POST /api/agent/report ← 批量流量增量",
      "textAlign": "left",
      "verticalAlign": "middle",
      "containerId": "api-report",
      "originalText": "POST /api/agent/report ← 批量流量增量",
      "lineHeight": 1.4,
      "baseline": 12
    },
    {
      "type": "rectangle",
      "version": 1,
      "versionNonce": 6,
      "isDeleted": false,
      "id": "api-heartbeat",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 640,
      "y": 130,
      "strokeColor": "#1976d2",
      "backgroundColor": "#bbdefb",
      "width": 280,
      "height": 30,
      "seed": 6,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 3 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 7,
      "isDeleted": false,
      "id": "api-heartbeat-text",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 648,
      "y": 137,
      "strokeColor": "#0d47a1",
      "backgroundColor": "transparent",
      "width": 264,
      "height": 16,
      "seed": 7,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 11,
      "fontFamily": 2,
      "text": "POST /api/agent/heartbeat ← 心跳(在线状态)",
      "textAlign": "left",
      "verticalAlign": "middle",
      "containerId": "api-heartbeat",
      "originalText": "POST /api/agent/heartbeat ← 心跳(在线状态)",
      "lineHeight": 1.4,
      "baseline": 12
    },
    {
      "type": "rectangle",
      "version": 1,
      "versionNonce": 8,
      "isDeleted": false,
      "id": "api-config",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 370,
      "y": 170,
      "strokeColor": "#6a1b9a",
      "backgroundColor": "#e1bee7",
      "width": 250,
      "height": 30,
      "seed": 8,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 3 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 9,
      "isDeleted": false,
      "id": "api-config-text",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 378,
      "y": 177,
      "strokeColor": "#4a148c",
      "backgroundColor": "transparent",
      "width": 234,
      "height": 16,
      "seed": 9,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 11,
      "fontFamily": 2,
      "text": "POST /api/agent/config-sync ← 规则/代理配置",
      "textAlign": "left",
      "verticalAlign": "middle",
      "containerId": "api-config",
      "originalText": "POST /api/agent/config-sync ← 规则/代理配置",
      "lineHeight": 1.4,
      "baseline": 12
    },
    {
      "type": "rectangle",
      "version": 1,
      "versionNonce": 10,
      "isDeleted": false,
      "id": "api-policy",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 640,
      "y": 170,
      "strokeColor": "#d84315",
      "backgroundColor": "#ffccbc",
      "width": 280,
      "height": 30,
      "seed": 10,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 3 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 11,
      "isDeleted": false,
      "id": "api-policy-text",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 648,
      "y": 177,
      "strokeColor": "#bf360c",
      "backgroundColor": "transparent",
      "width": 264,
      "height": 16,
      "seed": 11,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 11,
      "fontFamily": 2,
      "text": "POST /api/agent/policy-state ← 当前策略状态",
      "textAlign": "left",
      "verticalAlign": "middle",
      "containerId": "api-policy",
      "originalText": "POST /api/agent/policy-state ← 当前策略状态",
      "lineHeight": 1.4,
      "baseline": 12
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 12,
      "isDeleted": false,
      "id": "backend-type-note",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 370,
      "y": 215,
      "strokeColor": "#666666",
      "backgroundColor": "transparent",
      "width": 400,
      "height": 16,
      "seed": 12,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 11,
      "fontFamily": 2,
      "text": "Backend 类型: agent:// | 系统生成 token | 绑定 agentId",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "Backend 类型: agent:// | 系统生成 token | 绑定 agentId",
      "lineHeight": 1.4,
      "baseline": 12
    },
    {
      "type": "arrow",
      "version": 1,
      "versionNonce": 13,
      "isDeleted": false,
      "id": "http-connection",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 650,
      "y": 250,
      "strokeColor": "#2e7d32",
      "backgroundColor": "transparent",
      "width": 0,
      "height": 80,
      "seed": 13,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 2 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "startBinding": null,
      "endBinding": null,
      "lastCommittedPoint": null,
      "startArrowhead": "arrow",
      "endArrowhead": null,
      "points": [
        [0, 0],
        [0, 80]
      ]
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 14,
      "isDeleted": false,
      "id": "http-label",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 660,
      "y": 275,
      "strokeColor": "#2e7d32",
      "backgroundColor": "transparent",
      "width": 120,
      "height": 28,
      "seed": 14,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 11,
      "fontFamily": 2,
      "text": "HTTP (token 鉴权)\n↑",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "HTTP (token 鉴权)\n↑",
      "lineHeight": 1.4,
      "baseline": 24
    },
    {
      "type": "rectangle",
      "version": 1,
      "versionNonce": 15,
      "isDeleted": false,
      "id": "remote-host",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 350,
      "y": 330,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "#e3f2fd",
      "width": 600,
      "height": 380,
      "seed": 15,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 3 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 16,
      "isDeleted": false,
      "id": "remote-title",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 370,
      "y": 345,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "width": 280,
      "height": 28,
      "seed": 16,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 20,
      "fontFamily": 2,
      "text": "🖥️ 网关旁边的主机 (Remote Host)",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "🖥️ 网关旁边的主机 (Remote Host)",
      "lineHeight": 1.4,
      "baseline": 22
    },
    {
      "type": "rectangle",
      "version": 1,
      "versionNonce": 17,
      "isDeleted": false,
      "id": "nekoagent-cli",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 370,
      "y": 385,
      "strokeColor": "#1565c0",
      "backgroundColor": "#ffffff",
      "width": 250,
      "height": 100,
      "seed": 17,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 3 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 18,
      "isDeleted": false,
      "id": "nekoagent-title",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 390,
      "y": 395,
      "strokeColor": "#0d47a1",
      "backgroundColor": "transparent",
      "width": 200,
      "height": 20,
      "seed": 18,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 14,
      "fontFamily": 2,
      "text": "nekoagent (CLI 管理器)",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "nekoagent (CLI 管理器)",
      "lineHeight": 1.4,
      "baseline": 15
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 19,
      "isDeleted": false,
      "id": "nekoagent-files",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 390,
      "y": 420,
      "strokeColor": "#1565c0",
      "backgroundColor": "transparent",
      "width": 210,
      "height": 56,
      "seed": 19,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 11,
      "fontFamily": 2,
      "text": "• /etc/neko-agent/<instance>.env\n  (配置文件)\n• /var/run/neko-agent/<instance>.pid\n  (PID 文件)",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "• /etc/neko-agent/<instance>.env\n  (配置文件)\n• /var/run/neko-agent/<instance>.pid\n  (PID 文件)",
      "lineHeight": 1.4,
      "baseline": 52
    },
    {
      "type": "rectangle",
      "version": 1,
      "versionNonce": 20,
      "isDeleted": false,
      "id": "neko-agent-daemon",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 640,
      "y": 385,
      "strokeColor": "#d84315",
      "backgroundColor": "#ffffff",
      "width": 280,
      "height": 100,
      "seed": 20,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 3 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 21,
      "isDeleted": false,
      "id": "neko-agent-title",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 660,
      "y": 395,
      "strokeColor": "#bf360c",
      "backgroundColor": "transparent",
      "width": 220,
      "height": 20,
      "seed": 21,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 14,
      "fontFamily": 2,
      "text": "neko-agent (守护进程)",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "neko-agent (守护进程)",
      "lineHeight": 1.4,
      "baseline": 15
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 22,
      "isDeleted": false,
      "id": "neko-agent-desc",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 660,
      "y": 420,
      "strokeColor": "#d84315",
      "backgroundColor": "transparent",
      "width": 240,
      "height": 56,
      "seed": 22,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 11,
      "fontFamily": 2,
      "text": "Go 编写的数据采集守护进程\n周期性拉取网关数据并上报到面板\nPID 锁: 同一 backendId 单进程",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "Go 编写的数据采集守护进程\n周期性拉取网关数据并上报到面板\nPID 锁: 同一 backendId 单进程",
      "lineHeight": 1.4,
      "baseline": 52
    },
    {
      "type": "rectangle",
      "version": 1,
      "versionNonce": 23,
      "isDeleted": false,
      "id": "agent-workflow",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 370,
      "y": 505,
      "strokeColor": "#2e7d32",
      "backgroundColor": "#f1f8e9",
      "width": 550,
      "height": 185,
      "seed": 23,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 3 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 24,
      "isDeleted": false,
      "id": "workflow-title",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 390,
      "y": 515,
      "strokeColor": "#1b5e20",
      "backgroundColor": "transparent",
      "width": 100,
      "height": 20,
      "seed": 24,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 14,
      "fontFamily": 2,
      "text": "工作流程:",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "工作流程:",
      "lineHeight": 1.4,
      "baseline": 15
    },
    {
      "type": "rectangle",
      "version": 1,
      "versionNonce": 25,
      "isDeleted": false,
      "id": "step1",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 390,
      "y": 545,
      "strokeColor": "#1565c0",
      "backgroundColor": "#e3f2fd",
      "width": 240,
      "height": 50,
      "seed": 25,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 3 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 26,
      "isDeleted": false,
      "id": "step1-text",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 400,
      "y": 550,
      "strokeColor": "#0d47a1",
      "backgroundColor": "transparent",
      "width": 220,
      "height": 40,
      "seed": 26,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 11,
      "fontFamily": 2,
      "text": "1. 拉取网关数据\n   • Clash: WebSocket /connections\n   • Surge: HTTP GET /v1/requests/recent",
      "textAlign": "left",
      "verticalAlign": "middle",
      "containerId": "step1",
      "originalText": "1. 拉取网关数据\n   • Clash: WebSocket /connections\n   • Surge: HTTP GET /v1/requests/recent",
      "lineHeight": 1.3,
      "baseline": 36
    },
    {
      "type": "rectangle",
      "version": 1,
      "versionNonce": 27,
      "isDeleted": false,
      "id": "step2",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 650,
      "y": 545,
      "strokeColor": "#d84315",
      "backgroundColor": "#ffccbc",
      "width": 250,
      "height": 50,
      "seed": 27,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 3 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 28,
      "isDeleted": false,
      "id": "step2-text",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 660,
      "y": 550,
      "strokeColor": "#bf360c",
      "backgroundColor": "transparent",
      "width": 230,
      "height": 40,
      "seed": 28,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 11,
      "fontFamily": 2,
      "text": "2. 增量计算 (Delta)\n   • 识别新连接 / 更新连接\n   • 计算 upload/download 增量",
      "textAlign": "left",
      "verticalAlign": "middle",
      "containerId": "step2",
      "originalText": "2. 增量计算 (Delta)\n   • 识别新连接 / 更新连接\n   • 计算 upload/download 增量",
      "lineHeight": 1.3,
      "baseline": 36
    },
    {
      "type": "rectangle",
      "version": 1,
      "versionNonce": 29,
      "isDeleted": false,
      "id": "step3",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 390,
      "y": 610,
      "strokeColor": "#2e7d32",
      "backgroundColor": "#c8e6c9",
      "width": 240,
      "height": 35,
      "seed": 29,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 3 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 30,
      "isDeleted": false,
      "id": "step3-text",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 400,
      "y": 615,
      "strokeColor": "#1b5e20",
      "backgroundColor": "transparent",
      "width": 220,
      "height": 25,
      "seed": 30,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 11,
      "fontFamily": 2,
      "text": "3. 批量上报 (每 2s)\n   POST /api/agent/report",
      "textAlign": "left",
      "verticalAlign": "middle",
      "containerId": "step3",
      "originalText": "3. 批量上报 (每 2s)\n   POST /api/agent/report",
      "lineHeight": 1.3,
      "baseline": 21
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 31,
      "isDeleted": false,
      "id": "step3-note",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 395,
      "y": 648,
      "strokeColor": "#666666",
      "backgroundColor": "transparent",
      "width": 230,
      "height": 14,
      "seed": 31,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 9,
      "fontFamily": 2,
      "text": "最多 1000 条/批, 积压上限 50000 条",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "最多 1000 条/批, 积压上限 50000 条",
      "lineHeight": 1.4,
      "baseline": 10
    },
    {
      "type": "rectangle",
      "version": 1,
      "versionNonce": 32,
      "isDeleted": false,
      "id": "step4",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 650,
      "y": 610,
      "strokeColor": "#1976d2",
      "backgroundColor": "#bbdefb",
      "width": 120,
      "height": 35,
      "seed": 32,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 3 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 33,
      "isDeleted": false,
      "id": "step4-text",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 660,
      "y": 615,
      "strokeColor": "#0d47a1",
      "backgroundColor": "transparent",
      "width": 100,
      "height": 25,
      "seed": 33,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 11,
      "fontFamily": 2,
      "text": "4. 心跳 (每 30s)\n   /agent/heartbeat",
      "textAlign": "left",
      "verticalAlign": "middle",
      "containerId": "step4",
      "originalText": "4. 心跳 (每 30s)\n   /agent/heartbeat",
      "lineHeight": 1.3,
      "baseline": 21
    },
    {
      "type": "rectangle",
      "version": 1,
      "versionNonce": 34,
      "isDeleted": false,
      "id": "step5",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 790,
      "y": 610,
      "strokeColor": "#6a1b9a",
      "backgroundColor": "#e1bee7",
      "width": 110,
      "height": 35,
      "seed": 34,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 3 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 35,
      "isDeleted": false,
      "id": "step5-text",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 800,
      "y": 615,
      "strokeColor": "#4a148c",
      "backgroundColor": "transparent",
      "width": 90,
      "height": 25,
      "seed": 35,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 11,
      "fontFamily": 2,
      "text": "5. 配置同步\n   (每 2min)",
      "textAlign": "left",
      "verticalAlign": "middle",
      "containerId": "step5",
      "originalText": "5. 配置同步\n   (每 2min)",
      "lineHeight": 1.3,
      "baseline": 21
    },
    {
      "type": "rectangle",
      "version": 1,
      "versionNonce": 36,
      "isDeleted": false,
      "id": "step6",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 650,
      "y": 655,
      "strokeColor": "#d84315",
      "backgroundColor": "#ffccbc",
      "width": 250,
      "height": 25,
      "seed": 36,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 3 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 37,
      "isDeleted": false,
      "id": "step6-text",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 660,
      "y": 659,
      "strokeColor": "#bf360c",
      "backgroundColor": "transparent",
      "width": 230,
      "height": 16,
      "seed": 37,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 10,
      "fontFamily": 2,
      "text": "6. 策略状态同步 (每 30s, 状态变化才上报)",
      "textAlign": "left",
      "verticalAlign": "middle",
      "containerId": "step6",
      "originalText": "6. 策略状态同步 (每 30s, 状态变化才上报)",
      "lineHeight": 1.4,
      "baseline": 12
    },
    {
      "type": "arrow",
      "version": 1,
      "versionNonce": 38,
      "isDeleted": false,
      "id": "lan-connection",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 650,
      "y": 710,
      "strokeColor": "#666666",
      "backgroundColor": "transparent",
      "width": 0,
      "height": 50,
      "seed": 38,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 2 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "startBinding": null,
      "endBinding": null,
      "lastCommittedPoint": null,
      "startArrowhead": null,
      "endArrowhead": null,
      "points": [
        [0, 0],
        [0, 50]
      ]
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 39,
      "isDeleted": false,
      "id": "lan-label",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 660,
      "y": 720,
      "strokeColor": "#666666",
      "backgroundColor": "transparent",
      "width": 100,
      "height": 28,
      "seed": 39,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 11,
      "fontFamily": 2,
      "text": "本地网络 (LAN)\n↓",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "本地网络 (LAN)\n↓",
      "lineHeight": 1.4,
      "baseline": 24
    },
    {
      "type": "rectangle",
      "version": 1,
      "versionNonce": 40,
      "isDeleted": false,
      "id": "gateway",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 550,
      "y": 760,
      "strokeColor": "#424242",
      "backgroundColor": "#eeeeee",
      "width": 200,
      "height": 60,
      "seed": 40,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 3 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 41,
      "isDeleted": false,
      "id": "gateway-text",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 570,
      "y": 770,
      "strokeColor": "#212121",
      "backgroundColor": "transparent",
      "width": 160,
      "height": 40,
      "seed": 41,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 13,
      "fontFamily": 2,
      "text": "Clash/Mihomo or Surge\nGateway API",
      "textAlign": "center",
      "verticalAlign": "middle",
      "containerId": "gateway",
      "originalText": "Clash/Mihomo or Surge\nGateway API",
      "lineHeight": 1.4,
      "baseline": 35
    },
    {
      "type": "rectangle",
      "version": 1,
      "versionNonce": 42,
      "isDeleted": false,
      "id": "comparison-table",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 50,
      "y": 50,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "#f5f5f5",
      "width": 280,
      "height": 250,
      "seed": 42,
      "groupIds": [],
      "frameId": null,
      "roundness": { "type": 3 },
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 43,
      "isDeleted": false,
      "id": "comparison-title",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 70,
      "y": 65,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "width": 200,
      "height": 22,
      "seed": 43,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 16,
      "fontFamily": 2,
      "text": "直连 vs Agent 模式",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "直连 vs Agent 模式",
      "lineHeight": 1.4,
      "baseline": 17
    },
    {
      "type": "text",
      "version": 1,
      "versionNonce": 44,
      "isDeleted": false,
      "id": "comparison-content",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 70,
      "y": 95,
      "strokeColor": "#333333",
      "backgroundColor": "transparent",
      "width": 240,
      "height": 189,
      "seed": 44,
      "groupIds": [],
      "frameId": null,
      "roundness": null,
      "boundElements": [],
      "updated": 1,
      "link": null,
      "locked": false,
      "fontSize": 10,
      "fontFamily": 2,
      "text": "维度                    | 直连    | Agent\n------------------------|--------|--------\n连接网关                | ✅ 需要 | ❌ 不需要\n数据实时性              | 毫秒级  | ~2s\n网络隔离                | 需入站  | 仅出站\n多站点场景              | 复杂    | 原生支持\n安全边界                | 共享token| 隔离token\n\n优势:\n• Agent 发起连接, 无需入站\n• 每站点独立 agent\n• 面板 token 与网关隔离",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "维度                    | 直连    | Agent\n------------------------|--------|--------\n连接网关                | ✅ 需要 | ❌ 不需要\n数据实时性              | 毫秒级  | ~2s\n网络隔离                | 需入站  | 仅出站\n多站点场景              | 复杂    | 原生支持\n安全边界                | 共享token| 隔离token\n\n优势:\n• Agent 发起连接, 无需入站\n• 每站点独立 agent\n• 面板 token 与网关隔离",
      "lineHeight": 1.5,
      "baseline": 185
    }
  ],
  "appState": {
    "gridSize": null,
    "viewBackgroundColor": "#ffffff"
  },
  "files": {}
}