-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocs__api__graphFunc__item.zh.md.774aed64.async.js
1 lines (1 loc) · 15.4 KB
/
docs__api__graphFunc__item.zh.md.774aed64.async.js
1
(self.webpackChunk_antv_g6_site=self.webpackChunk_antv_g6_site||[]).push([[8629],{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},74791:function(e,l,s){"use strict";s.r(l);s(90349),s(72411),s(49434),s(37262);var r=s(74993),d=s(82480),n=(s(35246),s(80057),s(39302)),i=(s(44194),s(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:"增删",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#增删",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"增删"]}),(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)("p",{children:(0,i.jsx)("strong",{children:e[7].value})}),(0,i.jsxs)(d.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[8].value}),(0,i.jsx)("th",{children:e[9].value}),(0,i.jsx)("th",{children:e[10].value}),(0,i.jsx)("th",{children:e[11].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[12].value}),(0,i.jsx)("td",{children:e[13].value}),(0,i.jsx)("td",{children:e[14].value}),(0,i.jsxs)("td",{children:[e[15].value,(0,i.jsx)("code",{children:e[16].value}),e[17].value,(0,i.jsx)("code",{children:e[18].value})]})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[19].value}),(0,i.jsx)("td",{children:e[20].value}),(0,i.jsx)("td",{children:e[21].value}),(0,i.jsxs)("td",{children:[e[22].value,(0,i.jsx)(n.rU,{to:"/zh/docs/api/Items/item-properties",children:e[23].value}),e[24].value]})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[25].value}),(0,i.jsx)("td",{children:e[26].value}),(0,i.jsx)("td",{children:e[27].value}),(0,i.jsx)("td",{children:e[28].value})]})]})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[29].value})}),(0,i.jsx)(r.Z,{lang:"javascript",children:e[30].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[31].value}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[32].value})}),(0,i.jsxs)(d.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[33].value}),(0,i.jsx)("th",{children:e[34].value}),(0,i.jsx)("th",{children:e[35].value}),(0,i.jsx)("th",{children:e[36].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[37].value}),(0,i.jsx)("td",{children:e[38].value}),(0,i.jsx)("td",{children:e[39].value}),(0,i.jsx)("td",{children:e[40].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[41].value}),(0,i.jsx)("td",{children:e[42].value}),(0,i.jsx)("td",{children:e[43].value}),(0,i.jsx)("td",{children:e[44].value})]})]})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[45].value})}),(0,i.jsx)(r.Z,{lang:"javascript",children:e[46].value}),(0,i.jsxs)("h2",{id:"更新",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#更新",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"更新"]}),(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[47].value,(0,i.jsx)(n.rU,{to:"/zh/docs/api/Graph#updatecombocombo",children:e[48].value}),e[49].value]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[50].value})}),(0,i.jsxs)(d.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[51].value}),(0,i.jsx)("th",{children:e[52].value}),(0,i.jsx)("th",{children:e[53].value}),(0,i.jsx)("th",{children:e[54].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[55].value}),(0,i.jsx)("td",{children:e[56].value}),(0,i.jsx)("td",{children:e[57].value}),(0,i.jsx)("td",{children:e[58].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[59].value}),(0,i.jsx)("td",{children:e[60].value}),(0,i.jsx)("td",{children:e[61].value}),(0,i.jsxs)("td",{children:[e[62].value,(0,i.jsx)(n.rU,{to:"/zh/docs/api/Items/item-properties",children:e[63].value})]})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[64].value}),(0,i.jsx)("td",{children:e[65].value}),(0,i.jsx)("td",{children:e[66].value}),(0,i.jsx)("td",{children:e[67].value})]})]})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[68].value})}),(0,i.jsx)(r.Z,{lang:"javascript",children:e[69].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[70].value}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[71].value})}),(0,i.jsxs)(d.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[72].value}),(0,i.jsx)("th",{children:e[73].value}),(0,i.jsx)("th",{children:e[74].value}),(0,i.jsx)("th",{children:e[75].value})]})}),(0,i.jsx)("tbody",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[76].value}),(0,i.jsx)("td",{children:e[77].value}),(0,i.jsx)("td",{children:e[78].value}),(0,i.jsx)("td",{children:e[79].value})]})})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[80].value})}),(0,i.jsx)(r.Z,{lang:"javascript",children:e[81].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[82].value}),(0,i.jsx)("p",{children:e[83].value}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[84].value})}),(0,i.jsx)(r.Z,{lang:"javascript",children:e[85].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[86].value}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[87].value})}),(0,i.jsx)(r.Z,{lang:"javascript",children:e[88].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[89].value}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[90].value})}),(0,i.jsxs)(d.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[91].value}),(0,i.jsx)("th",{children:e[92].value}),(0,i.jsx)("th",{children:e[93].value}),(0,i.jsx)("th",{children:e[94].value})]})}),(0,i.jsx)("tbody",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[95].value}),(0,i.jsx)("td",{children:e[96].value}),(0,i.jsx)("td",{children:e[97].value}),(0,i.jsx)("td",{children:e[98].value})]})})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[99].value})}),(0,i.jsx)(r.Z,{lang:"javascript",children:e[100].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[101].value}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[102].value})}),(0,i.jsxs)(d.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.jsxs)("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.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[111].value}),(0,i.jsx)("td",{children:e[112].value}),(0,i.jsx)("td",{children:e[113].value}),(0,i.jsx)("td",{children:e[114].value})]})]})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[115].value})}),(0,i.jsx)(r.Z,{lang:"javascript",children:e[116].value}),(0,i.jsxs)("h2",{id:"配置",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#配置",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"配置"]}),(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[117].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[118].value})}),e[119].value,(0,i.jsx)("strong",{children:e[120].value}),e[121].value]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[122].value})}),(0,i.jsxs)(d.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[123].value}),(0,i.jsx)("th",{children:e[124].value}),(0,i.jsx)("th",{children:e[125].value}),(0,i.jsx)("th",{children:e[126].value})]})}),(0,i.jsx)("tbody",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[127].value}),(0,i.jsx)("td",{children:e[128].value}),(0,i.jsx)("td",{children:e[129].value}),(0,i.jsx)("td",{children:e[130].value})]})})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[131].value})}),(0,i.jsx)(r.Z,{lang:"javascript",children:e[132].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[133].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[134].value})}),e[135].value,(0,i.jsx)("strong",{children:e[136].value}),e[137].value]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[138].value})}),(0,i.jsxs)(d.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[139].value}),(0,i.jsx)("th",{children:e[140].value}),(0,i.jsx)("th",{children:e[141].value}),(0,i.jsx)("th",{children:e[142].value})]})}),(0,i.jsx)("tbody",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[143].value}),(0,i.jsx)("td",{children:e[144].value}),(0,i.jsx)("td",{children:e[145].value}),(0,i.jsx)("td",{children:e[146].value})]})})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[147].value})}),(0,i.jsx)(r.Z,{lang:"javascript",children:e[148].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[149].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[150].value})}),e[151].value,(0,i.jsx)("strong",{children:e[152].value}),e[153].value]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[154].value})}),(0,i.jsxs)(d.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[155].value}),(0,i.jsx)("th",{children:e[156].value}),(0,i.jsx)("th",{children:e[157].value}),(0,i.jsx)("th",{children:e[158].value})]})}),(0,i.jsx)("tbody",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[159].value}),(0,i.jsx)("td",{children:e[160].value}),(0,i.jsx)("td",{children:e[161].value}),(0,i.jsx)("td",{children:e[162].value})]})})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[163].value})}),(0,i.jsx)(r.Z,{lang:"javascript",children:e[164].value}),(0,i.jsxs)("h2",{id:"显示隐藏",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#显示隐藏",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"显示/隐藏"]}),(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[165].value,(0,i.jsx)(n.rU,{to:"/zh/docs/api/Items/item-methods#itemshow",children:e[166].value}),e[167].value]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[168].value})}),(0,i.jsxs)(d.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[169].value}),(0,i.jsx)("th",{children:e[170].value}),(0,i.jsx)("th",{children:e[171].value}),(0,i.jsx)("th",{children:e[172].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[173].value}),(0,i.jsx)("td",{children:e[174].value}),(0,i.jsx)("td",{children:e[175].value}),(0,i.jsx)("td",{children:e[176].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[177].value}),(0,i.jsx)("td",{children:e[178].value}),(0,i.jsx)("td",{children:e[179].value}),(0,i.jsx)("td",{children:e[180].value})]})]})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[181].value})}),(0,i.jsx)(r.Z,{lang:"javascript",children:e[182].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[183].value,(0,i.jsx)(n.rU,{to:"/zh/docs/api/Items/item-methods#itemhide",children:e[184].value}),e[185].value]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[186].value})}),(0,i.jsxs)(d.Z,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[187].value}),(0,i.jsx)("th",{children:e[188].value}),(0,i.jsx)("th",{children:e[189].value}),(0,i.jsx)("th",{children:e[190].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[191].value}),(0,i.jsx)("td",{children:e[192].value}),(0,i.jsx)("td",{children:e[193].value}),(0,i.jsx)("td",{children:e[194].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[195].value}),(0,i.jsx)("td",{children:e[196].value}),(0,i.jsx)("td",{children:e[197].value}),(0,i.jsx)("td",{children:e[198].value})]})]})]}),(0,i.jsx)("p",{children:(0,i.jsx)("strong",{children:e[199].value})}),(0,i.jsx)(r.Z,{lang:"javascript",children:e[200].value})]})})})}},50069:function(e,l,s){"use strict";s.d(l,{T:function(){return r.T}});var r=s(71839)},98655:function(e,l,s){"use strict";s.d(l,{p:function(){return r.p}});var r=s(16347)},83402:function(e,l,s){"use strict";s.d(l,{G:function(){return r.G}});var r=s(81258)},66628:function(e,l,s){"use strict";s.d(l,{S:function(){return r.S}});var r=s(81178)},16810:function(e,l,s){"use strict";s.d(l,{g:function(){return r.g}});var r=s(87623)}}]);