@antv/g6
Version:
graph visualization frame work
1 lines • 66.8 kB
JSON
{"expireTime":9007200828528711000,"key":"transformer-remark-markdown-ast-58860a1e70f5b5ef7ce51e505e074d52-gatsby-remark-prettiergatsby-remark-prismjsgatsby-remark-external-linksgatsby-remark-autolink-headersgatsby-remark-reading-time-","val":{"type":"root","children":[{"type":"heading","depth":2,"children":[{"type":"link","url":"#diamond","title":null,"children":[],"data":{"hProperties":{"aria-label":"diamond permalink","class":"anchor"},"hChildren":[{"type":"raw","value":"<svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg>"}]}},{"type":"text","value":"Diamond","position":{"start":{"line":1,"column":4,"offset":3},"end":{"line":1,"column":11,"offset":10},"indent":[]}}],"position":{"start":{"line":1,"column":1,"offset":0},"end":{"line":1,"column":11,"offset":10},"indent":[]},"data":{"id":"diamond","htmlAttributes":{"id":"diamond"},"hProperties":{"id":"diamond"}}},{"type":"paragraph","children":[{"type":"text","value":"G6 内置了菱形 diamond 节点,其默认样式如下。标签文本位于菱形中央。","position":{"start":{"line":3,"column":1,"offset":12},"end":{"line":3,"column":40,"offset":51},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":3,"column":40,"offset":51},"end":{"line":3,"column":46,"offset":57},"indent":[]}},{"type":"image","title":null,"url":"https://cdn.nlark.com/yuque/0/2019/png/156681/1570870451690-a9901452-efa4-4221-89ce-57c5cfbd4311.png#align=left&display=inline&height=103&name=image.png&originHeight=206&originWidth=202&search=&size=20142&status=done&width=101","alt":"image.png","position":{"start":{"line":3,"column":46,"offset":57},"end":{"line":3,"column":286,"offset":297},"indent":[]}}],"position":{"start":{"line":3,"column":1,"offset":12},"end":{"line":3,"column":286,"offset":297},"indent":[]}},{"type":"heading","depth":2,"children":[{"type":"link","url":"#使用方法","title":null,"children":[],"data":{"hProperties":{"aria-label":"使用方法 permalink","class":"anchor"},"hChildren":[{"type":"raw","value":"<svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg>"}]}},{"type":"text","value":"使用方法","position":{"start":{"line":6,"column":4,"offset":303},"end":{"line":6,"column":8,"offset":307},"indent":[]}}],"position":{"start":{"line":6,"column":1,"offset":300},"end":{"line":6,"column":8,"offset":307},"indent":[]},"data":{"id":"使用方法","htmlAttributes":{"id":"使用方法"},"hProperties":{"id":"使用方法"}}},{"type":"paragraph","children":[{"type":"text","value":"如 ","position":{"start":{"line":7,"column":1,"offset":308},"end":{"line":7,"column":3,"offset":310},"indent":[]}},{"type":"link","title":null,"url":"../defaultNode","children":[{"type":"text","value":"内置节点","position":{"start":{"line":7,"column":4,"offset":311},"end":{"line":7,"column":8,"offset":315},"indent":[]}}],"position":{"start":{"line":7,"column":3,"offset":310},"end":{"line":7,"column":25,"offset":332},"indent":[]}},{"type":"text","value":" 一节所示,配置节点的方式有两种:实例化图时全局配置,在数据中动态配置。","position":{"start":{"line":7,"column":25,"offset":332},"end":{"line":7,"column":61,"offset":368},"indent":[]}}],"position":{"start":{"line":7,"column":1,"offset":308},"end":{"line":7,"column":61,"offset":368},"indent":[]}},{"type":"heading","depth":3,"children":[{"type":"link","url":"#1-实例化图时全局配置","title":null,"children":[],"data":{"hProperties":{"aria-label":"1 实例化图时全局配置 permalink","class":"anchor"},"hChildren":[{"type":"raw","value":"<svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg>"}]}},{"type":"text","value":"1 实例化图时全局配置","position":{"start":{"line":10,"column":5,"offset":375},"end":{"line":10,"column":16,"offset":386},"indent":[]}}],"position":{"start":{"line":10,"column":1,"offset":371},"end":{"line":10,"column":16,"offset":386},"indent":[]},"data":{"id":"1-实例化图时全局配置","htmlAttributes":{"id":"1-实例化图时全局配置"},"hProperties":{"id":"1-实例化图时全局配置"}}},{"type":"paragraph","children":[{"type":"text","value":"用户在实例化 Graph 时候可以通过 ","position":{"start":{"line":11,"column":1,"offset":387},"end":{"line":11,"column":21,"offset":407},"indent":[]}},{"type":"html","value":"<code class=\"language-text\">defaultNode</code>","position":{"start":{"line":11,"column":21,"offset":407},"end":{"line":11,"column":34,"offset":420},"indent":[]}},{"type":"text","value":" 指定 ","position":{"start":{"line":11,"column":34,"offset":420},"end":{"line":11,"column":38,"offset":424},"indent":[]}},{"type":"html","value":"<code class=\"language-text\">shape</code>","position":{"start":{"line":11,"column":38,"offset":424},"end":{"line":11,"column":45,"offset":431},"indent":[]}},{"type":"text","value":" 为 ","position":{"start":{"line":11,"column":45,"offset":431},"end":{"line":11,"column":48,"offset":434},"indent":[]}},{"type":"html","value":"<code class=\"language-text\">'diamond'</code>","position":{"start":{"line":11,"column":48,"offset":434},"end":{"line":11,"column":59,"offset":445},"indent":[]}},{"type":"text","value":",即可使用 ","position":{"start":{"line":11,"column":59,"offset":445},"end":{"line":11,"column":65,"offset":451},"indent":[]}},{"type":"html","value":"<code class=\"language-text\">diamond</code>","position":{"start":{"line":11,"column":65,"offset":451},"end":{"line":11,"column":74,"offset":460},"indent":[]}},{"type":"text","value":" 节点。","position":{"start":{"line":11,"column":74,"offset":460},"end":{"line":11,"column":78,"offset":464},"indent":[]}}],"position":{"start":{"line":11,"column":1,"offset":387},"end":{"line":11,"column":78,"offset":464},"indent":[]}},{"type":"html","lang":"javascript","meta":null,"value":"<div class=\"gatsby-highlight\" data-language=\"javascript\"><pre class=\"language-javascript\"><code class=\"language-javascript\"><span class=\"token keyword\">const</span> graph <span class=\"token operator\">=</span> <span class=\"token keyword\">new</span> <span class=\"token class-name\">G6<span class=\"token punctuation\">.</span>Graph</span><span class=\"token punctuation\">(</span><span class=\"token punctuation\">{</span>\n container<span class=\"token punctuation\">:</span> <span class=\"token string\">'mountNode'</span><span class=\"token punctuation\">,</span>\n width<span class=\"token punctuation\">:</span> <span class=\"token number\">800</span><span class=\"token punctuation\">,</span>\n height<span class=\"token punctuation\">:</span> <span class=\"token number\">600</span><span class=\"token punctuation\">,</span>\n defaultNode<span class=\"token punctuation\">:</span> <span class=\"token punctuation\">{</span>\n shape<span class=\"token punctuation\">:</span> <span class=\"token string\">'diamond'</span><span class=\"token punctuation\">,</span>\n <span class=\"token comment\">// 其他配置</span>\n <span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n<span class=\"token punctuation\">}</span><span class=\"token punctuation\">)</span><span class=\"token punctuation\">;</span>\n</code></pre></div>","position":{"start":{"line":12,"column":1,"offset":465},"end":{"line":22,"column":4,"offset":624},"indent":[1,1,1,1,1,1,1,1,1,1]}},{"type":"heading","depth":3,"children":[{"type":"link","url":"#2-在数据中动态配置","title":null,"children":[],"data":{"hProperties":{"aria-label":"2 在数据中动态配置 permalink","class":"anchor"},"hChildren":[{"type":"raw","value":"<svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg>"}]}},{"type":"text","value":"2 在数据中动态配置","position":{"start":{"line":25,"column":5,"offset":631},"end":{"line":25,"column":15,"offset":641},"indent":[]}}],"position":{"start":{"line":25,"column":1,"offset":627},"end":{"line":25,"column":15,"offset":641},"indent":[]},"data":{"id":"2-在数据中动态配置","htmlAttributes":{"id":"2-在数据中动态配置"},"hProperties":{"id":"2-在数据中动态配置"}}},{"type":"paragraph","children":[{"type":"text","value":"如果需要使不同节点有不同的配置,可以将配置写入到节点数据中。这种配置方式可以通过下面代码的形式直接写入数据,也可以通过遍历数据的方式写入。","position":{"start":{"line":26,"column":1,"offset":642},"end":{"line":26,"column":70,"offset":711},"indent":[]}}],"position":{"start":{"line":26,"column":1,"offset":642},"end":{"line":26,"column":70,"offset":711},"indent":[]}},{"type":"html","lang":"javascript","meta":null,"value":"<div class=\"gatsby-highlight\" data-language=\"javascript\"><pre class=\"language-javascript\"><code class=\"language-javascript\"><span class=\"token keyword\">const</span> data <span class=\"token operator\">=</span> <span class=\"token punctuation\">{</span>\n nodes<span class=\"token punctuation\">:</span> <span class=\"token punctuation\">[</span><span class=\"token punctuation\">{</span>\n\t id<span class=\"token punctuation\">:</span> <span class=\"token string\">'node0'</span><span class=\"token punctuation\">,</span>\n shape<span class=\"token punctuation\">:</span> <span class=\"token string\">'diamond'</span><span class=\"token punctuation\">,</span>\n <span class=\"token operator\">...</span> <span class=\"token comment\">// 其他配置</span>\n <span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n <span class=\"token operator\">...</span> <span class=\"token comment\">// 其他节点</span>\n <span class=\"token punctuation\">]</span><span class=\"token punctuation\">,</span>\n edges<span class=\"token punctuation\">:</span> <span class=\"token punctuation\">[</span>\n <span class=\"token operator\">...</span> <span class=\"token comment\">// 边</span>\n <span class=\"token punctuation\">]</span>\n<span class=\"token punctuation\">}</span></code></pre></div>","position":{"start":{"line":27,"column":1,"offset":712},"end":{"line":40,"column":4,"offset":868},"indent":[1,1,1,1,1,1,1,1,1,1,1,1,1]}},{"type":"heading","depth":2,"children":[{"type":"link","url":"#配置项说明","title":null,"children":[],"data":{"hProperties":{"aria-label":"配置项说明 permalink","class":"anchor"},"hChildren":[{"type":"raw","value":"<svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg>"}]}},{"type":"text","value":"配置项说明","position":{"start":{"line":43,"column":4,"offset":874},"end":{"line":43,"column":9,"offset":879},"indent":[]}}],"position":{"start":{"line":43,"column":1,"offset":871},"end":{"line":43,"column":9,"offset":879},"indent":[]},"data":{"id":"配置项说明","htmlAttributes":{"id":"配置项说明"},"hProperties":{"id":"配置项说明"}}},{"type":"paragraph","children":[{"type":"text","value":"circle 节点支持以下的配置项,对于 Object 类型的配置项将在后面有详细讲解:","position":{"start":{"line":44,"column":1,"offset":880},"end":{"line":44,"column":45,"offset":924},"indent":[]}}],"position":{"start":{"line":44,"column":1,"offset":880},"end":{"line":44,"column":45,"offset":924},"indent":[]}},{"type":"table","align":[null,null,null,null],"children":[{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"名称","position":{"start":{"line":46,"column":3,"offset":928},"end":{"line":46,"column":5,"offset":930},"indent":[]}}],"position":{"start":{"line":46,"column":3,"offset":928},"end":{"line":46,"column":5,"offset":930},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"含义","position":{"start":{"line":46,"column":8,"offset":933},"end":{"line":46,"column":10,"offset":935},"indent":[]}}],"position":{"start":{"line":46,"column":8,"offset":933},"end":{"line":46,"column":10,"offset":935},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"类型","position":{"start":{"line":46,"column":13,"offset":938},"end":{"line":46,"column":15,"offset":940},"indent":[]}}],"position":{"start":{"line":46,"column":13,"offset":938},"end":{"line":46,"column":15,"offset":940},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"备注","position":{"start":{"line":46,"column":18,"offset":943},"end":{"line":46,"column":20,"offset":945},"indent":[]}}],"position":{"start":{"line":46,"column":18,"offset":943},"end":{"line":46,"column":20,"offset":945},"indent":[]}}],"position":{"start":{"line":46,"column":1,"offset":926},"end":{"line":46,"column":22,"offset":947},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"size","position":{"start":{"line":48,"column":3,"offset":976},"end":{"line":48,"column":7,"offset":980},"indent":[]}}],"position":{"start":{"line":48,"column":3,"offset":976},"end":{"line":48,"column":7,"offset":980},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"菱形的宽高","position":{"start":{"line":48,"column":10,"offset":983},"end":{"line":48,"column":15,"offset":988},"indent":[]}}],"position":{"start":{"line":48,"column":10,"offset":983},"end":{"line":48,"column":15,"offset":988},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"Number","position":{"start":{"line":48,"column":18,"offset":991},"end":{"line":48,"column":24,"offset":997},"indent":[]}}],"position":{"start":{"line":48,"column":18,"offset":991},"end":{"line":48,"column":24,"offset":997},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"Array","position":{"start":{"line":48,"column":27,"offset":1000},"end":{"line":48,"column":32,"offset":1005},"indent":[]}}],"position":{"start":{"line":48,"column":27,"offset":1000},"end":{"line":48,"column":32,"offset":1005},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"size一个数值时,宽高相同","position":{"start":{"line":48,"column":35,"offset":1008},"end":{"line":48,"column":49,"offset":1022},"indent":[]}}],"position":{"start":{"line":48,"column":35,"offset":1008},"end":{"line":48,"column":49,"offset":1022},"indent":[]}}],"position":{"start":{"line":48,"column":1,"offset":974},"end":{"line":48,"column":51,"offset":1024},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"style","position":{"start":{"line":49,"column":3,"offset":1027},"end":{"line":49,"column":8,"offset":1032},"indent":[]}}],"position":{"start":{"line":49,"column":3,"offset":1027},"end":{"line":49,"column":8,"offset":1032},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"diamond默认样式","position":{"start":{"line":49,"column":11,"offset":1035},"end":{"line":49,"column":22,"offset":1046},"indent":[]}}],"position":{"start":{"line":49,"column":11,"offset":1035},"end":{"line":49,"column":22,"offset":1046},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"Object","position":{"start":{"line":49,"column":25,"offset":1049},"end":{"line":49,"column":31,"offset":1055},"indent":[]}}],"position":{"start":{"line":49,"column":25,"offset":1049},"end":{"line":49,"column":31,"offset":1055},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"Canvas支持的属性","position":{"start":{"line":49,"column":34,"offset":1058},"end":{"line":49,"column":45,"offset":1069},"indent":[]}}],"position":{"start":{"line":49,"column":34,"offset":1058},"end":{"line":49,"column":45,"offset":1069},"indent":[]}}],"position":{"start":{"line":49,"column":1,"offset":1025},"end":{"line":49,"column":47,"offset":1071},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"labelCfg","position":{"start":{"line":50,"column":3,"offset":1074},"end":{"line":50,"column":11,"offset":1082},"indent":[]}}],"position":{"start":{"line":50,"column":3,"offset":1074},"end":{"line":50,"column":11,"offset":1082},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"文件配置项","position":{"start":{"line":50,"column":14,"offset":1085},"end":{"line":50,"column":19,"offset":1090},"indent":[]}}],"position":{"start":{"line":50,"column":14,"offset":1085},"end":{"line":50,"column":19,"offset":1090},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"Object","position":{"start":{"line":50,"column":22,"offset":1093},"end":{"line":50,"column":28,"offset":1099},"indent":[]}}],"position":{"start":{"line":50,"column":22,"offset":1093},"end":{"line":50,"column":28,"offset":1099},"indent":[]}},{"type":"tableCell","children":[],"position":{"start":{"line":50,"column":32,"offset":1103},"end":{"line":50,"column":32,"offset":1103},"indent":[]}}],"position":{"start":{"line":50,"column":1,"offset":1072},"end":{"line":50,"column":33,"offset":1104},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"stateStyles","position":{"start":{"line":51,"column":3,"offset":1107},"end":{"line":51,"column":14,"offset":1118},"indent":[]}}],"position":{"start":{"line":51,"column":3,"offset":1107},"end":{"line":51,"column":14,"offset":1118},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"各状态下的样式","position":{"start":{"line":51,"column":17,"offset":1121},"end":{"line":51,"column":24,"offset":1128},"indent":[]}}],"position":{"start":{"line":51,"column":17,"offset":1121},"end":{"line":51,"column":24,"offset":1128},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"Object","position":{"start":{"line":51,"column":27,"offset":1131},"end":{"line":51,"column":33,"offset":1137},"indent":[]}}],"position":{"start":{"line":51,"column":27,"offset":1131},"end":{"line":51,"column":33,"offset":1137},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"只对keyShape起作用","position":{"start":{"line":51,"column":36,"offset":1140},"end":{"line":51,"column":49,"offset":1153},"indent":[]}}],"position":{"start":{"line":51,"column":36,"offset":1140},"end":{"line":51,"column":49,"offset":1153},"indent":[]}}],"position":{"start":{"line":51,"column":1,"offset":1105},"end":{"line":51,"column":51,"offset":1155},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"linkPoints","position":{"start":{"line":52,"column":3,"offset":1158},"end":{"line":52,"column":13,"offset":1168},"indent":[]}}],"position":{"start":{"line":52,"column":3,"offset":1158},"end":{"line":52,"column":13,"offset":1168},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"菱形上的链接点","position":{"start":{"line":52,"column":16,"offset":1171},"end":{"line":52,"column":23,"offset":1178},"indent":[]}}],"position":{"start":{"line":52,"column":16,"offset":1171},"end":{"line":52,"column":23,"offset":1178},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"Object","position":{"start":{"line":52,"column":26,"offset":1181},"end":{"line":52,"column":32,"offset":1187},"indent":[]}}],"position":{"start":{"line":52,"column":26,"offset":1181},"end":{"line":52,"column":32,"offset":1187},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"默认不显示","position":{"start":{"line":52,"column":35,"offset":1190},"end":{"line":52,"column":40,"offset":1195},"indent":[]}}],"position":{"start":{"line":52,"column":35,"offset":1190},"end":{"line":52,"column":40,"offset":1195},"indent":[]}}],"position":{"start":{"line":52,"column":1,"offset":1156},"end":{"line":52,"column":42,"offset":1197},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"icon","position":{"start":{"line":53,"column":3,"offset":1200},"end":{"line":53,"column":7,"offset":1204},"indent":[]}}],"position":{"start":{"line":53,"column":3,"offset":1200},"end":{"line":53,"column":7,"offset":1204},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"菱形上icon配置","position":{"start":{"line":53,"column":10,"offset":1207},"end":{"line":53,"column":19,"offset":1216},"indent":[]}}],"position":{"start":{"line":53,"column":10,"offset":1207},"end":{"line":53,"column":19,"offset":1216},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"Object","position":{"start":{"line":53,"column":22,"offset":1219},"end":{"line":53,"column":28,"offset":1225},"indent":[]}}],"position":{"start":{"line":53,"column":22,"offset":1219},"end":{"line":53,"column":28,"offset":1225},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"默认不显示icon","position":{"start":{"line":53,"column":31,"offset":1228},"end":{"line":53,"column":40,"offset":1237},"indent":[]}}],"position":{"start":{"line":53,"column":31,"offset":1228},"end":{"line":53,"column":40,"offset":1237},"indent":[]}}],"position":{"start":{"line":53,"column":1,"offset":1198},"end":{"line":53,"column":42,"offset":1239},"indent":[]}}],"position":{"start":{"line":46,"column":1,"offset":926},"end":{"line":53,"column":42,"offset":1239},"indent":[1,1,1,1,1,1,1]}},{"type":"heading","depth":3,"children":[{"type":"link","url":"#样式属性-style","title":null,"children":[],"data":{"hProperties":{"aria-label":"样式属性 style permalink","class":"anchor"},"hChildren":[{"type":"raw","value":"<svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg>"}]}},{"type":"text","value":"样式属性 style","position":{"start":{"line":57,"column":5,"offset":1247},"end":{"line":57,"column":15,"offset":1257},"indent":[]}}],"position":{"start":{"line":57,"column":1,"offset":1243},"end":{"line":57,"column":15,"offset":1257},"indent":[]},"data":{"id":"样式属性-style","htmlAttributes":{"id":"样式属性-style"},"hProperties":{"id":"样式属性-style"}}},{"type":"paragraph","children":[{"type":"text","value":"Object 类型。通过 ","position":{"start":{"line":58,"column":1,"offset":1258},"end":{"line":58,"column":14,"offset":1271},"indent":[]}},{"type":"html","value":"<code class=\"language-text\">style</code>","position":{"start":{"line":58,"column":14,"offset":1271},"end":{"line":58,"column":21,"offset":1278},"indent":[]}},{"type":"text","value":" 配置来修改节点的填充色、描边等属性。下面代码演示在实例化图时全局配置方法中配置 ","position":{"start":{"line":58,"column":21,"offset":1278},"end":{"line":58,"column":62,"offset":1319},"indent":[]}},{"type":"html","value":"<code class=\"language-text\">style</code>","position":{"start":{"line":58,"column":62,"offset":1319},"end":{"line":58,"column":69,"offset":1326},"indent":[]}},{"type":"text","value":",使之达到如下图效果。","position":{"start":{"line":58,"column":69,"offset":1326},"end":{"line":58,"column":80,"offset":1337},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":58,"column":80,"offset":1337},"end":{"line":58,"column":86,"offset":1343},"indent":[]}},{"type":"image","title":null,"url":"https://cdn.nlark.com/yuque/0/2019/png/156681/1570870538643-f8bab593-22e9-49f1-bb40-22e9d39f4504.png#align=left&display=inline&height=64&name=image.png&originHeight=128&originWidth=198&search=&size=24277&status=done&width=99","alt":"image.png","position":{"start":{"line":58,"column":86,"offset":1343},"end":{"line":58,"column":324,"offset":1581},"indent":[]}}],"position":{"start":{"line":58,"column":1,"offset":1258},"end":{"line":58,"column":324,"offset":1581},"indent":[]}},{"type":"html","lang":"javascript","meta":null,"value":"<div class=\"gatsby-highlight\" data-language=\"javascript\"><pre class=\"language-javascript\"><code class=\"language-javascript\"><span class=\"token keyword\">const</span> data <span class=\"token operator\">=</span> <span class=\"token punctuation\">{</span>\n nodes<span class=\"token punctuation\">:</span> <span class=\"token punctuation\">[</span>\n <span class=\"token punctuation\">{</span>\n x<span class=\"token punctuation\">:</span> <span class=\"token number\">100</span><span class=\"token punctuation\">,</span>\n y<span class=\"token punctuation\">:</span> <span class=\"token number\">100</span><span class=\"token punctuation\">,</span>\n shape<span class=\"token punctuation\">:</span> <span class=\"token string\">'diamond'</span><span class=\"token punctuation\">,</span>\n label<span class=\"token punctuation\">:</span> <span class=\"token string\">'diamond'</span><span class=\"token punctuation\">,</span>\n <span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n <span class=\"token punctuation\">]</span><span class=\"token punctuation\">,</span>\n<span class=\"token punctuation\">}</span><span class=\"token punctuation\">;</span>\n<span class=\"token keyword\">const</span> graph <span class=\"token operator\">=</span> <span class=\"token keyword\">new</span> <span class=\"token class-name\">G6<span class=\"token punctuation\">.</span>Graph</span><span class=\"token punctuation\">(</span><span class=\"token punctuation\">{</span>\n container<span class=\"token punctuation\">:</span> <span class=\"token string\">'mountNode'</span><span class=\"token punctuation\">,</span>\n width<span class=\"token punctuation\">:</span> <span class=\"token number\">800</span><span class=\"token punctuation\">,</span>\n height<span class=\"token punctuation\">:</span> <span class=\"token number\">600</span><span class=\"token punctuation\">,</span>\n defaultNode<span class=\"token punctuation\">:</span> <span class=\"token punctuation\">{</span>\n <span class=\"token comment\">// shape: 'diamond', // 数据中已指定 shape,这里无需再次指定</span>\n size<span class=\"token punctuation\">:</span> <span class=\"token punctuation\">[</span><span class=\"token number\">200</span><span class=\"token punctuation\">,</span> <span class=\"token number\">80</span><span class=\"token punctuation\">]</span><span class=\"token punctuation\">,</span>\n style<span class=\"token punctuation\">:</span> <span class=\"token punctuation\">{</span>\n fill<span class=\"token punctuation\">:</span> <span class=\"token string\">'#bae637'</span><span class=\"token punctuation\">,</span>\n stroke<span class=\"token punctuation\">:</span> <span class=\"token string\">'#eaff8f'</span><span class=\"token punctuation\">,</span>\n lineWidth<span class=\"token punctuation\">:</span> <span class=\"token number\">5</span><span class=\"token punctuation\">,</span>\n <span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n <span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n<span class=\"token punctuation\">}</span><span class=\"token punctuation\">)</span><span class=\"token punctuation\">;</span>\ngraph<span class=\"token punctuation\">.</span><span class=\"token function\">data</span><span class=\"token punctuation\">(</span>data<span class=\"token punctuation\">)</span><span class=\"token punctuation\">;</span>\ngraph<span class=\"token punctuation\">.</span><span class=\"token function\">render</span><span class=\"token punctuation\">(</span><span class=\"token punctuation\">)</span><span class=\"token punctuation\">;</span>\n</code></pre></div>","position":{"start":{"line":59,"column":1,"offset":1582},"end":{"line":84,"column":4,"offset":2000},"indent":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{"type":"heading","depth":3,"children":[{"type":"link","url":"#标签文本配置-labelcfg","title":null,"children":[],"data":{"hProperties":{"aria-label":"标签文本配置 labelcfg permalink","class":"anchor"},"hChildren":[{"type":"raw","value":"<svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg>"}]}},{"type":"text","value":"标签文本配置 labelCfg","position":{"start":{"line":87,"column":5,"offset":2007},"end":{"line":87,"column":20,"offset":2022},"indent":[]}}],"position":{"start":{"line":87,"column":1,"offset":2003},"end":{"line":87,"column":20,"offset":2022},"indent":[]},"data":{"id":"标签文本配置-labelcfg","htmlAttributes":{"id":"标签文本配置-labelcfg"},"hProperties":{"id":"标签文本配置-labelcfg"}}},{"type":"paragraph","children":[{"type":"text","value":"Object 类型。通过 ","position":{"start":{"line":88,"column":1,"offset":2023},"end":{"line":88,"column":14,"offset":2036},"indent":[]}},{"type":"html","value":"<code class=\"language-text\">labelCfg</code>","position":{"start":{"line":88,"column":14,"offset":2036},"end":{"line":88,"column":24,"offset":2046},"indent":[]}},{"type":"text","value":" 配置标签文本。基于上面 ","position":{"start":{"line":88,"column":24,"offset":2046},"end":{"line":88,"column":37,"offset":2059},"indent":[]}},{"type":"link","title":null,"url":"#样式属性-style","children":[{"type":"text","value":"样式属性 style","position":{"start":{"line":88,"column":38,"offset":2060},"end":{"line":88,"column":48,"offset":2070},"indent":[]}}],"position":{"start":{"line":88,"column":37,"offset":2059},"end":{"line":88,"column":62,"offset":2084},"indent":[]}},{"type":"text","value":" 中的代码,下面代码在 ","position":{"start":{"line":88,"column":62,"offset":2084},"end":{"line":88,"column":74,"offset":2096},"indent":[]}},{"type":"html","value":"<code class=\"language-text\">defaultNode</code>","position":{"start":{"line":88,"column":74,"offset":2096},"end":{"line":88,"column":87,"offset":2109},"indent":[]}},{"type":"text","value":" 中增加了 ","position":{"start":{"line":88,"column":87,"offset":2109},"end":{"line":88,"column":93,"offset":2115},"indent":[]}},{"type":"html","value":"<code class=\"language-text\">labelCfg</code>","position":{"start":{"line":88,"column":93,"offset":2115},"end":{"line":88,"column":103,"offset":2125},"indent":[]}},{"type":"text","value":" 配置项进行文本的配置,使之达到如下图效果。","position":{"start":{"line":88,"column":103,"offset":2125},"end":{"line":88,"column":125,"offset":2147},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":88,"column":125,"offset":2147},"end":{"line":88,"column":131,"offset":2153},"indent":[]}},{"type":"image","title":null,"url":"https://cdn.nlark.com/yuque/0/2019/png/156681/1570870655380-a23443f7-1e88-4c08-a63b-f9ed548afbae.png#align=left&display=inline&height=79&name=image.png&originHeight=158&originWidth=208&search=&size=27109&status=done&width=104","alt":"image.png","position":{"start":{"line":88,"column":131,"offset":2153},"end":{"line":88,"column":370,"offset":2392},"indent":[]}}],"position":{"start":{"line":88,"column":1,"offset":2023},"end":{"line":88,"column":370,"offset":2392},"indent":[]}},{"type":"html","lang":"javascript","meta":null,"value":"<div class=\"gatsby-highlight\" data-language=\"javascript\"><pre class=\"language-javascript\"><code class=\"language-javascript\"><span class=\"token keyword\">const</span> data <span class=\"token operator\">=</span> <span class=\"token punctuation\">{</span>\n <span class=\"token comment\">// ... data 内容</span>\n<span class=\"token punctuation\">}</span><span class=\"token punctuation\">;</span>\n<span class=\"token keyword\">const</span> graph <span class=\"token operator\">=</span> <span class=\"token keyword\">new</span> <span class=\"token class-name\">G6<span class=\"token punctuation\">.</span>Graph</span><span class=\"token punctuation\">(</span><span class=\"token punctuation\">{</span>\n <span class=\"token comment\">// ... 图的其他属性</span>\n defaultNode<span class=\"token punctuation\">:</span> <span class=\"token punctuation\">{</span>\n <span class=\"token comment\">// ... 节点其他属性</span>\n labelCfg<span class=\"token punctuation\">:</span> <span class=\"token punctuation\">{</span>\n style<span class=\"token punctuation\">:</span> <span class=\"token punctuation\">{</span>\n fill<span class=\"token punctuation\">:</span> <span class=\"token string\">'#9254de'</span><span class=\"token punctuation\">,</span>\n fontSize<span class=\"token punctuation\">:</span> <span class=\"token number\">18</span><span class=\"token punctuation\">,</span>\n <span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n position<span class=\"token punctuation\">:</span> <span class=\"token string\">'bottom'</span><span class=\"token punctuation\">,</span>\n <span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n <span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n<span class=\"token punctuation\">}</span><span class=\"token punctuation\">)</span><span class=\"token punctuation\">;</span>\n<span class=\"token comment\">// ...</span>\n</code></pre></div>","position":{"start":{"line":89,"column":1,"offset":2393},"end":{"line":107,"column":4,"offset":2657},"indent":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{"type":"heading","depth":3,"children":[{"type":"link","url":"#边的连入点-linkpoints","title":null,"children":[],"data":{"hProperties":{"aria-label":"边的连入点 linkpoints permalink","class":"anchor"},"hChildren":[{"type":"raw","value":"<svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg>"}]}},{"type":"text","value":"边的连入点 linkPoints","position":{"start":{"line":110,"column":5,"offset":2664},"end":{"line":110,"column":21,"offset":2680},"indent":[]}}],"position":{"start":{"line":110,"column":1,"offset":2660},"end":{"line":110,"column":21,"offset":2680},"indent":[]},"data":{"id":"边的连入点-linkpoints","htmlAttributes":{"id":"边的连入点-linkpoints"},"hProperties":{"id":"边的连入点-linkpoints"}}},{"type":"paragraph","children":[{"type":"text","value":"Object 类型。通过配置 ","position":{"start":{"line":111,"column":1,"offset":2681},"end":{"line":111,"column":16,"offset":2696},"indent":[]}},{"type":"html","value":"<code class=\"language-text\">linkPoints</code>","position":{"start":{"line":111,"column":16,"offset":2696},"end":{"line":111,"column":28,"offset":2708},"indent":[]}},{"type":"text","value":" ,可以指定菱形周围「上、下、左、右」四个方向上边的连入点。","position":{"start":{"line":111,"column":28,"offset":2708},"end":{"line":111,"column":58,"offset":2738},"indent":[]}}],"position":{"start":{"line":111,"column":1,"offset":2681},"end":{"line":111,"column":58,"offset":2738},"indent":[]}},{"type":"table","align":[null,null,null,null],"children":[{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"名称","position":{"start":{"line":113,"column":3,"offset":2742},"end":{"line":113,"column":5,"offset":2744},"indent":[]}}],"position":{"start":{"line":113,"column":3,"offset":2742},"end":{"line":113,"column":5,"offset":2744},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"含义","position":{"start":{"line":113,"column":8,"offset":2747},"end":{"line":113,"column":10,"offset":2749},"indent":[]}}],"position":{"start":{"line":113,"column":8,"offset":2747},"end":{"line":113,"column":10,"offset":2749},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"类型","position":{"start":{"line":113,"column":13,"offset":2752},"end":{"line":113,"column":15,"offset":2754},"indent":[]}}],"position":{"start":{"line":113,"column":13,"offset":2752},"end":{"line":113,"column":15,"offset":2754},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"备注","position":{"start":{"line":113,"column":18,"offset":2757},"end":{"line":113,"column":20,"offset":2759},"indent":[]}}],"position":{"start":{"line":113,"column":18,"offset":2757},"end":{"line":113,"column":20,"offset":2759},"indent":[]}}],"position":{"start":{"line":113,"column":1,"offset":2740},"end":{"line":113,"column":22,"offset":2761},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"top","position":{"start":{"line":115,"column":3,"offset":2790},"end":{"line":115,"column":6,"offset":2793},"indent":[]}}],"position":{"start":{"line":115,"column":3,"offset":2790},"end":{"line":115,"column":6,"offset":2793},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"是否显示上部的连接点","position":{"start":{"line":115,"column":9,"offset":2796},"end":{"line":115,"column":19,"offset":2806},"indent":[]}}],"position":{"start":{"line":115,"column":9,"offset":2796},"end":{"line":115,"column":19,"offset":2806},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"Boolean","position":{"start":{"line":115,"column":22,"offset":2809},"end":{"line":115,"column":29,"offset":2816},"indent":[]}}],"position":{"start":{"line":115,"column":22,"offset":2809},"end":{"line":115,"column":29,"offset":2816},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"默认为false","position":{"start":{"line":115,"column":32,"offset":2819},"end":{"line":115,"column":40,"offset":2827},"indent":[]}}],"position":{"start":{"line":115,"column":32,"offset":2819},"end":{"line":115,"column":40,"offset":2827},"indent":[]}}],"position":{"start":{"line":115,"column":1,"offset":2788},"end":{"line":115,"column":42,"offset":2829},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"bottom","position":{"start":{"line":116,"column":3,"offset":2832},"end":{"line":116,"column":9,"offset":2838},"indent":[]}}],"position":{"start":{"line":116,"column":3,"offset":2832},"end":{"line":116,"column":9,"offset":2838},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"是否显示底部的连接点","position":{"start":{"line":116,"column":12,"offset":2841},"end":{"line":116,"column":22,"offset":2851},"indent":[]}}],"position":{"start":{"line":116,"column":12,"offset":2841},"end":{"line":116,"column":22,"offset":2851},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"Boolean","position":{"start":{"line":116,"column":25,"offset":2854},"end":{"line":116,"column":32,"offset":2861},"indent":[]}}],"position":{"start":{"line":116,"column":25,"offset":2854},"end":{"line":116,"column":32,"offset":2861},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"默认为false","position":{"start":{"line":116,"column":35,"offset":2864},"end":{"line":116,"column":43,"offset":2872},"indent":[]}}],"position":{"start":{"line":116,"column":35,"offset":2864},"end":{"line":116,"column":43,"offset":2872},"indent":[]}}],"position":{"start":{"line":116,"column":1,"offset":2830},"end":{"line":116,"column":45,"offset":2874},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"left","position":{"start":{"line":117,"column":3,"offset":2877},"end":{"line":117,"column":7,"offset":2881},"indent":[]}}],"position":{"start":{"line":117,"column":3,"offset":2877},"end":{"line":117,"column":7,"offset":2881},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"是否显示左侧的连接点","position":{"start":{"line":117,"column":10,"offset":2884},"end":{"line":117,"column":20,"offset":2894},"indent":[]}}],"position":{"start":{"line":117,"column":10,"offset":2884},"end":{"line":117,"column":20,"offset":2894},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"Boolean","position":{"start":{"line":117,"column":23,"offset":2897},"end":{"line":117,"column":30,"offset":2904},"indent":[]}}],"position":{"start":{"line":117,"column":23,"offset":2897},"end":{"line":117,"column":30,"offset":2904},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"默认为false","position":{"start":{"line":117,"column":33,"offset":2907},"end":{"line":117,"column":41,"offset":2915},"indent":[]}}],"position":{"start":{"line":117,"column":33,"offset":2907},"end":{"line":117,"column":41,"offset":2915},"indent":[]}}],"position":{"start":{"line":117,"column":1,"offset":2875},"end":{"line":117,"column":43,"offset":2917},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"right","position":{"start":{"line":118,"column":3,"offset":2920},"end":{"line":118,"column":8,"offset":2925},"indent":[]}}],"position":{"start":{"line":118,"column":3,"offset":2920},"end":{"line":118,"column":8,"offset":2925},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"是否显示右侧的连接点","position":{"start":{"line":118,"column":11,"offset":2928},"end":{"line":118,"column":21,"offset":2938},"indent":[]}}],"position":{"start":{"line":118,"column":11,"offset":2928},"end":{"line":118,"column":21,"offset":2938},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"Boolean","position":{"start":{"line":118,"column":24,"offset":2941},"end":{"line":118,"column":31,"offset":2948},"indent":[]}}],"position":{"start":{"line":118,"column":24,"offset":2941},"end":{"line":118,"column":31,"offset":2948},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"默认为false","position":{"start":{"line":118,"column":34,"offset":2951},"end":{"line":118,"column":42,"offset":2959},"indent":[]}}],"position":{"start":{"line":118,"column":34,"offset":2951},"end":{"line":118,"column":42,"offset":2959},"indent":[]}}],"position":{"start":{"line":118,"column":1,"offset":2918},"end":{"line":118,"column":44,"offset":2961},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"size","position":{"start":{"line":119,"column":3,"offset":2964},"end":{"line":119,"column":7,"offset":2968},"indent":[]}}],"position":{"start":{"line":119,"column":3,"offset":2964},"end":{"line":119,"column":7,"offset":2968},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"连接点的大小","position":{"start":{"line":119,"column":10,"offset":2971},"end":{"line":119,"column":16,"offset":2977},"indent":[]}}],"position":{"start":{"line":119,"column":10,"offset":2971},"end":{"line":119,"column":16,"offset":2977},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"Number","position":{"start":{"line":119,"column":19,"offset":2980},"end":{"line":119,"column":25,"offset":2986},"indent":[]}}],"position":{"start":{"line":119,"column":19,"offset":2980},"end":{"line":119,"column":25,"offset":2986},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"默认为3","position":{"start":{"line":119,"column":28,"offset":2989},"end":{"line":119,"column":32,"offset":2993},"indent":[]}}],"position":{"start":{"line":119,"column":28,"offset":2989},"end":{"line":119,"column":32,"offset":2993},"indent":[]}}],"position":{"start":{"line":119,"column":1,"offset":2962},"end":{"line":119,"column":34,"offset":2995},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"fill","position":{"start":{"line":120,"column":3,"offset":2998},"end":{"line":120,"column":7,"offset":3002},"indent":[]}}],"position":{"start":{"line":120,"column":3,"offset":2998},"end":{"line":120,"column":7,"offset":3002},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"连接点的填充色","position":{"start":{"line":120,"column":10,"offset":3005},"end":{"line":120,"column":17,"offset":3012},"indent":[]}}],"position":{"start":{"line":120,"column":10,"offset":3005},"end":{"line":120,"column":17,"offset":3012},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"String","position":{"start":{"line":120,"column":20,"offset":3015},"end":{"line":120,"column":26,"offset":3021},"indent":[]}}],"position":{"start":{"line":120,"column":20,"offset":3015},"end":{"line":120,"column":26,"offset":3021},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"默认为#72CC4A","position":{"start":{"line":120,"column":29,"offset":3024},"end":{"line":120,"column":39,"offset":3034},"indent":[]}}],"position":{"start":{"line":120,"column":29,"offset":3024},"end":{"line":120,"column":39,"offset":3034},"indent":[]}}],"position":{"start":{"line":120,"column":1,"offset":2996},"end":{"line":120,"column":41,"offset":3036},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"stroke","position":{"start":{"line":121,"column":3,"offset":3039},"end":{"line":121,"column":9,"offset":3045},"indent":[]}}],"position":{"start":{"line":121,"column":3,"offset":3039},"end":{"line":121,"column":9,"offset":3045},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"连接点的边框颜色","position":{"start":{"line":121,"column":12,"offset":3048},"end":{"line":121,"column":20,"offset":3056},"indent":[]}}],"position":{"start":{"line":121,"column":12,"offset":3048},"end":{"line":121,"column":20,"offset":3056},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"String","position":{"start":{"line":121,"column":23,"offset":3059},"end":{"line":121,"column":29,"offset":3065},"indent":[]}}],"position":{"start":{"line":121,"column":23,"offset":3059},"end":{"line":121,"column":29,"offset":3065},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"默认为#72CC4A","position":{"start":{"line":121,"column":32,"offset":3068},"end":{"line":121,"column":42,"offset":3078},"indent":[]}}],"position":{"start":{"line":121,"column":32,"offset":3068},"end":{"line":121,"column":42,"offset":3078},"indent":[]}}],"position":{"start":{"line":121,"column":1,"offset":3037},"end":{"line":121,"column":44,"offset":3080},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"lineWidth","position":{"start":{"line":122,"column":3,"offset":3083},"end":{"line":122,"column":12,"offset":3092},"indent":[]}}],"position":{"start":{"line":122,"column":3,"offset":3083},"end":{"line":122,"column":12,"offset":3092},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"连接点边框的宽度","position":{"start":{"line":122,"column":15,"offset":3095},"end":{"line":122,"column":23,"offset":3103},"indent":[]}}],"position":{"start":{"line":122,"column":15,"offset":3095},"end":{"line":122,"column":23,"offset":3103},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"Number","position":{"start":{"line":122,"column":26,"offset":3106},"end":{"line":122,"column":32,"offset":3112},"indent":[]}}],"position":{"start":{"line":122,"column":26,"offset":3106},"end":{"line":122,"column":32,"offset":3112},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"默认为1","position":{"start":{"line":122,"column":35,"offset":3115},"end":{"line":122,"column":39,"offset":3119},"indent":[]}}],"position":{"start":{"line":122,"column":35,"offset":3115},"end":{"line":122,"column":39,"offset":3119},"indent":[]}}],"position":{"start":{"line":122,"column":1,"offset":3081},"end":{"line":122,"column":41,"offset":3121},"indent":[]}}],"position":{"start":{"line":113,"column":1,"offset":2740},"end":{"line":122,"column":41,"offset":3121},"indent":[1,1,1,1,1,1,1,1,1]}},{"type":"paragraph","children":[{"type":"text","value":"基于上面 ","position":{"start":{"line":125,"column":1,"offset":3124},"end":{"line":125,"column":6,"offset":3129},"indent":[]}},{"type":"link","title":null,"url":"#样式属性-style","children":[{"type":"text","value":"样式属性 style","position":{"start":{"line":125,"column":7,"offset":3130},"end":{"line":125,"column":17,"offset":3140},"indent":[]}}],"position":{"start":{"line":125,"column":6,"offset":3129},"end":{"line":125,"column":31,"offset":3154},"indent":[]}},{"type":"text","value":" 中的代码,下面代码在 ","position":{"start":{"line":125,"column":31,"offset":3154},"end":{"line":125,"column":43,"offset":3166},"indent":[]}},{"type":"html","value":"<code class=\"language-text\">defaultNode</code>","position":{"start":{"line":125,"column":43,"offset":3166},"end":{"line":125,"column":56,"offset":3179},"indent":[]}},{"type":"text","value":" 中增加了 ","position":{"start":{"line":125,"column":56,"offset":3179},"end":{"line":125,"column":62,"offset":3185},"indent":[]}},{"type":"html","value":"<code class=\"language-text\">linkPoints</code>","position":{"start":{"line":125,"column":62,"offset":3185},"end":{"line":125,"column":74,"offset":3197},"indent":[]}},{"type":"text","value":" 配置项进行连入点的配置,使之达到如下图效果。","position":{"start":{"line":125,"column":74,"offset":3197},"end":{"line":125,"column":97,"offset":3220},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":125,"column":97,"offset":3220},"end":{"line":125,"column":103,"offset":3226},"indent":[]}},{"type":"image","title":null,"url":"https://cdn.nlark.com/yuque/0/2019/png/156681/1570870705487-385fb9a5-6e87-4021-92e6-f06c3a2ce408.png#align=left&display=inline&height=84&name=image.png&originHeight=168&originWidth=210&search=&size=29904&status=done&width=105","alt":"image.png","position":{"start":{"line":125,"column":103,"offset":3226},"end":{"line":125,"column":342,"offset":3465},"indent":[]}}],"position":{"start":{"line":125,"column":1,"offset":3124},"end":{"line":125,"column":342,"offset":3465},"indent":[]}},{"type":"html","lang":"javascript","meta":null,"value":"<div class=\"gatsby-highlight\" data-language=\"javascript\"><pre class=\"language-javascript\"><code class=\"language-javascript\"><span class=\"token keyword\">const</span> data <span class=\"token operator\">=</span> <span class=\"token punctuation\">{</span>\n <span class=\"token comment\">// ... data 内容</span>\n<span class=\"token punctuation\">}</span><span class=\"token punctuation\">;</span>\n<span class=\"token keyword\">const</span> graph <span class=\"token operator\">=</span> <span class=\"token keyword\">new</span> <span class=\"token class-name\">G6<span class=\"token punctuation\">.</span>Graph</span><span class=\"token punctuation\">(</span><span class=\"token punctuation\">{</span>\n <span class=\"token comment\">// ... 图的其他属性</span>\n defaultNode<span class=\"token punctuation\">:</span> <span class=\"token punctuation\">{</span>\n <span class=\"token comment\">// ... 节点其他属性</span>\n linkPoints<span class=\"token punctuation\">:</span> <span class=\"token punctuation\">{</span>\n top<span class=\"token punctuation\">:</span> <span class=\"token boolean\">true</span><span class=\"token punctuation\">,</span>\n bottom<span class=\"token punctuation\">:</span> <span class=\"token boolean\">true</span><span class=\"token punctuation\">,</span>\n left<span class=\"token punctuation\">:</span> <span class=\"token boolean\">true</span><span class=\"token punctuation\">,</span>\n right<span class=\"token punctuation\">:</span> <span class=\"token boolean\">true</span><span class=\"token punctuation\">,</span>\n size<span class=\"token punctuation\">:</span> <span class=\"token number\">5</span><span class=\"token punctuation\">,</span>\n fill<span class=\"token punctuation\">:</span> <span class=\"token string\">'#fff'</span><span class=\"token punctuation\">,</span>\n <span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n <span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n<span class=\"token punctuation\">}</span><span class=\"token punctuation\">)</span><span class=\"token punctuation\">;</span>\n<span class=\"token comment\">// ...</span>\n</code></pre></div>","position":{"start":{"line":126,"column":1,"offset":3466},"end":{"line":145,"column":4,"offset":3745},"indent":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{"type":"heading","depth":3,"children":[{"type":"link","url":"#图标-icon","title":null,"children":[],"data":{"hProperties":{"aria-label":"图标 icon permalink","class":"anchor"},"hChildren":[{"type":"raw","value":"<svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg>"}]}},{"type":"text","value":"图标 icon","position":{"start":{"line":148,"column":5,"offset":3752},"end":{"line":148,"column":12,"offset":3759},"indent":[]}}],"position":{"start":{"line":148,"column":1,"offset":3748},"end":{"line":148,"column":12,"offset":3759},"indent":[]},"data":{"id":"图标-icon","htmlAttributes":{"id":"图标-icon"},"hProperties":{"id":"图标-icon"}}},{"type":"paragraph","children":[{"type":"text","value":"Object 类型。通过配置 ","position":{"start":{"line":149,"column":1,"offset":3760},"end":{"line":149,"column":16,"offset":3775},"indent":[]}},{"type":"html","value":"<code class=\"language-text\">icon</code>","position":{"start":{"line":149,"column":16,"offset":3775},"end":{"line":149,"column":22,"offset":3781},"indent":[]}},{"type":"text","value":",可以在圆上显示小图标。","position":{"start":{"line":149,"column":22,"offset":3781},"end":{"line":149,"column":34,"offset":3793},"indent":[]}}],"position":{"start":{"line":149,"column":1,"offset":3760},"end":{"line":149,"column":34,"offset":3793},"indent":[]}},{"type":"table","align":[null,null,null,null],"children":[{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"名称","position":{"start":{"line":151,"column":3,"offset":3797},"end":{"line":151,"column":5,"offset":3799},"indent":[]}}],"position":{"start":{"line":151,"column":3,"offset":3797},"end":{"line":151,"column":5,"offset":3799},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"含义","position":{"start":{"line":151,"column":8,"offset":3802},"end":{"line":151,"column":10,"offset":3804},"indent":[]}}],"position":{"start":{"line":151,"column":8,"offset":3802},"end":{"line":151,"column":10,"offset":3804},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"类型","position":{"start":{"line":151,"column":13,"offset":3807},"end":{"line":151,"column":15,"offset":3809},"indent":[]}}],"position":{"start":{"line":151,"column":13,"offset":3807},"end":{"line":151,"column":15,"offset":3809},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"备注","position":{"start":{"line":151,"column":18,"offset":3812},"end":{"line":151,"column":20,"offset":3814},"indent":[]}}],"position":{"start":{"line":151,"column":18,"offset":3812},"end":{"line":151,"column":20,"offset":3814},"indent":[]}}],"position":{"start":{"line":151,"column":1,"offset":3795},"end":{"line":151,"column":22,"offset":3816},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"show","position":{"start":{"line":153,"column":3,"offset":3845},"end":{"line":153,"column":7,"offset":3849},"indent":[]}}],"position":{"start":{"line":153,"column":3,"offset":3845},"end":{"line":153,"column":7,"offset":3849},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"是否显示icon","position":{"start":{"line":153,"column":10,"offset":3852},"end":{"line":153,"column":18,"offset":3860},"indent":[]}}],"position":{"start":{"line":153,"column":10,"offset":3852},"end":{"line":153,"column":18,"offset":3860},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"Boolean","position":{"start":{"line":153,"column":21,"offset":3863},"end":{"line":153,"column":28,"offset":3870},"indent":[]}}],"position":{"start":{"line":153,"column":21,"offset":3863},"end":{"line":153,"column":28,"offset":3870},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"默认为false,不显示","position":{"start":{"line":153,"column":31,"offset":3873},"end":{"line":153,"column":43,"offset":3885},"indent":[]}}],"position":{"start":{"line":153,"column":31,"offset":3873},"end":{"line":153,"column":43,"offset":3885},"indent":[]}}],"position":{"start":{"line":153,"column":1,"offset":3843},"end":{"line":153,"column":45,"offset":3887},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"width","position":{"start":{"line":154,"column":3,"offset":3890},"end":{"line":154,"column":8,"offset":3895},"indent":[]}}],"position":{"start":{"line":154,"column":3,"offset":3890},"end":{"line":154,"column":8,"offset":3895},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"icon的宽度","position":{"start":{"line":154,"column":11,"offset":3898},"end":{"line":154,"column":18,"offset":3905},"indent":[]}}],"position":{"start":{"line":154,"column":11,"offset":3898},"end":{"line":154,"column":18,"offset":3905},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"Number","position":{"start":{"line":154,"column":21,"offset":3908},"end":{"line":154,"column":27,"offset":3914},"indent":[]}}],"position":{"start":{"line":154,"column":21,"offset":3908},"end":{"line":154,"column":27,"offset":3914},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"默认为16","position":{"start":{"line":154,"column":30,"offset":3917},"end":{"line":154,"column":35,"offset":3922},"indent":[]}}],"position":{"start":{"line":154,"column":30,"offset":3917},"end":{"line":154,"column":35,"offset":3922},"indent":[]}}],"position":{"start":{"line":154,"column":1,"offset":3888},"end":{"line":154,"column":37,"offset":3924},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"height","position":{"start":{"line":155,"column":3,"offset":3927},"end":{"line":155,"column":9,"offset":3933},"indent":[]}}],"position":{"start":{"line":155,"column":3,"offset":3927},"end":{"line":155,"column":9,"offset":3933},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"icon的高度","position":{"start":{"line":155,"column":12,"offset":3936},"end":{"line":155,"column":19,"offset":3943},"indent":[]}}],"position":{"start":{"line":155,"column":12,"offset":3936},"end":{"line":155,"column":19,"offset":3943},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"Number","position":{"start":{"line":155,"column":22,"offset":3946},"end":{"line":155,"column":28,"offset":3952},"indent":[]}}],"position":{"start":{"line":155,"column":22,"offset":3946},"end":{"line":155,"column":28,"offset":3952},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"默认为16","position":{"start":{"line":155,"column":31,"offset":3955},"end":{"line":155,"column":36,"offset":3960},"indent":[]}}],"position":{"start":{"line":155,"column":31,"offset":3955},"end":{"line":155,"column":36,"offset":3960},"indent":[]}}],"position":{"start":{"line":155,"column":1,"offset":3925},"end":{"line":155,"column":38,"offset":3962},"indent":[]}},{"type":"tableRow","children":[{"type":"tableCell","children":[{"type":"text","value":"img","position":{"start":{"line":156,"column":3,"offset":3965},"end":{"line":156,"column":6,"offset":3968},"indent":[]}}],"position":{"start":{"line":156,"column":3,"offset":3965},"end":{"line":156,"column":6,"offset":3968},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"icon的地址","position":{"start":{"line":156,"column":9,"offset":3971},"end":{"line":156,"column":16,"offset":3978},"indent":[]}}],"position":{"start":{"line":156,"column":9,"offset":3971},"end":{"line":156,"column":16,"offset":3978},"indent":[]}},{"type":"tableCell","children":[{"type":"text","value":"String","position":{"start":{"line":156,"column":19,"offset":3981},"end":{"line":156,"column":25,"offset":3987},"indent":[]}}],"position":{"start":{"line":156,"column":19,"offset":3981},"end":{"line":156,"column":25,"offset":3987},"indent":[]}},{"type":"tableCell","children":[],"position":{"start":{"line":156,"column":29,"offset":3991},"end":{"line":156,"column":29,"offset":3991},"indent":[]}}],"position":{"start":{"line":156,"column":1,"offset":3963},"end":{"line":156,"column":30,"offset":3992},"indent":[]}}],"position":{"start":{"line":151,"column":1,"offset":3795},"end":{"line":156,"column":30,"offset":3992},"indent":[1,1,1,1,1]}},{"type":"paragraph","children":[{"type":"text","value":"下面代码演示在实例化图时全局配置方法中配置 ","position":{"start":{"line":159,"column":1,"offset":3995},"end":{"line":159,"column":23,"offset":4017},"indent":[]}},{"type":"html","value":"<code class=\"language-text\">icon</code>","position":{"start":{"line":159,"column":23,"offset":4017},"end":{"line":159,"column":29,"offset":4023},"indent":[]}},{"type":"text","value":"。","position":{"start":{"line":159,"column":29,"offset":4023},"end":{"line":159,"column":30,"offset":4024},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":159,"column":30,"offset":4024},"end":{"line":159,"column":36,"offset":4030},"indent":[]}},{"type":"image","title":null,"url":"https://cdn.nlark.com/yuque/0/2019/png/156681/1570870739280-4645a3ff-3aeb-4b42-bccf-937116d5645f.png#align=left&display=inline&height=82&name=image.png&originHeight=164&originWidth=212&search=&size=35106&status=done&width=106","alt":"image.png","position":{"start":{"line":159,"column":36,"offset":4030},"end":{"line":159,"column":275,"offset":4269},"indent":[]}}],"position":{"start":{"line":159,"column":1,"offset":3995},"end":{"line":159,"column":275,"offset":4269},"indent":[]}},{"type":"html","lang":"javascript","meta":null,"value":"<div class=\"gatsby-highlight\" data-language=\"javascript\"><pre class=\"language-javascript\"><code class=\"language-javascript\"><span class=\"token keyword\">const</span> data <span class=\"token operator\">=</span> <span class=\"token punctuation\">{</span>\n <span class=\"token comment\">// ... data 内容</span>\n<span class=\"token punctuation\">}</span><span class=\"token punctuation\">;</span>\n<span class=\"token keyword\">const</span> graph <span class=\"token operator\">=</span> <span class=\"token keyword\">new</span> <span class=\"token class-name\">G6<span class=\"token punctuation\">.</span>Graph</span><span class=\"token punctuation\">(</span><span class=\"token punctuation\">{</span>\n <span class=\"token comment\">// ... 图的其他属性</span>\n defaultNode<span class=\"token punctuation\">:</span> <span class=\"token punctuation\">{</span>\n <span class=\"token comment\">// ... 节点其他属性</span>\n icon<span class=\"token punctuation\">:</span> <span class=\"token punctuation\">{</span>\n show<span class=\"token punctuation\">:</span> <span class=\"token boolean\">true</span><span class=\"token punctuation\">,</span>\n width<span class=\"token punctuation\">:</span> <span class=\"token number\">25</span><span class=\"token punctuation\">,</span>\n height<span class=\"token punctuation\">:</span> <span class=\"token number\">25</span><span class=\"token punctuation\">,</span>\n <span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n <span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n<span class=\"token punctuation\">}</span><span class=\"token punctuation\">)</span><span class=\"token punctuation\">;</span>\n<span class=\"token comment\">// ...</span>\n</code></pre></div>","position":{"start":{"line":160,"column":1,"offset":4270},"end":{"line":176,"column":4,"offset":4487},"indent":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}}],"position":{"start":{"line":1,"column":1,"offset":0},"end":{"line":177,"column":1,"offset":4488}}}}