{"id":103929,"date":"2026-09-11T15:09:05","date_gmt":"2026-09-11T07:09:05","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/103929.html"},"modified":"2026-09-11T15:09:05","modified_gmt":"2026-09-11T07:09:05","slug":"antv-x6-%e5%9b%be%e7%bc%96%e8%be%91%e5%bc%95%e6%93%8e%e8%8a%82%e7%82%b9%e8%87%aa%e5%ae%9a%e4%b9%89%e4%b8%8e%e8%bf%9e%e7%ba%bf%e8%b7%af%e7%94%b1","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/103929.html","title":{"rendered":"AntV X6 \u56fe\u7f16\u8f91\u5f15\u64ce\u8282\u70b9\u81ea\u5b9a\u4e49\u4e0e\u8fde\u7ebf\u8def\u7531"},"content":{"rendered":"<h2>AntV X6 \u56fe\u7f16\u8f91\u5f15\u64ce\u8282\u70b9\u81ea\u5b9a\u4e49\u4e0e\u8fde\u7ebf\u8def\u7531<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260911070904-6aa3a910b260d.webp\" alt=\"\u5c01\u9762\u4fe1\u606f\u56fe\" \/><\/p>\n<p>\u5728\u6784\u5efa\u4f4e\u4ee3\u7801\u6d41\u7a0b\u7f16\u6392\u5668\u3001\u5de5\u4e1a\u7269\u8054\u62d3\u6251\u5927\u5c4f\u4ee5\u53ca\u5927\u6a21\u578b\u667a\u80fd\u4f53\u5de5\u4f5c\u6d41&#xff08;DAG Graph&#xff09;\u65f6&#xff0c;\u56fe\u7f16\u8f91\u5f15\u64ce\u662f\u4ea4\u4e92\u754c\u9762\u7684\u627f\u91cd\u5899\u3002AntV X6 \u51ed\u501f\u5176\u7075\u6d3b\u7684\u753b\u5e03\u6a21\u578b\u3001\u5b8c\u5907\u7684\u51e0\u4f55\u7b97\u6cd5\u4e0e\u9ad8\u5ea6\u89e3\u8026\u7684\u63d2\u4ef6\u751f\u6001&#xff0c;\u6210\u4e3a\u4e86\u5f53\u4e0b\u7684\u4e3b\u6d41\u9009\u62e9\u3002<\/p>\n<p>\u4f46\u5728\u5b9e\u9645\u5f00\u53d1\u590d\u6742\u6d41\u7a0b\u56fe\u65f6&#xff0c;\u56e2\u961f\u5f80\u5f80\u4f1a\u906d\u9047\u4e24\u5927\u68d8\u624b\u6311\u6218&#xff1a;\u4e00\u662f\u5982\u4f55\u5c06\u5177\u5907\u4e30\u5bcc\u8868\u5355\u4ea4\u4e92\u3001\u6298\u53e0\u6001\u4e0e\u52a8\u6001\u72b6\u6001\u6307\u793a\u7684\u590d\u6742 React \u7ec4\u4ef6\u5c01\u88c5\u4e3a\u9ad8\u6027\u80fd\u56fe\u8282\u70b9&#xff0c;\u540c\u65f6\u4fdd\u6301\u8fde\u63a5\u6869&#xff08;Port&#xff09;\u7684\u7cbe\u51c6\u78c1\u5438&#xff1b;\u4e8c\u662f\u5728\u591a\u8282\u70b9\u4ea4\u9519\u7684\u5bc6\u96c6\u6392\u5e03\u4e0b&#xff0c;\u5982\u4f55\u907f\u514d\u8fde\u7ebf\u7c97\u66b4\u5730\u6a2a\u7a7f\u8282\u70b9&#xff08;\u7a7f\u6a21&#xff09;&#xff0c;\u914d\u7f6e\u51fa\u7b26\u5408\u89c6\u89c9\u5de5\u6574\u5ea6\u7684\u6b63\u4ea4\u907f\u969c\u8def\u7531\u3002<\/p>\n<p>AntV X6 \u8282\u70b9\u4e0e\u8def\u7531\u534f\u540c\u62d3\u6251:<br \/>\n[\u81ea\u5b9a\u4e49 React \u7b97\u5b50\u8282\u70b9 A] &#8212;&#8212;&#8212;&#8212;-\\\\ (Manhattan \u667a\u80fd\u907f\u969c\u6298\u7ebf\u8def\u7531)<br \/>\n (\u5305\u542b\u8f93\u5165\/\u8f93\u51fa Port \u6869\u4e0e\u8868\u5355\u72b6\u6001)        \\\\&#8212;&gt; [\u963b\u6321\u8282\u70b9 C] (\u81ea\u52a8\u7ed5\u5f00 padding: 16px)<br \/>\n                                          \\\\<br \/>\n                                           \\\\&#8212;&gt; [\u81ea\u5b9a\u4e49 React \u7b97\u5b50\u8282\u70b9 B (\u9ad8\u4eae\u5438\u9644\u6001)]<\/p>\n<h4>React \u590d\u6742\u7ec4\u4ef6\u4e0e X6 \u8282\u70b9\u7684\u65e0\u7f1d\u6865\u63a5<\/h4>\n<p>X6 \u63d0\u4f9b\u4e86 &#064;antv\/x6-react-shape \u6269\u5c55&#xff0c;\u5141\u8bb8\u76f4\u63a5\u4f7f\u7528 React \u89c6\u56fe\u4f5c\u4e3a\u8282\u70b9\u5185\u5bb9\u3002\u4f46\u5982\u679c\u4e0d\u52a0\u8282\u5236\u5730\u4f7f\u7528&#xff0c;React \u7684\u91cd\u65b0\u6e32\u67d3\u53ef\u80fd\u5bfc\u81f4 DOM \u91cd\u6784\u4e0e\u753b\u5e03\u4e8b\u4ef6\u8131\u8282\u3002<\/p>\n<p>\u4f18\u96c5\u7684\u65b9\u6848\u662f\u5c06\u8282\u70b9\u7684\u72b6\u6001\u5206\u4e3a\u201c\u62d3\u6251\u6570\u636e&#xff08;Graph Cell Data&#xff09;\u201d\u4e0e\u201c\u5185\u90e8\u4ea4\u4e92\u72b6\u6001&#xff08;UI Transient State&#xff09;\u201d&#xff0c;\u901a\u8fc7\u8fde\u63a5\u6869\u5206\u7ec4&#xff08;Port Groups&#xff09;\u5b9e\u73b0\u5de5\u4e1a\u7ea7\u7684\u7aef\u53e3\u5438\u9644\u3002<\/p>\n<p>\/\/ CustomOperatorNode.tsx<br \/>\nimport React, { useState } from &#039;react&#039;;<br \/>\nimport { Node } from &#039;&#064;antv\/x6&#039;;<br \/>\nimport { register } from &#039;&#064;antv\/x6-react-shape&#039;;<\/p>\n<p>interface OperatorNodeData {<br \/>\n  title: string;<br \/>\n  status: &#039;idle&#039; | &#039;running&#039; | &#039;success&#039; | &#039;error&#039;;<br \/>\n  inputsCount: number;<br \/>\n  outputsCount: number;<br \/>\n  config: Record&lt;string, any&gt;;<br \/>\n}<\/p>\n<p>const OperatorNodeComponent: React.FC&lt;{ node: Node }&gt; &#061; ({ node }) &#061;&gt; {<br \/>\n  const data &#061; node.getData&lt;OperatorNodeData&gt;();<br \/>\n  const [collapsed, setCollapsed] &#061; useState(false);<\/p>\n<p>  return (<br \/>\n    &lt;div className&#061;{&#096;x6-operator-node status-${data.status}&#096;}&gt;<br \/>\n      &lt;div className&#061;&#034;node-header&#034;&gt;<br \/>\n        &lt;span className&#061;&#034;node-icon&#034;&gt;\u26a1&lt;\/span&gt;<br \/>\n        &lt;span className&#061;&#034;node-title&#034;&gt;{data.title}&lt;\/span&gt;<br \/>\n        &lt;button className&#061;&#034;collapse-btn&#034; onClick&#061;{() &#061;&gt; setCollapsed(!collapsed)}&gt;<br \/>\n          {collapsed ? &#039;\u5c55\u5f00&#039; : &#039;\u6536\u8d77&#039;}<br \/>\n        &lt;\/button&gt;<br \/>\n      &lt;\/div&gt;<br \/>\n      {!collapsed &amp;&amp; (<br \/>\n        &lt;div className&#061;&#034;node-body&#034;&gt;<br \/>\n          &lt;div className&#061;&#034;node-info&#034;&gt;\u7b97\u5b50\u72b6\u6001: {data.status}&lt;\/div&gt;<br \/>\n          &lt;div className&#061;&#034;node-meta&#034;&gt;\u53c2\u6570\u9879: {Object.keys(data.config).length} \u9879\u5df2\u914d\u7f6e&lt;\/div&gt;<br \/>\n        &lt;\/div&gt;<br \/>\n      )}<br \/>\n    &lt;\/div&gt;<br \/>\n  );<br \/>\n};<\/p>\n<p>\/\/ \u6ce8\u518c\u81ea\u5b9a\u4e49 React \u8282\u70b9\u7c7b\u578b<br \/>\nregister({<br \/>\n  shape: &#039;custom-operator-node&#039;,<br \/>\n  width: 220,<br \/>\n  height: 110,<br \/>\n  component: OperatorNodeComponent,<br \/>\n  ports: {<br \/>\n    groups: {<br \/>\n      in: {<br \/>\n        position: &#039;left&#039;,<br \/>\n        attrs: {<br \/>\n          circle: {<br \/>\n            r: 5,<br \/>\n            magnet: true,<br \/>\n            stroke: &#039;#1890ff&#039;,<br \/>\n            strokeWidth: 2,<br \/>\n            fill: &#039;#ffffff&#039;,<br \/>\n          },<br \/>\n        },<br \/>\n      },<br \/>\n      out: {<br \/>\n        position: &#039;right&#039;,<br \/>\n        attrs: {<br \/>\n          circle: {<br \/>\n            r: 5,<br \/>\n            magnet: true,<br \/>\n            stroke: &#039;#52c41a&#039;,<br \/>\n            strokeWidth: 2,<br \/>\n            fill: &#039;#ffffff&#039;,<br \/>\n          },<br \/>\n        },<br \/>\n      },<br \/>\n    },<br \/>\n  },<br \/>\n});<\/p>\n<h4>\u6b63\u4ea4\u907f\u969c\u8def\u7531\u4e0e\u66fc\u54c8\u987f&#xff08;Manhattan&#xff09;\u7b97\u6cd5\u8c03\u4f18<\/h4>\n<p>\u9ed8\u8ba4\u7684\u76f4\u7ebf&#xff08;normal&#xff09;\u6216\u7b80\u5355\u8d1d\u585e\u5c14\u66f2\u7ebf\u5728\u590d\u6742\u5de5\u4f5c\u6d41\u4e2d\u6781\u6613\u53d1\u751f\u89c6\u89c9\u6df7\u4e71&#xff0c;\u8fde\u7ebf\u4f1a\u76f4\u63a5\u6a2a\u7a7f\u5176\u4ed6\u65e0\u5173\u8282\u70b9\u3002<\/p>\n<p>X6 \u5185\u7f6e\u7684 manhattan \u8def\u7531\u7b97\u6cd5\u57fa\u4e8e A* \u5bfb\u8def\u548c\u969c\u788d\u7269\u7f51\u683c&#xff08;Grid Obstacle Map&#xff09;\u3002\u8981\u8ba9\u8fde\u7ebf\u65e2\u80fd\u4f18\u96c5\u7ed5\u8fc7\u969c\u788d&#xff0c;\u53c8\u4e0d\u4f1a\u4ea7\u751f\u7a81\u5140\u7684\u201c\u53d1\u5361\u5f2f\u201d\u6216\u591a\u4f59\u7684\u6298\u89d2&#xff0c;\u5fc5\u987b\u5bf9\u8def\u7531\u53c2\u6570\u505a\u7ec6\u81f4\u7684\u8c03\u6821&#xff1a;<\/p>\n<p>\/\/ x6-graph-config.ts<br \/>\nimport { Graph } from &#039;&#064;antv\/x6&#039;;<\/p>\n<p>export function createWorkflowGraph(container: HTMLElement): Graph {<br \/>\n  return new Graph({<br \/>\n    container,<br \/>\n    grid: {<br \/>\n      size: 10,<br \/>\n      visible: true,<br \/>\n      type: &#039;dot&#039;,<br \/>\n      args: { color: &#039;#e0e0e0&#039;, thickness: 1 },<br \/>\n    },<br \/>\n    connecting: {<br \/>\n      snap: { radius: 20 }, \/\/ \u78c1\u5438\u8ddd\u79bb<br \/>\n      allowBlank: false,<br \/>\n      allowLoop: false,<br \/>\n      highlight: true,<br \/>\n      router: {<br \/>\n        name: &#039;manhattan&#039;,<br \/>\n        args: {<br \/>\n          startDirections: [&#039;right&#039;], \/\/ \u8d77\u70b9\u4ec5\u5141\u8bb8\u5411\u53f3\u4f38\u51fa<br \/>\n          endDirections: [&#039;left&#039;],    \/\/ \u7ec8\u70b9\u4ec5\u5141\u8bb8\u4ece\u5de6\u4fa7\u63a5\u5165<br \/>\n          padding: 20,                \/\/ \u8ddd\u79bb\u963b\u6321\u8282\u70b9\u7684\u5b89\u5168\u907f\u8ba9\u8fb9\u754c<br \/>\n          maxDirectionChange: 4,      \/\/ \u9650\u5236\u6700\u5927\u8f6c\u5411\u6b21\u6570&#xff0c;\u9632\u6b62\u8fc7\u5ea6\u5f2f\u6298<br \/>\n        },<br \/>\n      },<br \/>\n      connector: {<br \/>\n        name: &#039;rounded&#039;,<br \/>\n        args: {<br \/>\n          radius: 8, \/\/ \u6298\u89d2\u5706\u89d2\u534a\u5f84&#xff0c;\u6d88\u9664\u5c16\u9510\u786c\u6298\u7ebf<br \/>\n        },<br \/>\n      },<br \/>\n    },<br \/>\n    highlighting: {<br \/>\n      magnetAvailable: {<br \/>\n        name: &#039;stroke&#039;,<br \/>\n        args: {<br \/>\n          attrs: {<br \/>\n            fill: &#039;#fff&#039;,<br \/>\n            stroke: &#039;#31d0c6&#039;,<br \/>\n            strokeWidth: 4,<br \/>\n          },<br \/>\n        },<br \/>\n      },<br \/>\n    },<br \/>\n  });<br \/>\n}<\/p>\n<h4>\u52a8\u6001\u8fde\u7ebf\u6d41\u5149\u52a8\u753b\u4e0e\u72b6\u6001\u53cd\u9988<\/h4>\n<p>\u5728\u5de5\u4f5c\u6d41\u8fd0\u884c\u65f6&#xff0c;\u901a\u8fc7 SVG \u7684 stroke-dasharray \u4e0e stroke-dashoffset \u5c5e\u6027&#xff0c;\u53ef\u4ee5\u8d4b\u4e88\u8fde\u7ebf\u6d41\u5149\u52a8\u753b&#xff0c;\u5b9e\u65f6\u6307\u793a\u6570\u636e\u6d41\u5411&#xff1a;<\/p>\n<p>\/\/ edge-animation-helper.ts<br \/>\nimport { Edge } from &#039;&#064;antv\/x6&#039;;<\/p>\n<p>export function setEdgeRunning(edge: Edge, running: boolean): void {<br \/>\n  if (running) {<br \/>\n    edge.attr({<br \/>\n      line: {<br \/>\n        stroke: &#039;#1890ff&#039;,<br \/>\n        strokeDasharray: 5,<br \/>\n        style: {<br \/>\n          animation: &#039;ant-line 30s infinite linear&#039;,<br \/>\n        },<br \/>\n      },<br \/>\n    });<br \/>\n  } else {<br \/>\n    edge.attr({<br \/>\n      line: {<br \/>\n        stroke: &#039;#A2B1C3&#039;,<br \/>\n        strokeDasharray: &#039;none&#039;,<br \/>\n        style: {<br \/>\n          animation: &#039;none&#039;,<br \/>\n        },<br \/>\n      },<br \/>\n    });<br \/>\n  }<br \/>\n}<\/p>\n<p>\/* \u8fde\u7ebf\u6d41\u5149\u52a8\u6548 *\/<br \/>\n&#064;keyframes ant-line {<br \/>\n  to {<br \/>\n    stroke-dashoffset: -1000;<br \/>\n  }<br \/>\n}<\/p>\n<p>.x6-operator-node {<br \/>\n  background: #ffffff;<br \/>\n  border: 1px solid #d9d9d9;<br \/>\n  border-radius: 6px;<br \/>\n  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);<br \/>\n  font-family: -apple-system, BlinkMacSystemFont, &#034;Segoe UI&#034;, Roboto, sans-serif;<br \/>\n  overflow: hidden;<br \/>\n}<\/p>\n<p>.x6-operator-node.status-running {<br \/>\n  border-color: #1890ff;<br \/>\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);<br \/>\n}<\/p>\n<p>\u901a\u8fc7\u5408\u7406\u8fd0\u7528 X6 \u7684\u81ea\u5b9a\u4e49 React \u8282\u70b9\u5bb9\u5668\u3001\u6df1\u5165\u5fae\u8c03 Manhattan \u6b63\u4ea4\u907f\u969c\u7b97\u6cd5&#xff0c;\u5e76\u5728\u89c6\u89c9\u5c42\u52a0\u5165\u5706\u89d2\u5e73\u6ed1\u4e0e\u6d41\u5149\u65f6\u5e8f&#xff0c;\u53ef\u4ee5\u8ba9\u539f\u672c\u6742\u4e71\u65e0\u7ae0\u7684\u8282\u70b9\u62d3\u6251\u6f14\u53d8\u4e3a\u65e2\u4e25\u8c28\u5de5\u6574\u53c8\u751f\u52a8\u6e05\u6670\u7684\u9ad8\u6e05\u67b6\u6784\u753b\u5377\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>AntV X6 \u56fe\u7f16\u8f91\u5f15\u64ce\u8282\u70b9\u81ea\u5b9a\u4e49\u4e0e\u8fde\u7ebf\u8def\u7531\u5728\u6784\u5efa\u4f4e\u4ee3\u7801\u6d41\u7a0b\u7f16\u6392\u5668\u3001\u5de5\u4e1a\u7269\u8054\u62d3\u6251\u5927\u5c4f\u4ee5\u53ca\u5927\u6a21\u578b\u667a\u80fd\u4f53\u5de5\u4f5c\u6d41&#xff08;DAG Graph&#xff09;\u65f6&#xff0c;\u56fe\u7f16\u8f91\u5f15\u64ce\u662f\u4ea4\u4e92\u754c\u9762\u7684\u627f\u91cd\u5899\u3002AntV X6 \u51ed\u501f\u5176\u7075\u6d3b\u7684\u753b\u5e03\u6a21\u578b\u3001\u5b8c\u5907\u7684\u51e0\u4f55\u7b97\u6cd5\u4e0e\u9ad8\u5ea6\u89e3\u8026\u7684\u63d2\u4ef6\u751f\u6001&#xff0c;\u6210\u4e3a\u4e86\u5f53\u4e0b\u7684\u4e3b\u6d41\u9009\u62e9\u3002<br \/>\n\u4f46\u5728\u5b9e\u9645\u5f00\u53d1\u590d\u6742\u6d41\u7a0b\u56fe\u65f6&#xff0c;\u56e2\u961f\u5f80\u5f80\u4f1a\u906d\u9047\u4e24\u5927\u68d8\u624b\u6311\u6218&#xff1a;\u4e00\u662f\u5982\u4f55\u5c06\u5177\u5907\u4e30\u5bcc\u8868\u5355\u4ea4\u4e92\u3001\u6298\u53e0\u6001\u4e0e\u52a8\u6001\u72b6\u6001\u6307\u793a\u7684\u590d\u6742 React \u7ec4\u4ef6\u5c01\u88c5\u4e3a\u9ad8<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9627,66,50,87,51],"topic":[],"class_list":["post-103929","post","type-post","status-publish","format-standard","hentry","category-server","tag-webgl","tag-ai","tag-50","tag-87","tag-51"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AntV X6 \u56fe\u7f16\u8f91\u5f15\u64ce\u8282\u70b9\u81ea\u5b9a\u4e49\u4e0e\u8fde\u7ebf\u8def\u7531 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/103929.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AntV X6 \u56fe\u7f16\u8f91\u5f15\u64ce\u8282\u70b9\u81ea\u5b9a\u4e49\u4e0e\u8fde\u7ebf\u8def\u7531 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"AntV X6 \u56fe\u7f16\u8f91\u5f15\u64ce\u8282\u70b9\u81ea\u5b9a\u4e49\u4e0e\u8fde\u7ebf\u8def\u7531\u5728\u6784\u5efa\u4f4e\u4ee3\u7801\u6d41\u7a0b\u7f16\u6392\u5668\u3001\u5de5\u4e1a\u7269\u8054\u62d3\u6251\u5927\u5c4f\u4ee5\u53ca\u5927\u6a21\u578b\u667a\u80fd\u4f53\u5de5\u4f5c\u6d41&#xff08;DAG Graph&#xff09;\u65f6&#xff0c;\u56fe\u7f16\u8f91\u5f15\u64ce\u662f\u4ea4\u4e92\u754c\u9762\u7684\u627f\u91cd\u5899\u3002AntV X6 \u51ed\u501f\u5176\u7075\u6d3b\u7684\u753b\u5e03\u6a21\u578b\u3001\u5b8c\u5907\u7684\u51e0\u4f55\u7b97\u6cd5\u4e0e\u9ad8\u5ea6\u89e3\u8026\u7684\u63d2\u4ef6\u751f\u6001&#xff0c;\u6210\u4e3a\u4e86\u5f53\u4e0b\u7684\u4e3b\u6d41\u9009\u62e9\u3002 \u4f46\u5728\u5b9e\u9645\u5f00\u53d1\u590d\u6742\u6d41\u7a0b\u56fe\u65f6&#xff0c;\u56e2\u961f\u5f80\u5f80\u4f1a\u906d\u9047\u4e24\u5927\u68d8\u624b\u6311\u6218&#xff1a;\u4e00\u662f\u5982\u4f55\u5c06\u5177\u5907\u4e30\u5bcc\u8868\u5355\u4ea4\u4e92\u3001\u6298\u53e0\u6001\u4e0e\u52a8\u6001\u72b6\u6001\u6307\u793a\u7684\u590d\u6742 React \u7ec4\u4ef6\u5c01\u88c5\u4e3a\u9ad8\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/103929.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-11T07:09:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260911070904-6aa3a910b260d.webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/103929.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/103929.html\",\"name\":\"AntV X6 \u56fe\u7f16\u8f91\u5f15\u64ce\u8282\u70b9\u81ea\u5b9a\u4e49\u4e0e\u8fde\u7ebf\u8def\u7531 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-11T07:09:05+00:00\",\"dateModified\":\"2026-09-11T07:09:05+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/103929.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/103929.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/103929.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AntV X6 \u56fe\u7f16\u8f91\u5f15\u64ce\u8282\u70b9\u81ea\u5b9a\u4e49\u4e0e\u8fde\u7ebf\u8def\u7531\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AntV X6 \u56fe\u7f16\u8f91\u5f15\u64ce\u8282\u70b9\u81ea\u5b9a\u4e49\u4e0e\u8fde\u7ebf\u8def\u7531 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/103929.html","og_locale":"zh_CN","og_type":"article","og_title":"AntV X6 \u56fe\u7f16\u8f91\u5f15\u64ce\u8282\u70b9\u81ea\u5b9a\u4e49\u4e0e\u8fde\u7ebf\u8def\u7531 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"AntV X6 \u56fe\u7f16\u8f91\u5f15\u64ce\u8282\u70b9\u81ea\u5b9a\u4e49\u4e0e\u8fde\u7ebf\u8def\u7531\u5728\u6784\u5efa\u4f4e\u4ee3\u7801\u6d41\u7a0b\u7f16\u6392\u5668\u3001\u5de5\u4e1a\u7269\u8054\u62d3\u6251\u5927\u5c4f\u4ee5\u53ca\u5927\u6a21\u578b\u667a\u80fd\u4f53\u5de5\u4f5c\u6d41&#xff08;DAG Graph&#xff09;\u65f6&#xff0c;\u56fe\u7f16\u8f91\u5f15\u64ce\u662f\u4ea4\u4e92\u754c\u9762\u7684\u627f\u91cd\u5899\u3002AntV X6 \u51ed\u501f\u5176\u7075\u6d3b\u7684\u753b\u5e03\u6a21\u578b\u3001\u5b8c\u5907\u7684\u51e0\u4f55\u7b97\u6cd5\u4e0e\u9ad8\u5ea6\u89e3\u8026\u7684\u63d2\u4ef6\u751f\u6001&#xff0c;\u6210\u4e3a\u4e86\u5f53\u4e0b\u7684\u4e3b\u6d41\u9009\u62e9\u3002 \u4f46\u5728\u5b9e\u9645\u5f00\u53d1\u590d\u6742\u6d41\u7a0b\u56fe\u65f6&#xff0c;\u56e2\u961f\u5f80\u5f80\u4f1a\u906d\u9047\u4e24\u5927\u68d8\u624b\u6311\u6218&#xff1a;\u4e00\u662f\u5982\u4f55\u5c06\u5177\u5907\u4e30\u5bcc\u8868\u5355\u4ea4\u4e92\u3001\u6298\u53e0\u6001\u4e0e\u52a8\u6001\u72b6\u6001\u6307\u793a\u7684\u590d\u6742 React \u7ec4\u4ef6\u5c01\u88c5\u4e3a\u9ad8","og_url":"https:\/\/www.wsisp.com\/helps\/103929.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-11T07:09:05+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260911070904-6aa3a910b260d.webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/103929.html","url":"https:\/\/www.wsisp.com\/helps\/103929.html","name":"AntV X6 \u56fe\u7f16\u8f91\u5f15\u64ce\u8282\u70b9\u81ea\u5b9a\u4e49\u4e0e\u8fde\u7ebf\u8def\u7531 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-11T07:09:05+00:00","dateModified":"2026-09-11T07:09:05+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/103929.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/103929.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/103929.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"AntV X6 \u56fe\u7f16\u8f91\u5f15\u64ce\u8282\u70b9\u81ea\u5b9a\u4e49\u4e0e\u8fde\u7ebf\u8def\u7531"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/103929","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=103929"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/103929\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=103929"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=103929"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=103929"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=103929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}