UNPKG

@antv/g6

Version:

graph visualization frame work

1 lines 37.3 kB
{"expireTime":9007200828528711000,"key":"transformer-remark-markdown-ast-32324dbbe0ca7a21478bc5ada1bb660c-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":"#center","title":null,"children":[],"data":{"hProperties":{"aria-label":"center 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":"center","position":{"start":{"line":1,"column":4,"offset":3},"end":{"line":1,"column":10,"offset":9},"indent":[]}}],"position":{"start":{"line":1,"column":1,"offset":0},"end":{"line":1,"column":10,"offset":9},"indent":[]},"data":{"id":"center","htmlAttributes":{"id":"center"},"hProperties":{"id":"center"}}},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"类型","position":{"start":{"line":2,"column":3,"offset":12},"end":{"line":2,"column":5,"offset":14},"indent":[]}}],"position":{"start":{"line":2,"column":1,"offset":10},"end":{"line":2,"column":7,"offset":16},"indent":[]}},{"type":"text","value":": Array","position":{"start":{"line":2,"column":7,"offset":16},"end":{"line":2,"column":14,"offset":23},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":2,"column":14,"offset":23},"end":{"line":2,"column":20,"offset":29},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"示例","position":{"start":{"line":2,"column":22,"offset":31},"end":{"line":2,"column":24,"offset":33},"indent":[]}}],"position":{"start":{"line":2,"column":20,"offset":29},"end":{"line":2,"column":26,"offset":35},"indent":[]}},{"type":"text","value":":","position":{"start":{"line":2,"column":26,"offset":35},"end":{"line":2,"column":27,"offset":36},"indent":[]}},{"type":"linkReference","identifier":" 0, 0 ","label":" 0, 0 ","referenceType":"shortcut","children":[{"type":"text","value":" 0, 0 ","position":{"start":{"line":2,"column":28,"offset":37},"end":{"line":2,"column":34,"offset":43},"indent":[]}}],"position":{"start":{"line":2,"column":27,"offset":36},"end":{"line":2,"column":35,"offset":44},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":2,"column":35,"offset":44},"end":{"line":2,"column":41,"offset":50},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"默认值","position":{"start":{"line":2,"column":43,"offset":52},"end":{"line":2,"column":46,"offset":55},"indent":[]}}],"position":{"start":{"line":2,"column":41,"offset":50},"end":{"line":2,"column":48,"offset":57},"indent":[]}},{"type":"text","value":":图的中心","position":{"start":{"line":2,"column":48,"offset":57},"end":{"line":2,"column":53,"offset":62},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":2,"column":53,"offset":62},"end":{"line":2,"column":59,"offset":68},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"是否必须","position":{"start":{"line":2,"column":61,"offset":70},"end":{"line":2,"column":65,"offset":74},"indent":[]}}],"position":{"start":{"line":2,"column":59,"offset":68},"end":{"line":2,"column":67,"offset":76},"indent":[]}},{"type":"text","value":":false","position":{"start":{"line":2,"column":67,"offset":76},"end":{"line":2,"column":73,"offset":82},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":2,"column":73,"offset":82},"end":{"line":2,"column":79,"offset":88},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"说明","position":{"start":{"line":2,"column":81,"offset":90},"end":{"line":2,"column":83,"offset":92},"indent":[]}}],"position":{"start":{"line":2,"column":79,"offset":88},"end":{"line":2,"column":85,"offset":94},"indent":[]}},{"type":"text","value":":布局的中心","position":{"start":{"line":2,"column":85,"offset":94},"end":{"line":2,"column":91,"offset":100},"indent":[]}}],"position":{"start":{"line":2,"column":1,"offset":10},"end":{"line":2,"column":91,"offset":100},"indent":[]}},{"type":"heading","depth":2,"children":[{"type":"link","url":"#preventoverlap","title":null,"children":[],"data":{"hProperties":{"aria-label":"preventoverlap 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":"preventOverlap","position":{"start":{"line":4,"column":4,"offset":105},"end":{"line":4,"column":18,"offset":119},"indent":[]}}],"position":{"start":{"line":4,"column":1,"offset":102},"end":{"line":4,"column":18,"offset":119},"indent":[]},"data":{"id":"preventoverlap","htmlAttributes":{"id":"preventoverlap"},"hProperties":{"id":"preventoverlap"}}},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"类型","position":{"start":{"line":5,"column":3,"offset":122},"end":{"line":5,"column":5,"offset":124},"indent":[]}}],"position":{"start":{"line":5,"column":1,"offset":120},"end":{"line":5,"column":7,"offset":126},"indent":[]}},{"type":"text","value":":Boolean","position":{"start":{"line":5,"column":7,"offset":126},"end":{"line":5,"column":15,"offset":134},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":5,"column":15,"offset":134},"end":{"line":5,"column":21,"offset":140},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"默认值","position":{"start":{"line":5,"column":23,"offset":142},"end":{"line":5,"column":26,"offset":145},"indent":[]}}],"position":{"start":{"line":5,"column":21,"offset":140},"end":{"line":5,"column":28,"offset":147},"indent":[]}},{"type":"text","value":":false","position":{"start":{"line":5,"column":28,"offset":147},"end":{"line":5,"column":34,"offset":153},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":5,"column":34,"offset":153},"end":{"line":5,"column":40,"offset":159},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"是否必须","position":{"start":{"line":5,"column":42,"offset":161},"end":{"line":5,"column":46,"offset":165},"indent":[]}}],"position":{"start":{"line":5,"column":40,"offset":159},"end":{"line":5,"column":48,"offset":167},"indent":[]}},{"type":"text","value":":false","position":{"start":{"line":5,"column":48,"offset":167},"end":{"line":5,"column":54,"offset":173},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":5,"column":54,"offset":173},"end":{"line":5,"column":60,"offset":179},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"说明","position":{"start":{"line":5,"column":62,"offset":181},"end":{"line":5,"column":64,"offset":183},"indent":[]}}],"position":{"start":{"line":5,"column":60,"offset":179},"end":{"line":5,"column":66,"offset":185},"indent":[]}},{"type":"text","value":":是否防止重叠,必须配合下面属性 ","position":{"start":{"line":5,"column":66,"offset":185},"end":{"line":5,"column":83,"offset":202},"indent":[]}},{"type":"link","title":null,"url":"https://www.yuque.com/antv/g6/ngp0vg#xWjHN","children":[{"type":"html","value":"<code class=\"language-text\">nodeSize</code>","position":{"start":{"line":5,"column":84,"offset":203},"end":{"line":5,"column":94,"offset":213},"indent":[]}}],"position":{"start":{"line":5,"column":83,"offset":202},"end":{"line":5,"column":139,"offset":258},"indent":[]},"data":{"hProperties":{"target":"_self","rel":"nofollow"}}},{"type":"text","value":" ,只有设置了与当前图节点大小相同的 ","position":{"start":{"line":5,"column":139,"offset":258},"end":{"line":5,"column":158,"offset":277},"indent":[]}},{"type":"html","value":"<code class=\"language-text\">nodeSize</code>","position":{"start":{"line":5,"column":158,"offset":277},"end":{"line":5,"column":168,"offset":287},"indent":[]}},{"type":"text","value":" 值,才能够进行节点重叠的碰撞检测","position":{"start":{"line":5,"column":168,"offset":287},"end":{"line":5,"column":185,"offset":304},"indent":[]}}],"position":{"start":{"line":5,"column":1,"offset":120},"end":{"line":5,"column":185,"offset":304},"indent":[]}},{"type":"heading","depth":2,"children":[{"type":"link","url":"#nodesize","title":null,"children":[],"data":{"hProperties":{"aria-label":"nodesize 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":"nodeSize","position":{"start":{"line":7,"column":4,"offset":309},"end":{"line":7,"column":12,"offset":317},"indent":[]}}],"position":{"start":{"line":7,"column":1,"offset":306},"end":{"line":7,"column":12,"offset":317},"indent":[]},"data":{"id":"nodesize","htmlAttributes":{"id":"nodesize"},"hProperties":{"id":"nodesize"}}},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"类型","position":{"start":{"line":8,"column":3,"offset":320},"end":{"line":8,"column":5,"offset":322},"indent":[]}}],"position":{"start":{"line":8,"column":1,"offset":318},"end":{"line":8,"column":7,"offset":324},"indent":[]}},{"type":"text","value":": Number","position":{"start":{"line":8,"column":7,"offset":324},"end":{"line":8,"column":15,"offset":332},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":8,"column":15,"offset":332},"end":{"line":8,"column":21,"offset":338},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"默认值","position":{"start":{"line":8,"column":23,"offset":340},"end":{"line":8,"column":26,"offset":343},"indent":[]}}],"position":{"start":{"line":8,"column":21,"offset":338},"end":{"line":8,"column":28,"offset":345},"indent":[]}},{"type":"text","value":":30","position":{"start":{"line":8,"column":28,"offset":345},"end":{"line":8,"column":31,"offset":348},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":8,"column":31,"offset":348},"end":{"line":8,"column":37,"offset":354},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"是否必须","position":{"start":{"line":8,"column":39,"offset":356},"end":{"line":8,"column":43,"offset":360},"indent":[]}}],"position":{"start":{"line":8,"column":37,"offset":354},"end":{"line":8,"column":45,"offset":362},"indent":[]}},{"type":"text","value":":false","position":{"start":{"line":8,"column":45,"offset":362},"end":{"line":8,"column":51,"offset":368},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":8,"column":51,"offset":368},"end":{"line":8,"column":57,"offset":374},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"说明","position":{"start":{"line":8,"column":59,"offset":376},"end":{"line":8,"column":61,"offset":378},"indent":[]}}],"position":{"start":{"line":8,"column":57,"offset":374},"end":{"line":8,"column":63,"offset":380},"indent":[]}},{"type":"text","value":":节点大小(直径)。用于防止节点重叠时的碰撞检测","position":{"start":{"line":8,"column":63,"offset":380},"end":{"line":8,"column":87,"offset":404},"indent":[]}}],"position":{"start":{"line":8,"column":1,"offset":318},"end":{"line":8,"column":87,"offset":404},"indent":[]}},{"type":"heading","depth":2,"children":[{"type":"link","url":"#minnodespacing","title":null,"children":[],"data":{"hProperties":{"aria-label":"minnodespacing 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":"minNodeSpacing","position":{"start":{"line":10,"column":4,"offset":409},"end":{"line":10,"column":18,"offset":423},"indent":[]}}],"position":{"start":{"line":10,"column":1,"offset":406},"end":{"line":10,"column":18,"offset":423},"indent":[]},"data":{"id":"minnodespacing","htmlAttributes":{"id":"minnodespacing"},"hProperties":{"id":"minnodespacing"}}},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"类型","position":{"start":{"line":11,"column":3,"offset":426},"end":{"line":11,"column":5,"offset":428},"indent":[]}}],"position":{"start":{"line":11,"column":1,"offset":424},"end":{"line":11,"column":7,"offset":430},"indent":[]}},{"type":"text","value":": Number","position":{"start":{"line":11,"column":7,"offset":430},"end":{"line":11,"column":15,"offset":438},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":11,"column":15,"offset":438},"end":{"line":11,"column":21,"offset":444},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"默认值","position":{"start":{"line":11,"column":23,"offset":446},"end":{"line":11,"column":26,"offset":449},"indent":[]}}],"position":{"start":{"line":11,"column":21,"offset":444},"end":{"line":11,"column":28,"offset":451},"indent":[]}},{"type":"text","value":":10","position":{"start":{"line":11,"column":28,"offset":451},"end":{"line":11,"column":31,"offset":454},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":11,"column":31,"offset":454},"end":{"line":11,"column":37,"offset":460},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"是否必须","position":{"start":{"line":11,"column":39,"offset":462},"end":{"line":11,"column":43,"offset":466},"indent":[]}}],"position":{"start":{"line":11,"column":37,"offset":460},"end":{"line":11,"column":45,"offset":468},"indent":[]}},{"type":"text","value":":false","position":{"start":{"line":11,"column":45,"offset":468},"end":{"line":11,"column":51,"offset":474},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":11,"column":51,"offset":474},"end":{"line":11,"column":57,"offset":480},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"说明","position":{"start":{"line":11,"column":59,"offset":482},"end":{"line":11,"column":61,"offset":484},"indent":[]}}],"position":{"start":{"line":11,"column":57,"offset":480},"end":{"line":11,"column":63,"offset":486},"indent":[]}},{"type":"text","value":":环与环之间最小间距,用于调整半径","position":{"start":{"line":11,"column":63,"offset":486},"end":{"line":11,"column":80,"offset":503},"indent":[]}}],"position":{"start":{"line":11,"column":1,"offset":424},"end":{"line":11,"column":80,"offset":503},"indent":[]}},{"type":"heading","depth":2,"children":[{"type":"link","url":"#sweep","title":null,"children":[],"data":{"hProperties":{"aria-label":"sweep 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":"sweep","position":{"start":{"line":13,"column":4,"offset":508},"end":{"line":13,"column":9,"offset":513},"indent":[]}}],"position":{"start":{"line":13,"column":1,"offset":505},"end":{"line":13,"column":9,"offset":513},"indent":[]},"data":{"id":"sweep","htmlAttributes":{"id":"sweep"},"hProperties":{"id":"sweep"}}},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"类型","position":{"start":{"line":14,"column":3,"offset":516},"end":{"line":14,"column":5,"offset":518},"indent":[]}}],"position":{"start":{"line":14,"column":1,"offset":514},"end":{"line":14,"column":7,"offset":520},"indent":[]}},{"type":"text","value":": Number","position":{"start":{"line":14,"column":7,"offset":520},"end":{"line":14,"column":15,"offset":528},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":14,"column":15,"offset":528},"end":{"line":14,"column":21,"offset":534},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"默认值","position":{"start":{"line":14,"column":23,"offset":536},"end":{"line":14,"column":26,"offset":539},"indent":[]}}],"position":{"start":{"line":14,"column":21,"offset":534},"end":{"line":14,"column":28,"offset":541},"indent":[]}},{"type":"text","value":":undefined","position":{"start":{"line":14,"column":28,"offset":541},"end":{"line":14,"column":38,"offset":551},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":14,"column":38,"offset":551},"end":{"line":14,"column":44,"offset":557},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"是否必须","position":{"start":{"line":14,"column":46,"offset":559},"end":{"line":14,"column":50,"offset":563},"indent":[]}}],"position":{"start":{"line":14,"column":44,"offset":557},"end":{"line":14,"column":52,"offset":565},"indent":[]}},{"type":"text","value":":false","position":{"start":{"line":14,"column":52,"offset":565},"end":{"line":14,"column":58,"offset":571},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":14,"column":58,"offset":571},"end":{"line":14,"column":64,"offset":577},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"说明","position":{"start":{"line":14,"column":66,"offset":579},"end":{"line":14,"column":68,"offset":581},"indent":[]}}],"position":{"start":{"line":14,"column":64,"offset":577},"end":{"line":14,"column":70,"offset":583},"indent":[]}},{"type":"text","value":":第一个节点与最后一个节点之间的弧度差。若为 undefined ,则将会被设置为 2 * Math.PI * (1 - 1 / |level.nodes|) ,其中 level.nodes 为该算法计算出的每一层的节点,|level.nodes| 代表该层节点数量","position":{"start":{"line":14,"column":70,"offset":583},"end":{"line":14,"column":203,"offset":716},"indent":[]}}],"position":{"start":{"line":14,"column":1,"offset":514},"end":{"line":14,"column":203,"offset":716},"indent":[]}},{"type":"heading","depth":2,"children":[{"type":"link","url":"#equidistant","title":null,"children":[],"data":{"hProperties":{"aria-label":"equidistant 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":"equidistant","position":{"start":{"line":16,"column":4,"offset":721},"end":{"line":16,"column":15,"offset":732},"indent":[]}}],"position":{"start":{"line":16,"column":1,"offset":718},"end":{"line":16,"column":15,"offset":732},"indent":[]},"data":{"id":"equidistant","htmlAttributes":{"id":"equidistant"},"hProperties":{"id":"equidistant"}}},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"类型","position":{"start":{"line":17,"column":3,"offset":735},"end":{"line":17,"column":5,"offset":737},"indent":[]}}],"position":{"start":{"line":17,"column":1,"offset":733},"end":{"line":17,"column":7,"offset":739},"indent":[]}},{"type":"text","value":": Boolean","position":{"start":{"line":17,"column":7,"offset":739},"end":{"line":17,"column":16,"offset":748},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":17,"column":16,"offset":748},"end":{"line":17,"column":22,"offset":754},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"默认值","position":{"start":{"line":17,"column":24,"offset":756},"end":{"line":17,"column":27,"offset":759},"indent":[]}}],"position":{"start":{"line":17,"column":22,"offset":754},"end":{"line":17,"column":29,"offset":761},"indent":[]}},{"type":"text","value":":false","position":{"start":{"line":17,"column":29,"offset":761},"end":{"line":17,"column":35,"offset":767},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":17,"column":35,"offset":767},"end":{"line":17,"column":41,"offset":773},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"是否必须","position":{"start":{"line":17,"column":43,"offset":775},"end":{"line":17,"column":47,"offset":779},"indent":[]}}],"position":{"start":{"line":17,"column":41,"offset":773},"end":{"line":17,"column":49,"offset":781},"indent":[]}},{"type":"text","value":":false","position":{"start":{"line":17,"column":49,"offset":781},"end":{"line":17,"column":55,"offset":787},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":17,"column":55,"offset":787},"end":{"line":17,"column":61,"offset":793},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"说明","position":{"start":{"line":17,"column":63,"offset":795},"end":{"line":17,"column":65,"offset":797},"indent":[]}}],"position":{"start":{"line":17,"column":61,"offset":793},"end":{"line":17,"column":67,"offset":799},"indent":[]}},{"type":"text","value":":环与环之间的距离是否相等","position":{"start":{"line":17,"column":67,"offset":799},"end":{"line":17,"column":80,"offset":812},"indent":[]}}],"position":{"start":{"line":17,"column":1,"offset":733},"end":{"line":17,"column":80,"offset":812},"indent":[]}},{"type":"heading","depth":2,"children":[{"type":"link","url":"#startangle","title":null,"children":[],"data":{"hProperties":{"aria-label":"startangle 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":"startAngle","position":{"start":{"line":19,"column":4,"offset":817},"end":{"line":19,"column":14,"offset":827},"indent":[]}}],"position":{"start":{"line":19,"column":1,"offset":814},"end":{"line":19,"column":14,"offset":827},"indent":[]},"data":{"id":"startangle","htmlAttributes":{"id":"startangle"},"hProperties":{"id":"startangle"}}},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"类型","position":{"start":{"line":20,"column":3,"offset":830},"end":{"line":20,"column":5,"offset":832},"indent":[]}}],"position":{"start":{"line":20,"column":1,"offset":828},"end":{"line":20,"column":7,"offset":834},"indent":[]}},{"type":"text","value":": Number","position":{"start":{"line":20,"column":7,"offset":834},"end":{"line":20,"column":15,"offset":842},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":20,"column":15,"offset":842},"end":{"line":20,"column":21,"offset":848},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"默认值","position":{"start":{"line":20,"column":23,"offset":850},"end":{"line":20,"column":26,"offset":853},"indent":[]}}],"position":{"start":{"line":20,"column":21,"offset":848},"end":{"line":20,"column":28,"offset":855},"indent":[]}},{"type":"text","value":":3 / 2 * Math.PI","position":{"start":{"line":20,"column":28,"offset":855},"end":{"line":20,"column":44,"offset":871},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":20,"column":44,"offset":871},"end":{"line":20,"column":50,"offset":877},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"是否必须","position":{"start":{"line":20,"column":52,"offset":879},"end":{"line":20,"column":56,"offset":883},"indent":[]}}],"position":{"start":{"line":20,"column":50,"offset":877},"end":{"line":20,"column":58,"offset":885},"indent":[]}},{"type":"text","value":":false","position":{"start":{"line":20,"column":58,"offset":885},"end":{"line":20,"column":64,"offset":891},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":20,"column":64,"offset":891},"end":{"line":20,"column":70,"offset":897},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"说明","position":{"start":{"line":20,"column":72,"offset":899},"end":{"line":20,"column":74,"offset":901},"indent":[]}}],"position":{"start":{"line":20,"column":70,"offset":897},"end":{"line":20,"column":76,"offset":903},"indent":[]}},{"type":"text","value":":开始方式节点的弧度","position":{"start":{"line":20,"column":76,"offset":903},"end":{"line":20,"column":86,"offset":913},"indent":[]}}],"position":{"start":{"line":20,"column":1,"offset":828},"end":{"line":20,"column":86,"offset":913},"indent":[]}},{"type":"heading","depth":2,"children":[{"type":"link","url":"#clockwise","title":null,"children":[],"data":{"hProperties":{"aria-label":"clockwise 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":"clockwise","position":{"start":{"line":22,"column":4,"offset":918},"end":{"line":22,"column":13,"offset":927},"indent":[]}}],"position":{"start":{"line":22,"column":1,"offset":915},"end":{"line":22,"column":13,"offset":927},"indent":[]},"data":{"id":"clockwise","htmlAttributes":{"id":"clockwise"},"hProperties":{"id":"clockwise"}}},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"类型","position":{"start":{"line":23,"column":3,"offset":930},"end":{"line":23,"column":5,"offset":932},"indent":[]}}],"position":{"start":{"line":23,"column":1,"offset":928},"end":{"line":23,"column":7,"offset":934},"indent":[]}},{"type":"text","value":": Boolean","position":{"start":{"line":23,"column":7,"offset":934},"end":{"line":23,"column":16,"offset":943},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":23,"column":16,"offset":943},"end":{"line":23,"column":22,"offset":949},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"默认值","position":{"start":{"line":23,"column":24,"offset":951},"end":{"line":23,"column":27,"offset":954},"indent":[]}}],"position":{"start":{"line":23,"column":22,"offset":949},"end":{"line":23,"column":29,"offset":956},"indent":[]}},{"type":"text","value":":false","position":{"start":{"line":23,"column":29,"offset":956},"end":{"line":23,"column":35,"offset":962},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":23,"column":35,"offset":962},"end":{"line":23,"column":41,"offset":968},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"是否必须","position":{"start":{"line":23,"column":43,"offset":970},"end":{"line":23,"column":47,"offset":974},"indent":[]}}],"position":{"start":{"line":23,"column":41,"offset":968},"end":{"line":23,"column":49,"offset":976},"indent":[]}},{"type":"text","value":":false","position":{"start":{"line":23,"column":49,"offset":976},"end":{"line":23,"column":55,"offset":982},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":23,"column":55,"offset":982},"end":{"line":23,"column":61,"offset":988},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"说明","position":{"start":{"line":23,"column":63,"offset":990},"end":{"line":23,"column":65,"offset":992},"indent":[]}}],"position":{"start":{"line":23,"column":61,"offset":988},"end":{"line":23,"column":67,"offset":994},"indent":[]}},{"type":"text","value":":是否按照顺时针排列","position":{"start":{"line":23,"column":67,"offset":994},"end":{"line":23,"column":77,"offset":1004},"indent":[]}}],"position":{"start":{"line":23,"column":1,"offset":928},"end":{"line":23,"column":77,"offset":1004},"indent":[]}},{"type":"heading","depth":2,"children":[{"type":"link","url":"#maxleveldiff","title":null,"children":[],"data":{"hProperties":{"aria-label":"maxleveldiff 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":"maxLevelDiff","position":{"start":{"line":25,"column":4,"offset":1009},"end":{"line":25,"column":16,"offset":1021},"indent":[]}}],"position":{"start":{"line":25,"column":1,"offset":1006},"end":{"line":25,"column":16,"offset":1021},"indent":[]},"data":{"id":"maxleveldiff","htmlAttributes":{"id":"maxleveldiff"},"hProperties":{"id":"maxleveldiff"}}},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"类型","position":{"start":{"line":26,"column":3,"offset":1024},"end":{"line":26,"column":5,"offset":1026},"indent":[]}}],"position":{"start":{"line":26,"column":1,"offset":1022},"end":{"line":26,"column":7,"offset":1028},"indent":[]}},{"type":"text","value":": Number","position":{"start":{"line":26,"column":7,"offset":1028},"end":{"line":26,"column":15,"offset":1036},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":26,"column":15,"offset":1036},"end":{"line":26,"column":21,"offset":1042},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"默认值:","position":{"start":{"line":26,"column":23,"offset":1044},"end":{"line":26,"column":27,"offset":1048},"indent":[]}}],"position":{"start":{"line":26,"column":21,"offset":1042},"end":{"line":26,"column":29,"offset":1050},"indent":[]}},{"type":"text","value":"undefined","position":{"start":{"line":26,"column":29,"offset":1050},"end":{"line":26,"column":38,"offset":1059},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":26,"column":38,"offset":1059},"end":{"line":26,"column":44,"offset":1065},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"是否必须","position":{"start":{"line":26,"column":46,"offset":1067},"end":{"line":26,"column":50,"offset":1071},"indent":[]}}],"position":{"start":{"line":26,"column":44,"offset":1065},"end":{"line":26,"column":52,"offset":1073},"indent":[]}},{"type":"text","value":":false","position":{"start":{"line":26,"column":52,"offset":1073},"end":{"line":26,"column":58,"offset":1079},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":26,"column":58,"offset":1079},"end":{"line":26,"column":64,"offset":1085},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"说明","position":{"start":{"line":26,"column":66,"offset":1087},"end":{"line":26,"column":68,"offset":1089},"indent":[]}}],"position":{"start":{"line":26,"column":64,"offset":1085},"end":{"line":26,"column":70,"offset":1091},"indent":[]}},{"type":"text","value":":每一层同心值的求和。若为 undefined,则将会被设置为 maxValue / 4 ,其中 maxValue 为最大的排序依据的属性值。例如,若 sortBy='degree',则 maxValue 为所有节点中度数最大的节点的度数","position":{"start":{"line":26,"column":70,"offset":1091},"end":{"line":26,"column":189,"offset":1210},"indent":[]}}],"position":{"start":{"line":26,"column":1,"offset":1022},"end":{"line":26,"column":189,"offset":1210},"indent":[]}},{"type":"heading","depth":2,"children":[{"type":"link","url":"#sortby","title":null,"children":[],"data":{"hProperties":{"aria-label":"sortby 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":"sortBy","position":{"start":{"line":28,"column":4,"offset":1215},"end":{"line":28,"column":10,"offset":1221},"indent":[]}}],"position":{"start":{"line":28,"column":1,"offset":1212},"end":{"line":28,"column":10,"offset":1221},"indent":[]},"data":{"id":"sortby","htmlAttributes":{"id":"sortby"},"hProperties":{"id":"sortby"}}},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"类型","position":{"start":{"line":29,"column":3,"offset":1224},"end":{"line":29,"column":5,"offset":1226},"indent":[]}}],"position":{"start":{"line":29,"column":1,"offset":1222},"end":{"line":29,"column":7,"offset":1228},"indent":[]}},{"type":"text","value":": String","position":{"start":{"line":29,"column":7,"offset":1228},"end":{"line":29,"column":15,"offset":1236},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":29,"column":15,"offset":1236},"end":{"line":29,"column":21,"offset":1242},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"默认值","position":{"start":{"line":29,"column":23,"offset":1244},"end":{"line":29,"column":26,"offset":1247},"indent":[]}}],"position":{"start":{"line":29,"column":21,"offset":1242},"end":{"line":29,"column":28,"offset":1249},"indent":[]}},{"type":"text","value":":undefined","position":{"start":{"line":29,"column":28,"offset":1249},"end":{"line":29,"column":38,"offset":1259},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":29,"column":38,"offset":1259},"end":{"line":29,"column":44,"offset":1265},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"是否必须","position":{"start":{"line":29,"column":46,"offset":1267},"end":{"line":29,"column":50,"offset":1271},"indent":[]}}],"position":{"start":{"line":29,"column":44,"offset":1265},"end":{"line":29,"column":52,"offset":1273},"indent":[]}},{"type":"text","value":":false","position":{"start":{"line":29,"column":52,"offset":1273},"end":{"line":29,"column":58,"offset":1279},"indent":[]}},{"type":"html","value":"<br />","position":{"start":{"line":29,"column":58,"offset":1279},"end":{"line":29,"column":64,"offset":1285},"indent":[]}},{"type":"strong","children":[{"type":"text","value":"说明","position":{"start":{"line":29,"column":66,"offset":1287},"end":{"line":29,"column":68,"offset":1289},"indent":[]}}],"position":{"start":{"line":29,"column":64,"offset":1285},"end":{"line":29,"column":70,"offset":1291},"indent":[]}},{"type":"text","value":":指定排序的依据(节点属性名),数值越高则该节点被放置得越中心。若为 undefined,则会计算节点的度数,度数越高,节点将被放置得越中心","position":{"start":{"line":29,"column":70,"offset":1291},"end":{"line":29,"column":140,"offset":1361},"indent":[]}}],"position":{"start":{"line":29,"column":1,"offset":1222},"end":{"line":29,"column":140,"offset":1361},"indent":[]}}],"position":{"start":{"line":1,"column":1,"offset":0},"end":{"line":30,"column":1,"offset":1362}}}}