-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocs__api__graphFunc__item.en.md.032f1733.async.js
1 lines (1 loc) · 16.8 KB
/
docs__api__graphFunc__item.en.md.032f1733.async.js
1
(self.webpackChunk_antv_g6_site=self.webpackChunk_antv_g6_site||[]).push([[9221],{79858:function(e){function l(e){var l=new Error("Cannot find module '"+e+"'");throw l.code="MODULE_NOT_FOUND",l}l.keys=function(){return[]},l.resolve=l,l.id=79858,e.exports=l},29191:function(e,l,d){"use strict";d.r(l);d(90349),d(72411),d(49434),d(37262);var s=d(74993),r=d(82480),n=(d(35246),d(80057),d(39302)),i=(d(44194),d(31549));l.default=function(){var e=(0,n.eL)().texts;return(0,i.jsx)(n.dY,{children:(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"markdown",children:[(0,i.jsxs)("h2",{id:"addremove",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#addremove",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"Add/Remove"]}),(0,i.jsxs)("h3",{id:"graphadditemtype-model-stack",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#graphadditemtype-model-stack",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"graph.addItem(type, model, stack)"]}),(0,i.jsx)("p",{children:e[0].value}),(0,i.jsxs)("p",{children:[(0,i.jsx)("span",{style:{backgroundColor:"rgb(251, 233, 231)",color:"rgb(139, 53, 56)"},children:(0,i.jsx)("strong",{children:e[1].value})}),e[2].value,(0,i.jsx)("code",{children:e[3].value}),e[4].value,(0,i.jsx)("code",{children:e[5].value}),e[6].value,(0,i.jsx)("code",{children:e[7].value}),e[8].value]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[9].value})}),(0,i.jsxs)(r.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[10].value}),(0,i.jsx)("th",{children:e[11].value}),(0,i.jsx)("th",{children:e[12].value}),(0,i.jsx)("th",{children:e[13].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[14].value}),(0,i.jsx)("td",{children:e[15].value}),(0,i.jsx)("td",{children:e[16].value}),(0,i.jsxs)("td",{children:[e[17].value,(0,i.jsx)("code",{children:e[18].value}),e[19].value,(0,i.jsx)("code",{children:e[20].value}),e[21].value]})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[22].value}),(0,i.jsx)("td",{children:e[23].value}),(0,i.jsx)("td",{children:e[24].value}),(0,i.jsxs)("td",{children:[e[25].value,(0,i.jsx)(n.rU,{to:"/en/docs/api/Items/item-properties",children:e[26].value}),e[27].value]})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[28].value}),(0,i.jsx)("td",{children:e[29].value}),(0,i.jsx)("td",{children:e[30].value}),(0,i.jsxs)("td",{children:[e[31].value,(0,i.jsx)("code",{children:e[32].value}),e[33].value,(0,i.jsx)("code",{children:e[34].value}),e[35].value,(0,i.jsx)("code",{children:e[36].value}),e[37].value,(0,i.jsx)("code",{children:e[38].value}),e[39].value]})]})]})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[40].value})}),(0,i.jsx)(s.Z,{lang:"javascript",children:e[41].value}),(0,i.jsxs)("h3",{id:"graphremoveitemitem-stack",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#graphremoveitemitem-stack",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"graph.removeItem(item, stack)"]}),(0,i.jsx)("p",{children:e[42].value}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[43].value})}),(0,i.jsxs)(r.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[44].value}),(0,i.jsx)("th",{children:e[45].value}),(0,i.jsx)("th",{children:e[46].value}),(0,i.jsx)("th",{children:e[47].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[48].value}),(0,i.jsx)("td",{children:e[49].value}),(0,i.jsx)("td",{children:e[50].value}),(0,i.jsx)("td",{children:e[51].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[52].value}),(0,i.jsx)("td",{children:e[53].value}),(0,i.jsx)("td",{children:e[54].value}),(0,i.jsxs)("td",{children:[e[55].value,(0,i.jsx)("code",{children:e[56].value}),e[57].value,(0,i.jsx)("code",{children:e[58].value}),e[59].value,(0,i.jsx)("code",{children:e[60].value}),e[61].value,(0,i.jsx)("code",{children:e[62].value}),e[63].value]})]})]})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[64].value})}),(0,i.jsx)(s.Z,{lang:"javascript",children:e[65].value}),(0,i.jsxs)("h2",{id:"update",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#update",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"Update"]}),(0,i.jsxs)("h3",{id:"graphupdateitemitem-model-stack",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#graphupdateitemitem-model-stack",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"graph.updateItem(item, model, stack)"]}),(0,i.jsxs)("p",{children:[e[66].value,(0,i.jsx)(n.rU,{to:"/en/docs/api/Graph#updatecombocombo",children:e[67].value}),e[68].value]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[69].value})}),(0,i.jsxs)(r.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[70].value}),(0,i.jsx)("th",{children:e[71].value}),(0,i.jsx)("th",{children:e[72].value}),(0,i.jsx)("th",{children:e[73].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[74].value}),(0,i.jsx)("td",{children:e[75].value}),(0,i.jsx)("td",{children:e[76].value}),(0,i.jsx)("td",{children:e[77].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[78].value}),(0,i.jsx)("td",{children:e[79].value}),(0,i.jsx)("td",{children:e[80].value}),(0,i.jsxs)("td",{children:[e[81].value,(0,i.jsx)(n.rU,{to:"/en/docs/api/Items/item-properties",children:e[82].value})]})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[83].value}),(0,i.jsx)("td",{children:e[84].value}),(0,i.jsx)("td",{children:e[85].value}),(0,i.jsxs)("td",{children:[e[86].value,(0,i.jsx)("code",{children:e[87].value}),e[88].value,(0,i.jsx)("code",{children:e[89].value}),e[90].value,(0,i.jsx)("code",{children:e[91].value}),e[92].value,(0,i.jsx)("code",{children:e[93].value}),e[94].value]})]})]})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[95].value})}),(0,i.jsx)(s.Z,{lang:"javascript",children:e[96].value}),(0,i.jsxs)("h3",{id:"graphupdateitem-model-stack",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#graphupdateitem-model-stack",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"graph.update(item, model, stack)"]}),(0,i.jsx)("p",{children:e[97].value}),(0,i.jsxs)("h3",{id:"graphupdatecombos",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#graphupdatecombos",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"graph.updateCombos()"]}),(0,i.jsx)("p",{children:e[98].value}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[99].value})}),(0,i.jsx)(s.Z,{lang:"javascript",children:e[100].value}),(0,i.jsxs)("h3",{id:"graphupdatecombocombo",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#graphupdatecombocombo",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"graph.updateCombo(combo)"]}),(0,i.jsx)("p",{children:e[101].value}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[102].value})}),(0,i.jsxs)(r.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[103].value}),(0,i.jsx)("th",{children:e[104].value}),(0,i.jsx)("th",{children:e[105].value}),(0,i.jsx)("th",{children:e[106].value})]})}),(0,i.jsx)("tbody",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[107].value}),(0,i.jsx)("td",{children:e[108].value}),(0,i.jsx)("td",{children:e[109].value}),(0,i.jsx)("td",{children:e[110].value})]})})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[111].value})}),(0,i.jsx)(s.Z,{lang:"javascript",children:e[112].value}),(0,i.jsxs)("h3",{id:"graphupdatecombotreeitem-parentid",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#graphupdatecombotreeitem-parentid",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"graph.updateComboTree(item, parentId)"]}),(0,i.jsx)("p",{children:e[113].value}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[114].value})}),(0,i.jsxs)(r.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[115].value}),(0,i.jsx)("th",{children:e[116].value}),(0,i.jsx)("th",{children:e[117].value}),(0,i.jsx)("th",{children:e[118].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[119].value}),(0,i.jsx)("td",{children:e[120].value}),(0,i.jsx)("td",{children:e[121].value}),(0,i.jsx)("td",{})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[122].value}),(0,i.jsx)("td",{children:e[123].value}),(0,i.jsx)("td",{children:e[124].value}),(0,i.jsx)("td",{children:e[125].value})]})]})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[126].value})}),(0,i.jsx)(s.Z,{lang:"javascript",children:e[127].value}),(0,i.jsxs)("h3",{id:"graphrefreshitemitem",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#graphrefreshitemitem",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"graph.refreshItem(item)"]}),(0,i.jsx)("p",{children:e[128].value}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[129].value})}),(0,i.jsxs)(r.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[130].value}),(0,i.jsx)("th",{children:e[131].value}),(0,i.jsx)("th",{children:e[132].value}),(0,i.jsx)("th",{children:e[133].value})]})}),(0,i.jsx)("tbody",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[134].value}),(0,i.jsx)("td",{children:e[135].value}),(0,i.jsx)("td",{children:e[136].value}),(0,i.jsx)("td",{children:e[137].value})]})})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[138].value})}),(0,i.jsx)(s.Z,{lang:"javascript",children:e[139].value}),(0,i.jsxs)("h3",{id:"graphrefreshpositions",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#graphrefreshpositions",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"graph.refreshPositions()"]}),(0,i.jsx)("p",{children:e[140].value}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[141].value})}),(0,i.jsx)(s.Z,{lang:"javascript",children:e[142].value}),(0,i.jsxs)("h2",{id:"configure",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#configure",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"Configure"]}),(0,i.jsxs)("h3",{id:"graphnodenodefn",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#graphnodenodefn",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"graph.node(nodeFn)"]}),(0,i.jsx)("p",{children:e[143].value}),(0,i.jsxs)("p",{children:[(0,i.jsx)("span",{style:{backgroundColor:"rgb(251, 233, 231)",color:"rgb(139, 53, 56)"},children:(0,i.jsx)("strong",{children:e[144].value})}),e[145].value,(0,i.jsx)("strong",{children:e[146].value}),e[147].value]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[148].value})}),(0,i.jsxs)(r.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[149].value}),(0,i.jsx)("th",{children:e[150].value}),(0,i.jsx)("th",{children:e[151].value}),(0,i.jsx)("th",{children:e[152].value})]})}),(0,i.jsx)("tbody",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[153].value}),(0,i.jsx)("td",{children:e[154].value}),(0,i.jsx)("td",{children:e[155].value}),(0,i.jsx)("td",{children:e[156].value})]})})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[157].value})}),(0,i.jsx)(s.Z,{lang:"javascript",children:e[158].value}),(0,i.jsxs)("h3",{id:"graphedgeedgefn",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#graphedgeedgefn",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"graph.edge(edgeFn)"]}),(0,i.jsx)("p",{children:e[159].value}),(0,i.jsxs)("p",{children:[(0,i.jsx)("span",{style:{backgroundColor:"rgb(251, 233, 231)",color:"rgb(139, 53, 56)"},children:(0,i.jsx)("strong",{children:e[160].value})}),e[161].value,(0,i.jsx)("strong",{children:e[162].value}),e[163].value]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[164].value})}),(0,i.jsxs)(r.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[165].value}),(0,i.jsx)("th",{children:e[166].value}),(0,i.jsx)("th",{children:e[167].value}),(0,i.jsx)("th",{children:e[168].value})]})}),(0,i.jsx)("tbody",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[169].value}),(0,i.jsx)("td",{children:e[170].value}),(0,i.jsx)("td",{children:e[171].value}),(0,i.jsx)("td",{children:e[172].value})]})})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[173].value})}),(0,i.jsx)(s.Z,{lang:"javascript",children:e[174].value}),(0,i.jsxs)("h3",{id:"graphcombocombofn",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#graphcombocombofn",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"graph.combo(comboFn)"]}),(0,i.jsx)("p",{children:e[175].value}),(0,i.jsxs)("p",{children:[(0,i.jsx)("span",{style:{backgroundColor:"rgb(251, 233, 231)",color:"rgb(139, 53, 56)"},children:(0,i.jsx)("strong",{children:e[176].value})}),e[177].value,(0,i.jsx)("strong",{children:e[178].value}),e[179].value]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[180].value})}),(0,i.jsxs)(r.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[181].value}),(0,i.jsx)("th",{children:e[182].value}),(0,i.jsx)("th",{children:e[183].value}),(0,i.jsx)("th",{children:e[184].value})]})}),(0,i.jsx)("tbody",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[185].value}),(0,i.jsx)("td",{children:e[186].value}),(0,i.jsx)("td",{children:e[187].value}),(0,i.jsx)("td",{children:e[188].value})]})})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[189].value})}),(0,i.jsx)(s.Z,{lang:"javascript",children:e[190].value}),(0,i.jsxs)("h2",{id:"showhide",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#showhide",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"Show/Hide"]}),(0,i.jsxs)("h3",{id:"graphshowitemitem-stack",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#graphshowitemitem-stack",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"graph.showItem(item, stack)"]}),(0,i.jsxs)("p",{children:[e[191].value,(0,i.jsx)(n.rU,{to:"/en/docs/api/Items/item-methods#itemshow",children:e[192].value}),e[193].value]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[194].value})}),(0,i.jsxs)(r.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[195].value}),(0,i.jsx)("th",{children:e[196].value}),(0,i.jsx)("th",{children:e[197].value}),(0,i.jsx)("th",{children:e[198].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[199].value}),(0,i.jsx)("td",{children:e[200].value}),(0,i.jsx)("td",{children:e[201].value}),(0,i.jsx)("td",{children:e[202].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[203].value}),(0,i.jsx)("td",{children:e[204].value}),(0,i.jsx)("td",{children:e[205].value}),(0,i.jsxs)("td",{children:[e[206].value,(0,i.jsx)("code",{children:e[207].value}),e[208].value,(0,i.jsx)("code",{children:e[209].value}),e[210].value,(0,i.jsx)("code",{children:e[211].value}),e[212].value,(0,i.jsx)("code",{children:e[213].value}),e[214].value]})]})]})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[215].value})}),(0,i.jsx)(s.Z,{lang:"javascript",children:e[216].value}),(0,i.jsxs)("h3",{id:"graphhideitemitem-stack",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#graphhideitemitem-stack",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"graph.hideItem(item, stack)"]}),(0,i.jsxs)("p",{children:[e[217].value,(0,i.jsx)(n.rU,{to:"/en/docs/api/Items/item-methods#itemhide",children:e[218].value}),e[219].value]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[220].value})}),(0,i.jsxs)(r.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[221].value}),(0,i.jsx)("th",{children:e[222].value}),(0,i.jsx)("th",{children:e[223].value}),(0,i.jsx)("th",{children:e[224].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[225].value}),(0,i.jsx)("td",{children:e[226].value}),(0,i.jsx)("td",{children:e[227].value}),(0,i.jsx)("td",{children:e[228].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[229].value}),(0,i.jsx)("td",{children:e[230].value}),(0,i.jsx)("td",{children:e[231].value}),(0,i.jsxs)("td",{children:[e[232].value,(0,i.jsx)("code",{children:e[233].value}),e[234].value,(0,i.jsx)("code",{children:e[235].value}),e[236].value,(0,i.jsx)("code",{children:e[237].value}),e[238].value,(0,i.jsx)("code",{children:e[239].value}),e[240].value]})]})]})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[241].value})}),(0,i.jsx)(s.Z,{lang:"javascript",children:e[242].value})]})})})}},50069:function(e,l,d){"use strict";d.d(l,{T:function(){return s.T}});var s=d(71839)},98655:function(e,l,d){"use strict";d.d(l,{p:function(){return s.p}});var s=d(16347)},83402:function(e,l,d){"use strict";d.d(l,{G:function(){return s.G}});var s=d(81258)},66628:function(e,l,d){"use strict";d.d(l,{S:function(){return s.S}});var s=d(81178)},16810:function(e,l,d){"use strict";d.d(l,{g:function(){return s.g}});var s=d(87623)}}]);