@layers-app/editor 0.0.25 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/{layers.BQHgH0c0.js → layers.-MfdHU7o.js} +1 -1
- package/dist/{layers.5U29QNMz.js → layers.1tUNQMNj.js} +1 -1
- package/dist/{layers.C9vJr9Fp.js → layers.28UnYCeg.js} +3 -3
- package/dist/{layers.D71p3EhU.js → layers.2EP8KBjE.js} +1 -1
- package/dist/layers.2nyKmgVA.js +8 -0
- package/dist/{layers.R44OAZRP.js → layers.3qXBixEf.js} +1 -1
- package/dist/{layers.C7_Otsyx.js → layers.4sRhj87I.js} +1 -1
- package/dist/{layers.BPTiALoi.js → layers.74WT4MgT.js} +4 -4
- package/dist/{layers.DHYQaKXy.js → layers.9PROxtZN.js} +1 -1
- package/dist/{layers.SulLxOdh.js → layers.AnkVpZC1.js} +1 -1
- package/dist/{layers.UHP1RD2c.js → layers.B1ahsrrQ.js} +4 -4
- package/dist/{layers.CI7Z-Sjj.js → layers.B3nTGbu1.js} +1 -1
- package/dist/{layers.BAaIrX5p.js → layers.B60i49Ua.js} +1 -1
- package/dist/{layers.CVlRuvNG.js → layers.B71WHwup.js} +1 -1
- package/dist/{layers.WoRsWqkn.js → layers.B8OXEx0Q.js} +1 -1
- package/dist/{layers.qxHQ5s48.js → layers.B9NKdGq8.js} +1 -1
- package/dist/{layers.DH6JhdxT.js → layers.BDFvLPKC.js} +1 -1
- package/dist/{layers.5s_bUFw7.js → layers.BDjlgDu7.js} +1 -1
- package/dist/{layers.EqE20WDv.js → layers.BFpV4z-c.js} +1 -1
- package/dist/{layers.DpoqH_qu.js → layers.BGOwlY9x.js} +1 -1
- package/dist/{layers.DZxo3Qo-.js → layers.BGUn6Bdt.js} +1 -1
- package/dist/{layers.DyUhnefH.js → layers.BIDIrQh4.js} +1 -1
- package/dist/{layers.D8G_zttU.js → layers.BIeCQiXC.js} +3 -3
- package/dist/{layers.DMnBSepD.js → layers.BIlY5bTV.js} +1 -1
- package/dist/{layers.DRGcrPPV.js → layers.BJU3y9A4.js} +1 -1
- package/dist/layers.BJYIElS3.js +164 -0
- package/dist/{layers.DNvn8evO.js → layers.BLake2_F.js} +1 -1
- package/dist/{layers.DhaEWWE8.js → layers.BNB2AO2t.js} +1 -1
- package/dist/{layers.DaNHv_tD.js → layers.BO4f05kN.js} +1 -1
- package/dist/{layers.CSAdHZgs.js → layers.BOONuUTA.js} +1 -1
- package/dist/{layers.BOEB6DhN.js → layers.BOQBX8xk.js} +4 -4
- package/dist/{layers.B1tTFwlU.js → layers.BSueNBXa.js} +1 -1
- package/dist/{layers.DGC-QZbD.js → layers.BTuCFTn2.js} +3 -3
- package/dist/{layers.BNEX6ffl.js → layers.BUC4NKg6.js} +1 -1
- package/dist/{layers.Du5-W3Rw.js → layers.BWv-6YlM.js} +4 -4
- package/dist/layers.BXAaJm_B.js +1 -0
- package/dist/{layers.D0yiFcqY.js → layers.BXO9DHRg.js} +1 -1
- package/dist/{layers.BtP6vWIY.js → layers.BYBIY-hg.js} +1 -1
- package/dist/{layers.BB7ssac6.js → layers.BYPjJwSX.js} +9 -9
- package/dist/{layers.qzkyQd0J.js → layers.Ba6Mh1xD.js} +36 -36
- package/dist/{layers.ChkOb4tl.js → layers.BaXceOgt.js} +1 -1
- package/dist/{layers.BlRFAeMZ.js → layers.BanXipI5.js} +3 -3
- package/dist/{layers.BAWbBe9N.js → layers.Bc8AsBqA.js} +1 -1
- package/dist/{layers.CV_r6tXx.js → layers.BcZ-wr4G.js} +6 -6
- package/dist/{layers.ZN4JdEjx.js → layers.Bfddm4s2.js} +1 -1
- package/dist/{layers.BY_Ddtf_.js → layers.Bh7zCEUL.js} +1 -1
- package/dist/{layers.CmOPFjvq.js → layers.BhksVL2U.js} +1 -1
- package/dist/{layers.BymWa7M3.js → layers.BiI0kO_6.js} +1 -1
- package/dist/{layers.BWBqFzL5.js → layers.BicXkyFi.js} +3 -3
- package/dist/{layers.Xe8jbEny.js → layers.Bj_2IjUI.js} +1 -1
- package/dist/{layers.BOdIgbDK.js → layers.Bk_Dyi54.js} +2 -2
- package/dist/{layers.BK4BzYSQ.js → layers.Bl1uTsbg.js} +1 -1
- package/dist/{layers.DS8xp3z6.js → layers.Bl7nqk02.js} +1 -1
- package/dist/{layers.CPPtpAVe.js → layers.BlB4fHYZ.js} +1 -1
- package/dist/{layers.Dc_OXuAO.js → layers.BlhmmW-q.js} +1 -1
- package/dist/{layers.GO-Mbd7I.js → layers.BmFwAERq.js} +1 -1
- package/dist/{layers.BKoRqbkc.js → layers.Bp-S9xac.js} +1 -1
- package/dist/{layers.CSy8D72I.js → layers.Bq1yK4w0.js} +1 -1
- package/dist/{layers.CRuKN3by.js → layers.BtuREDn4.js} +1 -1
- package/dist/{layers.CNml1ojC.js → layers.BuD-hHl0.js} +1 -1
- package/dist/{layers.B1psjxfg.js → layers.BwO9UY_s.js} +1 -1
- package/dist/layers.BzrnBfaw.js +1 -0
- package/dist/{layers.Bn8N2Stv.js → layers.C-J5AW1t.js} +1 -1
- package/dist/{layers.8dwcxQd3.js → layers.C-zKflhq.js} +1 -1
- package/dist/{layers.BuJozguU.js → layers.C1_g1kGw.js} +1 -1
- package/dist/{layers.B3NaBxHH.js → layers.C1kpZ4k9.js} +1 -1
- package/dist/{layers.D8NjLtRn.js → layers.C32QCCX3.js} +1 -1
- package/dist/{layers.2klZ3piU.js → layers.C4Nc_ZLC.js} +1 -1
- package/dist/{layers.DvVe2_B8.js → layers.C8ghpKoL.js} +1 -1
- package/dist/{layers.C4L1zUgG.js → layers.C93kj-mA.js} +1 -1
- package/dist/{layers.dRKtVcxx.js → layers.CApstxMH.js} +1 -1
- package/dist/{layers.KCNY5y8z.js → layers.CClvNiWW.js} +1 -1
- package/dist/{layers.kyTkLvwr.js → layers.CCq77KBX.js} +1 -1
- package/dist/{layers.Bk3rEvTi.js → layers.CEcU2jvG.js} +1 -1
- package/dist/{layers.PrN0U_UM.js → layers.CFYyGq7Q.js} +1 -1
- package/dist/{layers.otSGVgrf.js → layers.CFvf-cKB.js} +7101 -6975
- package/dist/{layers.DDE-iai2.js → layers.CG_TuNYm.js} +3 -3
- package/dist/{layers.BlkvO94n.js → layers.CH7CDKNo.js} +1 -1
- package/dist/{layers.Cdw06C7D.js → layers.CHGliXGT.js} +1 -1
- package/dist/{layers.07qQUlOx.js → layers.CIUymNXV.js} +1 -1
- package/dist/{layers.CjRpPAKZ.js → layers.CIVjRDSJ.js} +3 -3
- package/dist/{layers.BAnc8Y8B.js → layers.CKe3rQHS.js} +1 -1
- package/dist/{layers.vrKjaGL3.js → layers.CN2qi0F1.js} +1 -1
- package/dist/{layers.CnlX6j6i.js → layers.CNHgPCNO.js} +1 -1
- package/dist/{layers.NnXYAx13.js → layers.CNuXpgro.js} +4 -4
- package/dist/{layers.DtYpqqY0.js → layers.COrKzbqb.js} +1 -1
- package/dist/{layers.B9ocXRVO.js → layers.COyHYCjy.js} +1 -1
- package/dist/{layers.C6qRV0pD.js → layers.CPATInVN.js} +1 -1
- package/dist/{layers.CZ9asRxp.js → layers.CRmlSFVR.js} +1 -1
- package/dist/layers.CT-Dt-VE.js +6 -0
- package/dist/{layers.rB_UamkL.js → layers.CX_jWYI_.js} +1 -1
- package/dist/{layers.DQevQguw.js → layers.CY1t6swN.js} +1 -1
- package/dist/{layers.DZVs6rl-.js → layers.CYk43MYl.js} +2 -2
- package/dist/{layers.BqTvq1WO.js → layers.CYm6A3Az.js} +1 -1
- package/dist/{layers.BzRmHQQD.js → layers.Cdj7HenV.js} +2 -2
- package/dist/{layers.vK-UofJJ.js → layers.CdmOuFfN.js} +1 -1
- package/dist/{layers.Bzc44mb4.js → layers.CduyTeEo.js} +1 -1
- package/dist/{layers.DDGV6wvn.js → layers.Cemxqnd1.js} +1 -1
- package/dist/{layers.KFKejNxr.js → layers.Cf93fBjQ.js} +1 -1
- package/dist/{layers.CzsxLGGT.js → layers.CfAIb9e2.js} +1 -1
- package/dist/{layers.BQUkW6Sr.js → layers.CibV19mO.js} +1 -1
- package/dist/{layers.BJ2qg5fe.js → layers.CjHcD0jT.js} +1 -1
- package/dist/{layers.B43rvwKV.js → layers.CjIr4Reu.js} +5 -5
- package/dist/{layers.3cmQBPRD.js → layers.CjO3Kz6d.js} +1 -1
- package/dist/{layers.B-eOoyQV.js → layers.ClUe3D-5.js} +24 -24
- package/dist/{layers.BQdiT-Gc.js → layers.CnA-NRav.js} +1 -1
- package/dist/{layers.Cx6FqSsI.js → layers.CnpyHrXj.js} +1 -1
- package/dist/{layers.SP95Qof2.js → layers.CpBwQzNV.js} +1 -1
- package/dist/{layers.DUgI8Qm6.js → layers.CpYx4yKP.js} +1 -1
- package/dist/{layers.z_R2M9xA.js → layers.CpkkXbmo.js} +1 -1
- package/dist/{layers.DT2vhESJ.js → layers.CpyU-V2r.js} +1 -1
- package/dist/{layers.CPtjfATq.js → layers.Cq06XSCw.js} +1 -1
- package/dist/{layers.pAr6m-ST.js → layers.CtXo_xpf.js} +1 -1
- package/dist/{layers.B7wN1gyM.js → layers.CtbNapAt.js} +1 -1
- package/dist/{layers.BwcyrXEu.js → layers.CwsflroE.js} +1 -1
- package/dist/{layers._hbnQs16.js → layers.CxE2T1aH.js} +3 -3
- package/dist/{layers.BmU3A8To.js → layers.CyV-XKMo.js} +1 -1
- package/dist/{layers.CRVVTbRr.js → layers.D01oN1Yo.js} +1 -1
- package/dist/{layers.CgvOUVzr.js → layers.D1mKA2ZH.js} +2 -2
- package/dist/{layers.C3vT-_5E.js → layers.D2IDk-AP.js} +1 -1
- package/dist/{layers.CqMLQ0Dp.js → layers.D5UwDWyD.js} +1 -1
- package/dist/{layers.CyUKOqQM.js → layers.D6o01gCa.js} +1 -1
- package/dist/{layers.Cj7ITJ9c.js → layers.D8EumXoD.js} +1 -1
- package/dist/{layers.DHNgS4o3.js → layers.D9TEhIxd.js} +1 -1
- package/dist/{layers.DYoOWsyB.js → layers.DAEdLXqQ.js} +1 -1
- package/dist/{layers.CctQZdRR.js → layers.DCSq9RR7.js} +1 -1
- package/dist/{layers.zx6fFkwC.js → layers.DH_JyAqt.js} +1 -1
- package/dist/{layers.CuxIZWEP.js → layers.DIUGV8wF.js} +1 -1
- package/dist/{layers.DPpl1Lyy.js → layers.DIVum7JV.js} +5 -5
- package/dist/{layers.Bag9ck5N.js → layers.DK5apgH8.js} +1 -1
- package/dist/{layers.Q4CIFfze.js → layers.DKDDjhdZ.js} +1 -1
- package/dist/{layers.Mz6hy1ns.js → layers.DLph9HT8.js} +4 -4
- package/dist/{layers.Cj6cbW8i.js → layers.DLvqsUWg.js} +3 -3
- package/dist/{layers.Bjqq928v.js → layers.DO2gPFUi.js} +1 -1
- package/dist/{layers.3VppN-FK.js → layers.DOm6oiCu.js} +1 -1
- package/dist/{layers.BhjPgUp1.js → layers.DQ1x8Q6n.js} +1 -1
- package/dist/{layers.D39cRqm0.js → layers.DVYHPMvI.js} +1 -1
- package/dist/{layers.LBCOqtdP.js → layers.DWONJ9hO.js} +1 -1
- package/dist/{layers.Bm4nXd83.js → layers.DWmqW2Tz.js} +1 -1
- package/dist/{layers.Dh8vVrkJ.js → layers.DXgqMIVF.js} +1 -1
- package/dist/{layers.DN2-RoYO.js → layers.DY7PZ2H2.js} +1 -1
- package/dist/{layers.CYPKJ9D_.js → layers.D_4XWdSs.js} +1 -1
- package/dist/{layers.Dj1RvABZ.js → layers.Da35FLV2.js} +1 -1
- package/dist/{layers.DX5uxco3.js → layers.DaNobK-q.js} +1 -1
- package/dist/{layers.CvLOVBUw.js → layers.DapMcqYf.js} +1 -1
- package/dist/{layers.Bu0Rv7u8.js → layers.Dbt7Tm1r.js} +1 -1
- package/dist/{layers.D6ec9SRH.js → layers.DcP1dkTO.js} +1 -1
- package/dist/{layers.Dg4aFQbj.js → layers.De7qqe7E.js} +1 -1
- package/dist/{layers.CfVH6j0d.js → layers.De7xmUaj.js} +1 -1
- package/dist/{layers.BBm66jcD.js → layers.DfPzBlUF.js} +1 -1
- package/dist/{layers.9EMwI8Xs.js → layers.DglSSknj.js} +1 -1
- package/dist/{layers.BW8tNgnl.js → layers.DhJcEs1A.js} +1 -1
- package/dist/{layers.C8r5QjFY.js → layers.DhZdh48e.js} +1 -1
- package/dist/{layers.CfyH4z2e.js → layers.DljI1xNF.js} +1 -1
- package/dist/{layers.Dx5bTjWn.js → layers.Dmf463Eo.js} +1 -1
- package/dist/{layers.BGF0mJI-.js → layers.Dnp1r5v7.js} +1 -1
- package/dist/{layers.Dv3wcPBB.js → layers.Dor4Bq_4.js} +1 -1
- package/dist/{layers.Dw80oYJ5.js → layers.Dp0ZJYSs.js} +1 -1
- package/dist/{layers.B_3SG9-n.js → layers.DpjNjDq2.js} +1 -1
- package/dist/{layers.DFdD8OE6.js → layers.DqYDOj_6.js} +1 -1
- package/dist/{layers.3O2dWJo4.js → layers.DsDbvvKB.js} +1 -1
- package/dist/{layers.Bwuu3jjm.js → layers.DtwfOsD-.js} +1 -1
- package/dist/{layers.CjfoYqS0.js → layers.Dut7HjSm.js} +1 -1
- package/dist/{layers.DLShWbE3.js → layers.DvHDtunh.js} +1 -1
- package/dist/{layers.T0eE6tga.js → layers.DvdDuvFW.js} +1 -1
- package/dist/{layers.wXI8z3zK.js → layers.Dw5fXmPR.js} +1 -1
- package/dist/{layers.DTX-m6B0.js → layers.DxOrDafl.js} +1 -1
- package/dist/{layers.eMCYstYw.js → layers.Dze5rxgU.js} +1 -1
- package/dist/{layers.Dtt8if_X.js → layers.G1fFCfbF.js} +1 -1
- package/dist/{layers.B-hOwYRy.js → layers.HkN26erR.js} +1 -1
- package/dist/{layers.DTSzGsqB.js → layers.L10ZN6vG.js} +1 -1
- package/dist/{layers.HRFT_ZjM.js → layers.Q-IJ9Ocp.js} +4 -4
- package/dist/{layers.Bgs9DWaM.js → layers.QnNTANxc.js} +1 -1
- package/dist/{layers.vfmwTFt7.js → layers.RZIGLNyX.js} +1 -1
- package/dist/{layers.BWBOjwnD.js → layers.SFi9tL_g.js} +1 -1
- package/dist/{layers.C2b0BhoA.js → layers.TyxKaRaQ.js} +1 -1
- package/dist/{layers.iE9hmQyV.js → layers.VF2IPuHp.js} +1 -1
- package/dist/{layers.zleGKGQR.js → layers.XbZNBTt_.js} +4 -4
- package/dist/{layers.BLvgQy3M.js → layers.XsWv2y1P.js} +1 -1
- package/dist/{layers.Ckd9L1ZQ.js → layers.YLy_HVA5.js} +1 -1
- package/dist/{layers.UVNd1xGx.js → layers.Z0Zc4-PB.js} +2 -2
- package/dist/{layers.iRxcG0YN.js → layers.cJ0bGda7.js} +1 -1
- package/dist/{layers.DbSjlXkz.js → layers.dBDNzGfl.js} +1 -1
- package/dist/{layers.eT0cgnuX.js → layers.dVT2sWu2.js} +1 -1
- package/dist/{layers.CM0RbG9c.js → layers.ebq6eWHs.js} +1 -1
- package/dist/{layers.CJudskXr.js → layers.g-QC4uL0.js} +2 -2
- package/dist/{layers.DAkVONDW.js → layers.gvjLDllh.js} +2981 -2995
- package/dist/{layers.DnhB9nfo.js → layers.hrKnNQ3b.js} +1 -1
- package/dist/{layers.MYNPCNPb.js → layers.ixBI45nv.js} +4 -4
- package/dist/{layers.0Uws2RMI.js → layers.j0jPLsSZ.js} +3 -3
- package/dist/{layers.CqEtGCpU.js → layers.jX1VuuNl.js} +1 -1
- package/dist/{layers.CWWJnwM1.js → layers.jnD-HbH6.js} +1 -1
- package/dist/{layers.DhiiM0nu.js → layers.l1XMFQKn.js} +1 -1
- package/dist/{layers.Ce8BBqO9.js → layers.mc614ezS.js} +1 -1
- package/dist/{layers.Bw3R-pSG.js → layers.o268XkG_.js} +1 -1
- package/dist/{layers.CgdtQipl.js → layers.r8EVcQ-o.js} +1 -1
- package/dist/{layers.CmEuIxO4.js → layers.s52OorcO.js} +3 -3
- package/dist/{layers.DKTUd6cG.js → layers.t5nLd7IX.js} +1 -1
- package/dist/layers.utYEZGQR.js +1 -0
- package/dist/{layers.DDPm1Phd.js → layers.vH0-t1jj.js} +1 -1
- package/dist/{layers.BlifjyLs.js → layers.vQiCOL0g.js} +1 -1
- package/dist/{layers.B0LHiU6c.js → layers.zry6-cMY.js} +1 -1
- package/package.json +2 -2
- package/dist/layers.CBAObrHU.js +0 -1
- package/dist/layers.CHd51QJn.js +0 -8
- package/dist/layers.ClpTV2lw.js +0 -1
- package/dist/layers.D1fmxxk7.js +0 -1
- package/dist/layers.Dp_lp9sc.js +0 -164
- package/dist/layers.ZYL9xgWP.js +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("./layers.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("./layers.Dnp1r5v7.js"),ct=require("./layers.9QK1wiQj.js"),d=require("./layers.j0jPLsSZ.js"),dt=require("lodash-es"),ut=require("./layers.COAF7f8g.js"),y=require("./layers.C8ghpKoL.js"),ht=require("./layers.BYBIY-hg.js");require("./layers.Ba6Mh1xD.js");function ft(r){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(e,t,a.get?a:{enumerable:!0,get:()=>r[t]})}}return e.default=r,Object.freeze(e)}const w=ft(dt);function pt(r){if(!r.ok)throw new Error(r.status+" "+r.statusText);return r.text()}function yt(r,e){return fetch(r,e).then(pt)}function gt(r){return(e,t)=>yt(e,t).then(a=>new DOMParser().parseFromString(a,r))}var vt=gt("image/svg+xml"),$={normal:xt,vee:mt,undirected:bt};function wt(r){$=r}function xt(r,e,t,a){var n=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=n.append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");y.applyStyle(s,t[a+"Style"]),t[a+"Class"]&&s.attr("class",t[a+"Class"])}function mt(r,e,t,a){var n=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=n.append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");y.applyStyle(s,t[a+"Style"]),t[a+"Class"]&&s.attr("class",t[a+"Class"])}function bt(r,e,t,a){var n=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=n.append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");y.applyStyle(s,t[a+"Style"]),t[a+"Class"]&&s.attr("class",t[a+"Class"])}function kt(r,e){var t=r;return t.node().appendChild(e.label),y.applyStyle(t,e.labelStyle),t}function St(r,e){for(var t=r.append("text"),a=Tt(e.label).split(`
|
|
2
2
|
`),n=0;n<a.length;n++)t.append("tspan").attr("xml:space","preserve").attr("dy","1em").attr("x","1").text(a[n]);return y.applyStyle(t,e.labelStyle),t}function Tt(r){for(var e="",t=!1,a,n=0;n<r.length;++n)if(a=r[n],t){switch(a){case"n":e+=`
|
|
3
3
|
`;break;default:e+=a}t=!1}else a==="\\"?t=!0:e+=a;return e}function V(r,e,t){var a=e.label,n=r.append("g");e.labelType==="svg"?kt(n,e):typeof a!="string"||e.labelType==="html"?y.addHtmlLabel(n,e):St(n,e);var s=n.node().getBBox(),i;switch(t){case"top":i=-e.height/2;break;case"bottom":i=e.height/2-s.height;break;default:i=-s.height/2}return n.attr("transform","translate("+-s.width/2+","+i+")"),n}var G=function(r,e){var t=e.nodes().filter(function(s){return y.isSubgraph(e,s)}),a=r.selectAll("g.cluster").data(t,function(s){return s});y.applyTransition(a.exit(),e).style("opacity",0).remove();var n=a.enter().append("g").attr("class","cluster").attr("id",function(s){var i=e.node(s);return i.id}).style("opacity",0).each(function(s){var i=e.node(s),l=d.select(this);d.select(this).append("rect");var c=l.append("g").attr("class","label");V(c,i,i.clusterLabelPos)});return a=a.merge(n),a=y.applyTransition(a,e).style("opacity",1),a.selectAll("rect").each(function(s){var i=e.node(s),l=d.select(this);y.applyStyle(l,i.style)}),a};function Lt(r){G=r}let U=function(r,e){var t=r.selectAll("g.edgeLabel").data(e.edges(),function(n){return y.edgeToId(n)}).classed("update",!0);t.exit().remove(),t.enter().append("g").classed("edgeLabel",!0).style("opacity",0),t=r.selectAll("g.edgeLabel"),t.each(function(n){var s=d.select(this);s.select(".label").remove();var i=e.edge(n),l=V(s,e.edge(n),0).classed("label",!0),c=l.node().getBBox();i.labelId&&l.attr("id",i.labelId),w.has(i,"width")||(i.width=c.width),w.has(i,"height")||(i.height=c.height)});var a;return t.exit?a=t.exit():a=t.selectAll(null),y.applyTransition(a,e).style("opacity",0).remove(),t};function _t(r){U=r}function Y(r,e){return r.intersect(e)}var W=function(r,e,t){var a=r.selectAll("g.edgePath").data(e.edges(),function(i){return y.edgeToId(i)}).classed("update",!0),n=It(a,e);Dt(a,e);var s=a.merge!==void 0?a.merge(n):a;return y.applyTransition(s,e).style("opacity",1),s.each(function(i){var l=d.select(this),c=e.edge(i);c.elem=this,c.id&&l.attr("id",c.id),y.applyClass(l,c.class,(l.classed("update")?"update ":"")+"edgePath")}),s.selectAll("path.path").each(function(i){var l=e.edge(i);l.arrowheadId=w.uniqueId("arrowhead");var c=d.select(this).attr("marker-end",function(){return"url("+Ct(location.href,l.arrowheadId)+")"}).style("fill","none");y.applyTransition(c,e).attr("d",function(u){return At(e,u)}),y.applyStyle(c,l.style)}),s.selectAll("defs *").remove(),s.selectAll("defs").each(function(i){var l=e.edge(i),c=t[l.arrowhead];c(d.select(this),l.arrowheadId,l,"arrowhead")}),s};function Et(r){W=r}function Ct(r,e){var t=r.split("#")[0];return t+"#"+e}function At(r,e){var t=r.edge(e),a=r.node(e.v),n=r.node(e.w),s=t.points.slice(1,t.points.length-1);return s.unshift(Y(a,s[0])),s.push(Y(n,s[s.length-1])),X(t,s)}function X(r,e){var t=(ht.line||vt.line)().x(function(a){return a.x}).y(function(a){return a.y});return(t.curve||t.interpolate)(r.curve),t(e)}function Nt(r){var e=r.getBBox(),t=r.ownerSVGElement.getScreenCTM().inverse().multiply(r.getScreenCTM()).translate(e.width/2,e.height/2);return{x:t.e,y:t.f}}function It(r,e){var t=r.enter().append("g").attr("class","edgePath").style("opacity",0);return t.append("path").attr("class","path").attr("d",function(a){var n=e.edge(a),s=e.node(a.v).elem,i=w.range(n.points.length).map(function(){return Nt(s)});return X(n,i)}),t.append("defs"),t}function Dt(r,e){var t=r.exit();y.applyTransition(t,e).style("opacity",0).remove()}var q=function(r,e,t){var a=e.nodes().filter(function(i){return!y.isSubgraph(e,i)}),n=r.selectAll("g.node").data(a,function(i){return i}).classed("update",!0);n.exit().remove(),n.enter().append("g").attr("class","node").style("opacity",0),n=r.selectAll("g.node"),n.each(function(i){var l=e.node(i),c=d.select(this);y.applyClass(c,l.class,(c.classed("update")?"update ":"")+"node"),c.select("g.label").remove();var u=c.append("g").attr("class","label"),o=V(u,l),v=t[l.shape],h=w.pick(o.node().getBBox(),"width","height");l.elem=this,l.id&&c.attr("id",l.id),l.labelId&&u.attr("id",l.labelId),w.has(l,"width")&&(h.width=l.width),w.has(l,"height")&&(h.height=l.height),h.width+=l.paddingLeft+l.paddingRight,h.height+=l.paddingTop+l.paddingBottom,u.attr("transform","translate("+(l.paddingLeft-l.paddingRight)/2+","+(l.paddingTop-l.paddingBottom)/2+")");var f=d.select(this);f.select(".label-container").remove();var g=v(f,h,l).classed("label-container",!0);y.applyStyle(g,l.style);var m=g.node().getBBox();l.width=m.width,l.height=m.height});var s;return n.exit?s=n.exit():s=n.selectAll(null),y.applyTransition(s,e).style("opacity",0).remove(),n};function Mt(r){q=r}function Bt(r,e){var t=r.filter(function(){return!d.select(this).classed("update")});function a(n){var s=e.node(n);return"translate("+s.x+","+s.y+")"}t.attr("transform",a),y.applyTransition(r,e).style("opacity",1).attr("transform",a),y.applyTransition(t.selectAll("rect"),e).attr("width",function(n){return e.node(n).width}).attr("height",function(n){return e.node(n).height}).attr("x",function(n){var s=e.node(n);return-s.width/2}).attr("y",function(n){var s=e.node(n);return-s.height/2})}function Pt(r,e){var t=r.filter(function(){return!d.select(this).classed("update")});function a(n){var s=e.edge(n);return w.has(s,"x")?"translate("+s.x+","+s.y+")":""}t.attr("transform",a),y.applyTransition(r,e).style("opacity",1).attr("transform",a)}function Rt(r,e){var t=r.filter(function(){return!d.select(this).classed("update")});function a(n){var s=e.node(n);return"translate("+s.x+","+s.y+")"}t.attr("transform",a),y.applyTransition(r,e).style("opacity",1).attr("transform",a)}function K(r,e,t,a){var n=r.x,s=r.y,i=n-a.x,l=s-a.y,c=Math.sqrt(e*e*l*l+t*t*i*i),u=Math.abs(e*t*i/c);a.x<n&&(u=-u);var o=Math.abs(e*t*l/c);return a.y<s&&(o=-o),{x:n+u,y:s+o}}function $t(r,e,t){return K(r,e,e,t)}function Gt(r,e,t,a){var n,s,i,l,c,u,o,v,h,f,g,m,p,x,T;if(n=e.y-r.y,i=r.x-e.x,c=e.x*r.y-r.x*e.y,h=n*t.x+i*t.y+c,f=n*a.x+i*a.y+c,!(h!==0&&f!==0&&F(h,f))&&(s=a.y-t.y,l=t.x-a.x,u=a.x*t.y-t.x*a.y,o=s*r.x+l*r.y+u,v=s*e.x+l*e.y+u,!(o!==0&&v!==0&&F(o,v))&&(g=n*l-s*i,g!==0)))return m=Math.abs(g/2),p=i*u-l*c,x=p<0?(p-m)/g:(p+m)/g,p=s*c-n*u,T=p<0?(p-m)/g:(p+m)/g,{x,y:T}}function F(r,e){return r*e>0}function E(r,e,t){var a=r.x,n=r.y,s=[],i=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;e.forEach(function(g){i=Math.min(i,g.x),l=Math.min(l,g.y)});for(var c=a-r.width/2-i,u=n-r.height/2-l,o=0;o<e.length;o++){var v=e[o],h=e[o<e.length-1?o+1:0],f=Gt(r,t,{x:c+v.x,y:u+v.y},{x:c+h.x,y:u+h.y});f&&s.push(f)}return s.length?(s.length>1&&s.sort(function(g,m){var p=g.x-t.x,x=g.y-t.y,T=Math.sqrt(p*p+x*x),N=m.x-t.x,_=m.y-t.y,P=Math.sqrt(N*N+_*_);return T<P?-1:T===P?0:1}),s[0]):(console.log("NO INTERSECTION FOUND, RETURN NODE CENTER",r),r)}function H(r,e){var t=r.x,a=r.y,n=e.x-t,s=e.y-a,i=r.width/2,l=r.height/2,c,u;return Math.abs(s)*i>Math.abs(n)*l?(s<0&&(l=-l),c=s===0?0:l*n/s,u=l):(n<0&&(i=-i),c=i,u=n===0?0:i*s/n),{x:t+c,y:a+u}}var z={rect:Wt,ellipse:qt,circle:zt,diamond:Vt};function Ut(r){z=r}function Wt(r,e,t){var a=r.insert("rect",":first-child").attr("rx",t.rx).attr("ry",t.ry).attr("x",-e.width/2).attr("y",-e.height/2).attr("width",e.width).attr("height",e.height);return t.intersect=function(n){return H(t,n)},a}function qt(r,e,t){var a=e.width/2,n=e.height/2,s=r.insert("ellipse",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("rx",a).attr("ry",n);return t.intersect=function(i){return K(t,a,n,i)},s}function zt(r,e,t){var a=Math.max(e.width,e.height)/2,n=r.insert("circle",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("r",a);return t.intersect=function(s){return $t(t,a,s)},n}function Vt(r,e,t){var a=e.width*Math.SQRT2/2,n=e.height*Math.SQRT2/2,s=[{x:0,y:-n},{x:-a,y:0},{x:0,y:n},{x:a,y:0}],i=r.insert("polygon",":first-child").attr("points",s.map(function(l){return l.x+","+l.y}).join(" "));return t.intersect=function(l){return E(t,s,l)},i}function Ht(){var r=function(e,t){Xt(t);var a=D(e,"output"),n=D(a,"clusters"),s=D(a,"edgePaths"),i=U(D(a,"edgeLabels"),t),l=q(D(a,"nodes"),t,z);ut.layout(t),Rt(l,t),Pt(i,t),W(s,t,$);var c=G(n,t);Bt(c,t),Kt(t)};return r.createNodes=function(e){return arguments.length?(Mt(e),r):q},r.createClusters=function(e){return arguments.length?(Lt(e),r):G},r.createEdgeLabels=function(e){return arguments.length?(_t(e),r):U},r.createEdgePaths=function(e){return arguments.length?(Et(e),r):W},r.shapes=function(e){return arguments.length?(Ut(e),r):z},r.arrows=function(e){return arguments.length?(wt(e),r):$},r}var Yt={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},Ft={arrowhead:"normal",curve:d.curveLinear};function Xt(r){r.nodes().forEach(function(e){var t=r.node(e);!w.has(t,"label")&&!r.children(e).length&&(t.label=e),w.has(t,"paddingX")&&w.defaults(t,{paddingLeft:t.paddingX,paddingRight:t.paddingX}),w.has(t,"paddingY")&&w.defaults(t,{paddingTop:t.paddingY,paddingBottom:t.paddingY}),w.has(t,"padding")&&w.defaults(t,{paddingLeft:t.padding,paddingRight:t.padding,paddingTop:t.padding,paddingBottom:t.padding}),w.defaults(t,Yt),w.each(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(a){t[a]=Number(t[a])}),w.has(t,"width")&&(t._prevWidth=t.width),w.has(t,"height")&&(t._prevHeight=t.height)}),r.edges().forEach(function(e){var t=r.edge(e);w.has(t,"label")||(t.label=""),w.defaults(t,Ft)})}function Kt(r){w.each(r.nodes(),function(e){var t=r.node(e);w.has(t,"_prevWidth")?t.width=t._prevWidth:delete t.width,w.has(t,"_prevHeight")?t.height=t._prevHeight:delete t.height,delete t._prevWidth,delete t._prevHeight})}function D(r,e){var t=r.select("g."+e);return t.empty()&&(t=r.append("g").attr("class",e)),t}function Q(r,e,t){const a=e.width,n=e.height,s=(a+n)*.9,i=[{x:s/2,y:0},{x:s,y:-s/2},{x:s/2,y:-s},{x:0,y:-s/2}],l=C(r,s,s,i);return t.intersect=function(c){return E(t,i,c)},l}function O(r,e,t){const n=e.height,s=n/4,i=e.width+2*s,l=[{x:s,y:0},{x:i-s,y:0},{x:i,y:-n/2},{x:i-s,y:-n},{x:s,y:-n},{x:0,y:-n/2}],c=C(r,i,n,l);return t.intersect=function(u){return E(t,l,u)},c}function J(r,e,t){const a=e.width,n=e.height,s=[{x:-n/2,y:0},{x:a,y:0},{x:a,y:-n},{x:-n/2,y:-n},{x:0,y:-n/2}],i=C(r,a,n,s);return t.intersect=function(l){return E(t,s,l)},i}function Z(r,e,t){const a=e.width,n=e.height,s=[{x:-2*n/6,y:0},{x:a-n/6,y:0},{x:a+2*n/6,y:-n},{x:n/6,y:-n}],i=C(r,a,n,s);return t.intersect=function(l){return E(t,s,l)},i}function j(r,e,t){const a=e.width,n=e.height,s=[{x:2*n/6,y:0},{x:a+n/6,y:0},{x:a-2*n/6,y:-n},{x:-n/6,y:-n}],i=C(r,a,n,s);return t.intersect=function(l){return E(t,s,l)},i}function tt(r,e,t){const a=e.width,n=e.height,s=[{x:-2*n/6,y:0},{x:a+2*n/6,y:0},{x:a-n/6,y:-n},{x:n/6,y:-n}],i=C(r,a,n,s);return t.intersect=function(l){return E(t,s,l)},i}function et(r,e,t){const a=e.width,n=e.height,s=[{x:n/6,y:0},{x:a-n/6,y:0},{x:a+2*n/6,y:-n},{x:-2*n/6,y:-n}],i=C(r,a,n,s);return t.intersect=function(l){return E(t,s,l)},i}function rt(r,e,t){const a=e.width,n=e.height,s=[{x:0,y:0},{x:a+n/2,y:0},{x:a,y:-n/2},{x:a+n/2,y:-n},{x:0,y:-n}],i=C(r,a,n,s);return t.intersect=function(l){return E(t,s,l)},i}function at(r,e,t){const a=e.height,n=e.width+a/4,s=r.insert("rect",":first-child").attr("rx",a/2).attr("ry",a/2).attr("x",-n/2).attr("y",-a/2).attr("width",n).attr("height",a);return t.intersect=function(i){return H(t,i)},s}function nt(r,e,t){const a=e.width,n=e.height,s=[{x:0,y:0},{x:a,y:0},{x:a,y:-n},{x:0,y:-n},{x:0,y:0},{x:-8,y:0},{x:a+8,y:0},{x:a+8,y:-n},{x:-8,y:-n},{x:-8,y:0}],i=C(r,a,n,s);return t.intersect=function(l){return E(t,s,l)},i}function st(r,e,t){const a=e.width,n=a/2,s=n/(2.5+a/50),i=e.height+s,l="M 0,"+s+" a "+n+","+s+" 0,0,0 "+a+" 0 a "+n+","+s+" 0,0,0 "+-a+" 0 l 0,"+i+" a "+n+","+s+" 0,0,0 "+a+" 0 l 0,"+-i,c=r.attr("label-offset-y",s).insert("path",":first-child").attr("d",l).attr("transform","translate("+-a/2+","+-(i/2+s)+")");return t.intersect=function(u){const o=H(t,u),v=o.x-t.x;if(n!=0&&(Math.abs(v)<t.width/2||Math.abs(v)==t.width/2&&Math.abs(o.y-t.y)>t.height/2-s)){let h=s*s*(1-v*v/(n*n));h!=0&&(h=Math.sqrt(h)),h=s-h,u.y-t.y>0&&(h=-h),o.y+=h}return o},c}function Qt(r){r.shapes().question=Q,r.shapes().hexagon=O,r.shapes().stadium=at,r.shapes().subroutine=nt,r.shapes().cylinder=st,r.shapes().rect_left_inv_arrow=J,r.shapes().lean_right=Z,r.shapes().lean_left=j,r.shapes().trapezoid=tt,r.shapes().inv_trapezoid=et,r.shapes().rect_right_inv_arrow=rt}function Ot(r){r({question:Q}),r({hexagon:O}),r({stadium:at}),r({subroutine:nt}),r({cylinder:st}),r({rect_left_inv_arrow:J}),r({lean_right:Z}),r({lean_left:j}),r({trapezoid:tt}),r({inv_trapezoid:et}),r({rect_right_inv_arrow:rt})}function C(r,e,t,a){return r.insert("polygon",":first-child").attr("points",a.map(function(n){return n.x+","+n.y}).join(" ")).attr("transform","translate("+-e/2+","+t/2+")")}const Jt={addToRender:Qt,addToRenderV2:Ot},it={},Zt=function(r){const e=Object.keys(r);for(const t of e)it[t]=r[t]},lt=async function(r,e,t,a,n,s){const i=a?a.select(`[id="${t}"]`):d.select(`[id="${t}"]`),l=n||document,c=Object.keys(r);for(const u of c){const o=r[u];let v="default";o.classes.length>0&&(v=o.classes.join(" "));const h=d.getStylesFromArray(o.styles);let f=o.text!==void 0?o.text:o.id,g;if(d.evaluate(d.getConfig().flowchart.htmlLabels)){const x={label:await d.renderKatex(f.replace(/fa[blrs]?:fa-[\w-]+/g,T=>`<i class='${T.replace(":"," ")}'></i>`),d.getConfig())};g=y.addHtmlLabel(i,x).node(),g.parentNode.removeChild(g)}else{const x=l.createElementNS("http://www.w3.org/2000/svg","text");x.setAttribute("style",h.labelStyle.replace("color:","fill:"));const T=f.split(d.common$1.lineBreakRegex);for(const N of T){const _=l.createElementNS("http://www.w3.org/2000/svg","tspan");_.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),_.setAttribute("dy","1em"),_.setAttribute("x","1"),_.textContent=N,x.appendChild(_)}g=x}let m=0,p="";switch(o.type){case"round":m=5,p="rect";break;case"square":p="rect";break;case"diamond":p="question";break;case"hexagon":p="hexagon";break;case"odd":p="rect_left_inv_arrow";break;case"lean_right":p="lean_right";break;case"lean_left":p="lean_left";break;case"trapezoid":p="trapezoid";break;case"inv_trapezoid":p="inv_trapezoid";break;case"odd_right":p="rect_left_inv_arrow";break;case"circle":p="circle";break;case"ellipse":p="ellipse";break;case"stadium":p="stadium";break;case"subroutine":p="subroutine";break;case"cylinder":p="cylinder";break;case"group":p="rect";break;default:p="rect"}d.log$1.warn("Adding node",o.id,o.domId),e.setNode(s.db.lookUpDomId(o.id),{labelType:"svg",labelStyle:h.labelStyle,shape:p,label:g,rx:m,ry:m,class:v,style:h.style,id:s.db.lookUpDomId(o.id)})}},ot=async function(r,e,t){let a=0,n,s;if(r.defaultStyle!==void 0){const i=d.getStylesFromArray(r.defaultStyle);n=i.style,s=i.labelStyle}for(const i of r){a++;const l="L-"+i.start+"-"+i.end,c="LS-"+i.start,u="LE-"+i.end,o={};i.type==="arrow_open"?o.arrowhead="none":o.arrowhead="normal";let v="",h="";if(i.style!==void 0){const f=d.getStylesFromArray(i.style);v=f.style,h=f.labelStyle}else switch(i.stroke){case"normal":v="fill:none",n!==void 0&&(v=n),s!==void 0&&(h=s);break;case"dotted":v="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":v=" stroke-width: 3.5px;fill:none";break}o.style=v,o.labelStyle=h,i.interpolate!==void 0?o.curve=d.interpolateToCurve(i.interpolate,d.curveLinear):r.defaultInterpolate!==void 0?o.curve=d.interpolateToCurve(r.defaultInterpolate,d.curveLinear):o.curve=d.interpolateToCurve(it.curve,d.curveLinear),i.text===void 0?i.style!==void 0&&(o.arrowheadStyle="fill: #333"):(o.arrowheadStyle="fill: #333",o.labelpos="c",d.evaluate(d.getConfig().flowchart.htmlLabels)?(o.labelType="html",o.label=`<span id="L-${l}" class="edgeLabel L-${c}' L-${u}" style="${o.labelStyle}">${await d.renderKatex(i.text.replace(/fa[blrs]?:fa-[\w-]+/g,f=>`<i class='${f.replace(":"," ")}'></i>`),d.getConfig())}</span>`):(o.labelType="text",o.label=i.text.replace(d.common$1.lineBreakRegex,`
|
|
4
4
|
`),i.style===void 0&&(o.style=o.style||"stroke: #333; stroke-width: 1.5px;fill:none"),o.labelStyle=o.labelStyle.replace("color:","fill:"))),o.id=l,o.class=c+" "+u,o.minlen=i.length||1,e.setEdge(t.db.lookUpDomId(i.start),t.db.lookUpDomId(i.end),o,a)}},jt=function(r,e){return d.log$1.info("Extracting classes"),e.db.getClasses()},te=async function(r,e,t,a){d.log$1.info("Drawing flowchart");const{securityLevel:n,flowchart:s}=d.getConfig();let i;n==="sandbox"&&(i=d.select("#i"+e));const l=n==="sandbox"?d.select(i.nodes()[0].contentDocument.body):d.select("body"),c=n==="sandbox"?i.nodes()[0].contentDocument:document;let u=a.db.getDirection();u===void 0&&(u="TD");const o=s.nodeSpacing||50,v=s.rankSpacing||50,h=new ct.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:u,nodesep:o,ranksep:v,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});let f;const g=a.db.getSubGraphs();for(let b=g.length-1;b>=0;b--)f=g[b],a.db.addVertex(f.id,f.title,"group",void 0,f.classes);const m=a.db.getVertices();d.log$1.warn("Get vertices",m);const p=a.db.getEdges();let x=0;for(x=g.length-1;x>=0;x--){f=g[x],y.selectAll("cluster").append("text");for(let b=0;b<f.nodes.length;b++)d.log$1.warn("Setting subgraph",f.nodes[b],a.db.lookUpDomId(f.nodes[b]),a.db.lookUpDomId(f.id)),h.setParent(a.db.lookUpDomId(f.nodes[b]),a.db.lookUpDomId(f.id))}await lt(m,h,e,l,c,a),await ot(p,h,a);const T=new Ht;Jt.addToRender(T),T.arrows().none=function(S,L,k,I){const A=S.append("marker").attr("id",L).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 0 0 L 0 0 z");y.applyStyle(A,k[I+"Style"])},T.arrows().normal=function(S,L){S.append("marker").attr("id",L).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowheadPath").style("stroke-width",1).style("stroke-dasharray","1,0")};const N=l.select(`[id="${e}"]`),_=l.select("#"+e+" g");for(T(_,h),_.selectAll("g.node").attr("title",function(){return a.db.getTooltip(this.id)}),a.db.indexNodes("subGraph"+x),x=0;x<g.length;x++)if(f=g[x],f.title!=="undefined"){const b=c.querySelectorAll("#"+e+' [id="'+a.db.lookUpDomId(f.id)+'"] rect'),S=c.querySelectorAll("#"+e+' [id="'+a.db.lookUpDomId(f.id)+'"]'),L=b[0].x.baseVal.value,k=b[0].y.baseVal.value,I=b[0].width.baseVal.value,A=d.select(S[0]).select(".label");A.attr("transform",`translate(${L+I/2}, ${k+14})`),A.attr("id",e+"Text");for(let R=0;R<f.classes.length;R++)S[0].classList.add(f.classes[R])}if(!s.htmlLabels){const b=c.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const S of b){const L=S.getBBox(),k=c.createElementNS("http://www.w3.org/2000/svg","rect");k.setAttribute("rx",0),k.setAttribute("ry",0),k.setAttribute("width",L.width),k.setAttribute("height",L.height),S.insertBefore(k,S.firstChild)}}d.setupGraphViewbox$1(h,N,s.diagramPadding,s.useMaxWidth),Object.keys(m).forEach(function(b){const S=m[b];if(S.link){const L=l.select("#"+e+' [id="'+a.db.lookUpDomId(b)+'"]');if(L){const k=c.createElementNS("http://www.w3.org/2000/svg","a");k.setAttributeNS("http://www.w3.org/2000/svg","class",S.classes.join(" ")),k.setAttributeNS("http://www.w3.org/2000/svg","href",S.link),k.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),n==="sandbox"?k.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):S.linkTarget&&k.setAttributeNS("http://www.w3.org/2000/svg","target",S.linkTarget);const I=L.insert(function(){return k},":first-child"),M=L.select(".label-container");M&&I.append(function(){return M.node()});const A=L.select(".label");A&&I.append(function(){return A.node()})}}})},ee={setConf:Zt,addVertices:lt,addEdges:ot,getClasses:jt,draw:te},re={parser:B.parser$1,db:B.flowDb,renderer:y.flowRendererV2,styles:y.flowStyles,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,ee.setConf(r.flowchart),B.flowDb.clear(),B.flowDb.setGen("gen-1")}};exports.diagram=re;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as mt, n as kt, s as _t, a as xt, c as vt, b as bt, g as rt, p as wt, d as Y, Y as St, q as Lt, j as Et } from "./layers.
|
|
2
|
-
import "./layers.
|
|
1
|
+
import { o as mt, n as kt, s as _t, a as xt, c as vt, b as bt, g as rt, p as wt, d as Y, Y as St, q as Lt, j as Et } from "./layers.ClUe3D-5.js";
|
|
2
|
+
import "./layers.gvjLDllh.js";
|
|
3
3
|
import { o as At } from "./layers.b0h5ZBmD.js";
|
|
4
4
|
import { s as Tt } from "./layers.D7jGxypv.js";
|
|
5
5
|
function ot(t, n) {
|