| 主機參考:VPS測評參考推薦/專注分享VPS服務器優惠信息!若您是商家可以在本站進行投稿,查看詳情!此外我們還提供軟文收錄、PayPal代付、廣告贊助等服務,查看詳情! |
| 我們發布的部分優惠活動文章可能存在時效性,購買時建議在本站搜索商家名稱可查看相關文章充分了解該商家!若非中文頁面可使用Edge瀏覽器同步翻譯!PayPal代付/收錄合作 |
從“@antv/f6”導入f6;從“@antv/f6/dist/extends/graph/treegraph”中導入樹圖。 *大腦圖-自動從節點的兩側分布。 {//注冊F6.RegisterGraph('Treegraph',TreeGraph);ni使用null*@param {*} reenderer canvas 1.0或canvas 2.0,mini | mini -本機*/handleinit(ctx,rect,canvas,reenderer){this.iscanvasinit = true;?? this.ct x = wrapContext(ctx);? this.renderer =渲染器;?? this.canvas =畫布;?? this.updatechart();? /***由畫布分發的事件被轉發到圖形實例*/handletouch(e){this.graph.emitevent(e);? updatechart(){const {width,height,pixelratio} = this.data;??? // f6 this.graph = new創建一個f6.treegraph的實例({context:this.ctx,渲染器:this.renderer,width,pixel,像素比,fitview:true,modes:{{{{????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????llapsed =崩潰。???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????S:[[0,0.5],[1,0.5],},``ght:function getheight(){``gethgap:function getThgap(){} //位置值(由于ESLINT禁止嵌套三元表達式而單獨提取)position_value = null;???? if(node.children node.children.length 0){centerx)position_value ='right';?? else position_value ='left';??? 返回{標簽:node.id,labelcfg:{/f6 - canvas
首次安裝
npm安裝@antv/f6 - wx - s
@antv/antv/antv/f6 [k3 -
與上述數據相同F6 - canvas
index.js
'@antv/f6 -從wx'導入f6。
這幾篇文章你可能也喜歡:
本文由主機參考刊發,轉載請注明:什么是思維地圖? 如何使用F6在迷你程序中繪制思維地圖? (心理映射程序應用程序) http://m.k2270.com/146895.html
主機參考

















評論前必須登錄!
注冊