-
Notifications
You must be signed in to change notification settings - Fork 1
/
docs__api__Items__nodeMethods.en.md.9b1771f3.async.js
1 lines (1 loc) · 10.3 KB
/
docs__api__Items__nodeMethods.en.md.9b1771f3.async.js
1
(self.webpackChunk_antv_g6_site=self.webpackChunk_antv_g6_site||[]).push([[4067],{79858:function(e){function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=function(){return[]},n.resolve=n,n.id=79858,e.exports=n},82450:function(e,n,l){"use strict";l.r(n);l(90349),l(72411),l(49434),l(37262);var d=l(74993),s=l(82480),i=(l(35246),l(80057),l(39302)),r=(l(44194),l(31549));n.default=function(){var e=(0,i.eL)().texts;return(0,r.jsx)(i.dY,{children:(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsxs)("p",{children:[e[0].value,(0,r.jsx)(i.rU,{to:"/en/docs/manual/middle/elements/nodes/default-node",children:e[1].value}),e[2].value,(0,r.jsx)(i.rU,{to:"/en/examples/item/defaultNodes#circle",children:e[3].value}),e[4].value,(0,r.jsx)(i.rU,{to:"/en/docs/manual/middle/elements/nodes/custom-node",children:e[5].value}),e[6].value,(0,r.jsx)(i.rU,{to:"/en/examples/item/customNode/#card",children:e[7].value}),e[8].value]}),(0,r.jsxs)("h3",{id:"nodelock",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#nodelock",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"node.lock()"]}),(0,r.jsx)("p",{children:e[9].value}),(0,r.jsxs)("p",{children:[e[10].value,(0,r.jsx)(i.rU,{to:"/en/docs/manual/middle/elements/methods/lock-node#fix-the-locked-node-while-dragging",children:e[11].value}),e[12].value,(0,r.jsx)(i.rU,{to:"/en/docs/manual/middle/elements/methods/lock-node#fix-the-locked-node-while-zooming",children:e[13].value}),e[14].value]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[15].value})}),(0,r.jsx)(d.Z,{lang:"javascript",children:e[16].value}),(0,r.jsxs)("h3",{id:"nodeunlock",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#nodeunlock",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"node.unlock()"]}),(0,r.jsx)("p",{children:e[17].value}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[18].value})}),(0,r.jsx)(d.Z,{lang:"javascript",children:e[19].value}),(0,r.jsxs)("h3",{id:"nodehaslocked",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#nodehaslocked",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"node.hasLocked()"]}),(0,r.jsx)("p",{children:e[20].value}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[21].value})}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e[22].value}),(0,r.jsxs)("li",{children:[e[23].value,(0,r.jsx)("code",{children:e[24].value}),e[25].value]})]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[26].value})}),(0,r.jsx)(d.Z,{lang:"javascript",children:e[27].value}),(0,r.jsxs)("h3",{id:"nodegetneighborstype",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#nodegetneighborstype",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"node.getNeighbors(type)"]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[28].value})}),(0,r.jsxs)(s.Z,{children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:e[29].value}),(0,r.jsx)("th",{children:e[30].value}),(0,r.jsx)("th",{children:e[31].value}),(0,r.jsx)("th",{children:e[32].value})]})}),(0,r.jsx)("tbody",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[33].value}),(0,r.jsx)("td",{children:e[34].value}),(0,r.jsx)("td",{children:e[35].value}),(0,r.jsx)("td",{children:e[36].value})]})})]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[37].value})}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e[38].value}),(0,r.jsx)("li",{children:e[39].value})]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[40].value})}),(0,r.jsx)(d.Z,{lang:"javascript",children:e[41].value}),(0,r.jsxs)("h3",{id:"nodegetedges",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#nodegetedges",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"node.getEdges()"]}),(0,r.jsx)("p",{children:e[42].value}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[43].value})}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e[44].value}),(0,r.jsx)("li",{children:e[45].value})]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[46].value})}),(0,r.jsx)(d.Z,{lang:"javascript",children:e[47].value}),(0,r.jsxs)("h3",{id:"nodegetinedges",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#nodegetinedges",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"node.getInEdges()"]}),(0,r.jsx)("p",{children:e[48].value}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[49].value})}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e[50].value}),(0,r.jsx)("li",{children:e[51].value})]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[52].value})}),(0,r.jsx)(d.Z,{lang:"javascript",children:e[53].value}),(0,r.jsxs)("h3",{id:"nodegetoutedges",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#nodegetoutedges",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"node.getOutEdges()"]}),(0,r.jsx)("p",{children:e[54].value}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[55].value})}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e[56].value}),(0,r.jsx)("li",{children:e[57].value})]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[58].value})}),(0,r.jsx)(d.Z,{lang:"javascript",children:e[59].value}),(0,r.jsxs)("h3",{id:"nodegetanchorpoints",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#nodegetanchorpoints",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"node.getAnchorPoints()"]}),(0,r.jsx)("p",{children:e[60].value}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[61].value})}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e[62].value}),(0,r.jsx)("li",{children:e[63].value})]}),(0,r.jsx)(d.Z,{lang:"javascript",children:e[64].value}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[65].value})}),(0,r.jsx)(d.Z,{lang:"javascript",children:e[66].value}),(0,r.jsxs)("h3",{id:"nodegetlinkpointpoint",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#nodegetlinkpointpoint",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"node.getLinkPoint(point)"]}),(0,r.jsxs)("p",{children:[e[67].value,(0,r.jsx)("code",{children:e[68].value}),e[69].value]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[70].value})}),(0,r.jsxs)(s.Z,{children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:e[71].value}),(0,r.jsx)("th",{children:e[72].value}),(0,r.jsx)("th",{children:e[73].value}),(0,r.jsx)("th",{children:e[74].value})]})}),(0,r.jsx)("tbody",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[75].value}),(0,r.jsx)("td",{children:e[76].value}),(0,r.jsx)("td",{children:e[77].value}),(0,r.jsx)("td",{children:e[78].value})]})})]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[79].value})}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e[80].value}),(0,r.jsx)("li",{children:e[81].value})]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[82].value})}),(0,r.jsx)(d.Z,{lang:"javascript",children:e[83].value}),(0,r.jsxs)("h3",{id:"nodegetlinkpointbyanchorindex",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#nodegetlinkpointbyanchorindex",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"node.getLinkPointByAnchor(index)"]}),(0,r.jsxs)("p",{children:[e[84].value,(0,r.jsx)("code",{children:e[85].value}),e[86].value]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[87].value})}),(0,r.jsxs)(s.Z,{children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:e[88].value}),(0,r.jsx)("th",{children:e[89].value}),(0,r.jsx)("th",{children:e[90].value}),(0,r.jsx)("th",{children:e[91].value})]})}),(0,r.jsx)("tbody",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[92].value}),(0,r.jsx)("td",{children:e[93].value}),(0,r.jsx)("td",{children:e[94].value}),(0,r.jsx)("td",{children:e[95].value})]})})]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[96].value})}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e[97].value}),(0,r.jsx)("li",{children:e[98].value})]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[99].value})}),(0,r.jsx)(d.Z,{lang:"javascript",children:e[100].value}),(0,r.jsxs)("h3",{id:"nodeaddedgeedge",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#nodeaddedgeedge",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"node.addEdge(edge)"]}),(0,r.jsxs)("p",{children:[e[101].value,(0,r.jsx)("code",{children:e[102].value}),e[103].value]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[104].value})}),(0,r.jsxs)(s.Z,{children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:e[105].value}),(0,r.jsx)("th",{children:e[106].value}),(0,r.jsx)("th",{children:e[107].value}),(0,r.jsx)("th",{children:e[108].value})]})}),(0,r.jsx)("tbody",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[109].value}),(0,r.jsx)("td",{children:e[110].value}),(0,r.jsx)("td",{children:e[111].value}),(0,r.jsx)("td",{children:e[112].value})]})})]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[113].value})}),(0,r.jsx)(d.Z,{lang:"javascript",children:e[114].value}),(0,r.jsxs)("h3",{id:"noderemoveedgeedge",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#noderemoveedgeedge",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"node.removeEdge(edge)"]}),(0,r.jsxs)("p",{children:[e[115].value,(0,r.jsx)("code",{children:e[116].value}),e[117].value]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[118].value})}),(0,r.jsxs)(s.Z,{children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:e[119].value}),(0,r.jsx)("th",{children:e[120].value}),(0,r.jsx)("th",{children:e[121].value}),(0,r.jsx)("th",{children:e[122].value})]})}),(0,r.jsx)("tbody",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[123].value}),(0,r.jsx)("td",{children:e[124].value}),(0,r.jsx)("td",{children:e[125].value}),(0,r.jsx)("td",{children:e[126].value})]})})]}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:e[127].value})}),(0,r.jsx)(d.Z,{lang:"javascript",children:e[128].value})]})})})}},50069:function(e,n,l){"use strict";l.d(n,{T:function(){return d.T}});var d=l(71839)},98655:function(e,n,l){"use strict";l.d(n,{p:function(){return d.p}});var d=l(16347)},83402:function(e,n,l){"use strict";l.d(n,{G:function(){return d.G}});var d=l(81258)},66628:function(e,n,l){"use strict";l.d(n,{S:function(){return d.S}});var d=l(81178)},16810:function(e,n,l){"use strict";l.d(n,{g:function(){return d.g}});var d=l(87623)}}]);