@layers-app/editor 0.0.23 → 0.0.25
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 +1 -1
- package/dist/index.d.ts +6 -44
- package/dist/index.js +1 -1
- package/dist/{layers.BdanmQPF.js → layers.07qQUlOx.js} +1 -1
- package/dist/{layers.CBXpUMze.js → layers.0Uws2RMI.js} +35 -35
- package/dist/{layers.BpXiFzvR.js → layers.2klZ3piU.js} +1 -1
- package/dist/{layers.p9hSNB6N.js → layers.3O2dWJo4.js} +1 -1
- package/dist/{layers.x6ioP3u0.js → layers.3VppN-FK.js} +1 -1
- package/dist/{layers.kY3ZYtED.js → layers.3cmQBPRD.js} +1 -1
- package/dist/{layers.C-G7-Jg3.js → layers.5U29QNMz.js} +1 -1
- package/dist/{layers.CEXVJbhn.js → layers.5s_bUFw7.js} +1 -1
- package/dist/{layers.BFLg4UGe.js → layers.8dwcxQd3.js} +1 -1
- package/dist/{layers.D2q8ZYi2.js → layers.9EMwI8Xs.js} +15 -15
- package/dist/{layers.za1sylgg.js → layers.9tX9hjoM.js} +758 -758
- package/dist/{layers.BBwDvE6l.js → layers.B-eOoyQV.js} +1820 -1814
- package/dist/{layers.CPV5PaJ7.js → layers.B-hOwYRy.js} +1 -1
- package/dist/{layers.PO65UmTA.js → layers.B0LHiU6c.js} +1 -1
- package/dist/{layers.CnD3z0eZ.js → layers.B1psjxfg.js} +1 -1
- package/dist/{layers.BUSnd1Ro.js → layers.B1tTFwlU.js} +1 -1
- package/dist/{layers.B39TZ2WV.js → layers.B3NaBxHH.js} +1 -1
- package/dist/{layers.DIrkcLlA.js → layers.B43rvwKV.js} +63 -63
- package/dist/{layers.Dg8Wbn90.js → layers.B7wN1gyM.js} +1 -1
- package/dist/{layers.tbRLuldN.js → layers.B9ocXRVO.js} +1 -1
- package/dist/{layers.CZh7NZyl.js → layers.BAWbBe9N.js} +1 -1
- package/dist/{layers.Cl9Tl2nd.js → layers.BAaIrX5p.js} +1 -1
- package/dist/layers.BAnc8Y8B.js +118 -0
- package/dist/{layers.CiNAQOA-.js → layers.BB7ssac6.js} +2 -2
- package/dist/{layers.Bz0ApNUe.js → layers.BBm66jcD.js} +14 -14
- package/dist/layers.BGF0mJI-.js +10 -0
- package/dist/{layers.kthR742N.js → layers.BJ2qg5fe.js} +1 -1
- package/dist/{layers.C_dOgKfE.js → layers.BK4BzYSQ.js} +1 -1
- package/dist/{layers.BST6tR9a.js → layers.BKoRqbkc.js} +1 -1
- package/dist/{layers.Bbl6qitU.js → layers.BLvgQy3M.js} +1 -1
- package/dist/{layers.DEfJs03Z.js → layers.BNEX6ffl.js} +1 -1
- package/dist/layers.BOEB6DhN.js +202 -0
- package/dist/{layers.ClaqpFnu.js → layers.BOdIgbDK.js} +2 -2
- package/dist/{layers.DalYdEkL.js → layers.BPTiALoi.js} +4 -4
- package/dist/{layers.B64g6Zx2.js → layers.BQHgH0c0.js} +1 -1
- package/dist/{layers.BFOl7cA-.js → layers.BQUkW6Sr.js} +1 -1
- package/dist/{layers.CphCG076.js → layers.BQdiT-Gc.js} +1 -1
- package/dist/{layers.Cp82yltX.js → layers.BW8tNgnl.js} +1 -1
- package/dist/{layers.CHHqQlm1.js → layers.BWBOjwnD.js} +1 -1
- package/dist/{layers.N4wL2Xyj.js → layers.BWBqFzL5.js} +85 -85
- package/dist/{layers.c_QDfgff.js → layers.BY_Ddtf_.js} +4 -4
- package/dist/{layers.CqM3rL4-.js → layers.B_3SG9-n.js} +1 -1
- package/dist/layers.Bag9ck5N.js +1 -0
- package/dist/{layers.ChAMqLmE.js → layers.Bgs9DWaM.js} +1 -1
- package/dist/{layers.Bv0tGvGl.js → layers.BhjPgUp1.js} +1 -1
- package/dist/{layers.ClQj75nc.js → layers.Bjqq928v.js} +1 -1
- package/dist/{layers.Ch7C0MR9.js → layers.Bk3rEvTi.js} +1 -1
- package/dist/{layers.oFAtdeQ1.js → layers.BlRFAeMZ.js} +3 -3
- package/dist/layers.BlifjyLs.js +2 -0
- package/dist/{layers.BZcZF6Ct.js → layers.BlkvO94n.js} +1 -1
- package/dist/{layers.BPe9NQzP.js → layers.Bm4nXd83.js} +1 -1
- package/dist/{layers.Blho0qwc.js → layers.BmU3A8To.js} +1 -1
- package/dist/{layers.UbqG2dp_.js → layers.Bn8N2Stv.js} +1 -1
- package/dist/{layers.DwLw5o0M.js → layers.BqTvq1WO.js} +1 -1
- package/dist/{layers.CGX7Piy7.js → layers.BtP6vWIY.js} +1 -1
- package/dist/{layers.CDLdte-o.js → layers.Bu0Rv7u8.js} +1 -1
- package/dist/{layers.DAx0hT2g.js → layers.BuJozguU.js} +1 -1
- package/dist/{layers.Dol0x5Jd.js → layers.Bw3R-pSG.js} +1 -1
- package/dist/{layers.hkFN-BS0.js → layers.BwcyrXEu.js} +1 -1
- package/dist/{layers.BBB7YGK1.js → layers.Bwuu3jjm.js} +1 -1
- package/dist/{layers.B9zrmkst.js → layers.BymWa7M3.js} +1 -1
- package/dist/{layers.LOjND5R4.js → layers.BzRmHQQD.js} +2 -2
- package/dist/{layers.Dbuivk7d.js → layers.Bzc44mb4.js} +1 -1
- package/dist/{layers.CwPFdFUT.js → layers.C2b0BhoA.js} +1 -1
- package/dist/{layers.DARK07JA.js → layers.C3vT-_5E.js} +1 -1
- package/dist/{layers.D7HvMBb6.js → layers.C4L1zUgG.js} +1 -1
- package/dist/{layers.CcJ28sUd.js → layers.C6qRV0pD.js} +1 -1
- package/dist/{layers.CDzPpnhN.js → layers.C7_Otsyx.js} +5 -5
- package/dist/{layers.WsdOSV4y.js → layers.C8r5QjFY.js} +1 -1
- package/dist/{layers.5BbX0Xoz.js → layers.C9vJr9Fp.js} +57 -57
- package/dist/layers.CBAObrHU.js +1 -0
- package/dist/layers.CHd51QJn.js +8 -0
- package/dist/{layers.BJMMuP5r.js → layers.CI7Z-Sjj.js} +1 -1
- package/dist/{layers.D9A031XO.js → layers.CJudskXr.js} +2 -2
- package/dist/layers.CLPJWTr_.js +1 -0
- package/dist/{layers.OEP2K3db.js → layers.CM0RbG9c.js} +1 -1
- package/dist/{layers.BXGiOI1Z.js → layers.CNml1ojC.js} +1 -1
- package/dist/{layers.C5uR7AiN.js → layers.CPPtpAVe.js} +1 -1
- package/dist/{layers.Cn6OfRlw.js → layers.CPtjfATq.js} +1 -1
- package/dist/{layers.BYVHkqLR.js → layers.CRVVTbRr.js} +1 -1
- package/dist/{layers.Ym7pRGM7.js → layers.CRuKN3by.js} +3 -3
- package/dist/{layers.BuQ1nJmP.js → layers.CSAdHZgs.js} +1 -1
- package/dist/{layers.CMS1o_sE.js → layers.CSy8D72I.js} +1 -1
- package/dist/{layers.DdTLZZKb.js → layers.CV_r6tXx.js} +6 -6
- package/dist/layers.CVlRuvNG.js +122 -0
- package/dist/{layers.D68FZk66.js → layers.CWWJnwM1.js} +1 -1
- package/dist/{layers.Ck0iJfoW.js → layers.CYPKJ9D_.js} +1 -1
- package/dist/{layers.BO3dqWyO.js → layers.CZ9asRxp.js} +1 -1
- package/dist/{layers.CO4NHmK3.js → layers.CctQZdRR.js} +1 -1
- package/dist/{layers.BjZInKjA.js → layers.Cdw06C7D.js} +2 -2
- package/dist/{layers.DYx3Ot6h.js → layers.Ce8BBqO9.js} +1 -1
- package/dist/{layers.DQCPMqIN.js → layers.CfVH6j0d.js} +1 -1
- package/dist/{layers.lLRqycMO.js → layers.CfyH4z2e.js} +1 -1
- package/dist/{layers.BLSqqbWP.js → layers.CgdtQipl.js} +4 -4
- package/dist/{layers.DFd9A85i.js → layers.CgvOUVzr.js} +4 -4
- package/dist/{layers.gRKbOYG-.js → layers.ChkOb4tl.js} +26 -26
- package/dist/{layers.CR4riLSc.js → layers.Cj6cbW8i.js} +639 -639
- package/dist/{layers.DKPzrygv.js → layers.Cj7ITJ9c.js} +1 -1
- package/dist/{layers.rRMBW9ET.js → layers.CjRpPAKZ.js} +251 -251
- package/dist/{layers.Ba97nTEK.js → layers.CjfoYqS0.js} +1 -1
- package/dist/{layers.CTmkjIN6.js → layers.Ckd9L1ZQ.js} +1 -1
- package/dist/{layers.CQv0GMRl.js → layers.ClpTV2lw.js} +1 -1
- package/dist/{layers.D1cZq8tq.js → layers.CmEuIxO4.js} +3 -3
- package/dist/{layers.Bwpn7zKE.js → layers.CmOPFjvq.js} +1 -1
- package/dist/{layers.DCvUAfE1.js → layers.CnlX6j6i.js} +1 -1
- package/dist/{layers.B-6oGNjd.js → layers.CqEtGCpU.js} +1 -1
- package/dist/{layers.C51kZnWr.js → layers.CqMLQ0Dp.js} +1 -1
- package/dist/{layers.BhM2iCwB.js → layers.CuxIZWEP.js} +1 -1
- package/dist/{layers.PhLwHKUM.js → layers.CvLOVBUw.js} +1 -1
- package/dist/{layers.ChykDTOy.js → layers.Cx6FqSsI.js} +1 -1
- package/dist/{layers.CmHSmrZm.js → layers.CyUKOqQM.js} +1 -1
- package/dist/{layers.DeB3waPT.js → layers.CzsxLGGT.js} +1 -1
- package/dist/{layers.DXTPaWjN.js → layers.D0yiFcqY.js} +1 -1
- package/dist/layers.D1fmxxk7.js +1 -0
- package/dist/{layers.DO-G3uLL.js → layers.D39cRqm0.js} +1 -1
- package/dist/{layers.ChPHYv68.js → layers.D6ec9SRH.js} +1 -1
- package/dist/{layers.BDxQSquK.js → layers.D71p3EhU.js} +1 -1
- package/dist/{layers.-RxAm5pH.js → layers.D8G_zttU.js} +47 -47
- package/dist/{layers.x6Qk2Mwl.js → layers.D8NjLtRn.js} +1 -1
- package/dist/{layers.I-MG0ir4.js → layers.DAkVONDW.js} +6219 -6202
- package/dist/{layers.iw01AOuQ.js → layers.DDE-iai2.js} +96 -96
- package/dist/{layers.DDRgaMwu.js → layers.DDGV6wvn.js} +1 -1
- package/dist/{layers.cp645rbn.js → layers.DDPm1Phd.js} +1 -1
- package/dist/{layers.D3Hkinja.js → layers.DFdD8OE6.js} +1 -1
- package/dist/{layers.gzGcAwbO.js → layers.DGC-QZbD.js} +3 -3
- package/dist/{layers.B9NSFeaj.js → layers.DH6JhdxT.js} +1 -1
- package/dist/{layers.DrtkQKK7.js → layers.DHNgS4o3.js} +1 -1
- package/dist/{layers.k2UyvrHI.js → layers.DHYQaKXy.js} +1 -1
- package/dist/{layers.B0EkntbT.js → layers.DKTUd6cG.js} +1 -1
- package/dist/{layers.Cxmncz59.js → layers.DLShWbE3.js} +1 -1
- package/dist/{layers.C1KhBpGU.js → layers.DMnBSepD.js} +1 -1
- package/dist/{layers.BCFHxkpM.js → layers.DN2-RoYO.js} +1 -1
- package/dist/{layers.BLB-feoT.js → layers.DNvn8evO.js} +1 -1
- package/dist/{layers.DsAtBUs-.js → layers.DPpl1Lyy.js} +5 -5
- package/dist/{layers.paz6tc0L.js → layers.DQevQguw.js} +1 -1
- package/dist/{layers.DK_t52oS.js → layers.DRGcrPPV.js} +390 -390
- package/dist/{layers.Ckbp-T9r.js → layers.DS8xp3z6.js} +1 -1
- package/dist/{layers.D90-hSDT.js → layers.DT2vhESJ.js} +2 -2
- package/dist/{layers.B-ie1_cm.js → layers.DTSzGsqB.js} +1 -1
- package/dist/{layers.Dyqg_e4P.js → layers.DTX-m6B0.js} +1 -1
- package/dist/{layers.Lhl12ohc.js → layers.DUgI8Qm6.js} +1 -1
- package/dist/{layers.fTcEk1do.js → layers.DUt_7Rf9.js} +7 -7
- package/dist/{layers.CZMy0ug4.js → layers.DX5uxco3.js} +1 -1
- package/dist/{layers.C6Rn8zoI.js → layers.DYoOWsyB.js} +1 -1
- package/dist/layers.DZVs6rl-.js +65 -0
- package/dist/{layers.Bfd5bOAD.js → layers.DZxo3Qo-.js} +1 -1
- package/dist/{layers.ChJyurjQ.js → layers.DaNHv_tD.js} +1 -1
- package/dist/{layers.Bk2PdkMX.js → layers.DbSjlXkz.js} +1 -1
- package/dist/{layers.D2vOkfMK.js → layers.Dc_OXuAO.js} +1 -1
- package/dist/{layers.BIVmclKv.js → layers.Dg4aFQbj.js} +1 -1
- package/dist/{layers.DHbdkCCU.js → layers.Dh8vVrkJ.js} +1 -1
- package/dist/{layers.gaT5_-NN.js → layers.DhaEWWE8.js} +1 -1
- package/dist/{layers.CH23k4XD.js → layers.DhiiM0nu.js} +1 -1
- package/dist/{layers.BEE5yqs5.js → layers.Dj1RvABZ.js} +1 -1
- package/dist/{layers.BBU3ik5q.js → layers.DnhB9nfo.js} +3 -3
- package/dist/{layers.DxGDxkXA.js → layers.Dp_lp9sc.js} +47 -47
- package/dist/{layers.CCRe_IA7.js → layers.DpoqH_qu.js} +1 -1
- package/dist/{layers.Y41CVpLS.js → layers.DtYpqqY0.js} +33 -33
- package/dist/{layers.CvJxfPxo.js → layers.Dtt8if_X.js} +1 -1
- package/dist/{layers.Dyor8Hot.js → layers.Du5-W3Rw.js} +28 -28
- package/dist/{layers.CeMe5scF.js → layers.Dv3wcPBB.js} +1 -1
- package/dist/{layers.CR10RAJi.js → layers.DvVe2_B8.js} +2 -2
- package/dist/{layers.BDhuxbhX.js → layers.Dw80oYJ5.js} +1 -1
- package/dist/{layers.-rS-aTo2.js → layers.Dx5bTjWn.js} +1 -1
- package/dist/{layers.HcI9cOEd.js → layers.DyUhnefH.js} +47 -47
- package/dist/{layers.DhiFm4jW.js → layers.EqE20WDv.js} +1 -1
- package/dist/{layers.L_XjkGw6.js → layers.GO-Mbd7I.js} +16 -16
- package/dist/{layers.CnloMtKN.js → layers.HRFT_ZjM.js} +14 -14
- package/dist/{layers.DhzTwBn5.js → layers.KCNY5y8z.js} +1 -1
- package/dist/{layers.Dklz2JqP.js → layers.KFKejNxr.js} +1 -1
- package/dist/{layers.D-ZYFolm.js → layers.LBCOqtdP.js} +1 -1
- package/dist/{layers.B_Hf0SF-.js → layers.MYNPCNPb.js} +517 -517
- package/dist/{layers.FstVqdQC.js → layers.Mz6hy1ns.js} +151 -151
- package/dist/{layers.Dxrm0nEM.js → layers.NnXYAx13.js} +140 -140
- package/dist/layers.O_QfH9Tw.js +55 -0
- package/dist/{layers.Cx14IKzN.js → layers.PrN0U_UM.js} +1 -1
- package/dist/{layers.Dzc83sE7.js → layers.Q4CIFfze.js} +1 -1
- package/dist/{layers.D_MU5WlI.js → layers.R44OAZRP.js} +1 -1
- package/dist/{layers.BvZFIFgz.js → layers.SP95Qof2.js} +1 -1
- package/dist/{layers.I5-pSyca.js → layers.SulLxOdh.js} +1 -1
- package/dist/{layers.C3K_Whht.js → layers.T0eE6tga.js} +1 -1
- package/dist/{layers.BHDiP2sq.js → layers.UHP1RD2c.js} +1482 -1482
- package/dist/{layers.BD5uUnI2.js → layers.UVNd1xGx.js} +279 -279
- package/dist/{layers.Ci0x4aAi.js → layers.WoRsWqkn.js} +5 -5
- package/dist/{layers.BPnpanwd.js → layers.Xe8jbEny.js} +1 -1
- package/dist/{layers.DMvWe0pJ.js → layers.ZN4JdEjx.js} +2 -2
- package/dist/layers.ZYL9xgWP.js +6 -0
- package/dist/{layers.B6UkAKu5.js → layers._hbnQs16.js} +78 -78
- package/dist/{layers.BkMfeJ9R.js → layers.dRKtVcxx.js} +1 -1
- package/dist/{layers.C0bumYdC.js → layers.eMCYstYw.js} +1 -1
- package/dist/{layers.BUkDq4ln.js → layers.eT0cgnuX.js} +1 -1
- package/dist/{layers.B0pdr1hX.js → layers.iE9hmQyV.js} +33 -33
- package/dist/{layers.B3odqoHb.js → layers.iRxcG0YN.js} +1 -1
- package/dist/{layers.D18RSmmQ.js → layers.kyTkLvwr.js} +1 -1
- package/dist/{layers.CClfR9Rs.js → layers.otSGVgrf.js} +10347 -11483
- package/dist/{layers.dqI-yLmM.js → layers.pAr6m-ST.js} +1 -1
- package/dist/{layers.2ODaB2Pd.js → layers.qxHQ5s48.js} +1 -1
- package/dist/{layers.B8i9d7Qz.js → layers.qzkyQd0J.js} +36 -30
- package/dist/{layers.BoabOlrX.js → layers.rB_UamkL.js} +1 -1
- package/dist/{layers.DElpVOY-.js → layers.vK-UofJJ.js} +1 -1
- package/dist/{layers.C5rttXXy.js → layers.vfmwTFt7.js} +4 -4
- package/dist/{layers.DXaSAlDN.js → layers.vrKjaGL3.js} +1 -1
- package/dist/{layers.Ci0QS82_.js → layers.wXI8z3zK.js} +1 -1
- package/dist/{layers.CGc04km7.js → layers.z_R2M9xA.js} +1 -1
- package/dist/{layers.DGZUGztZ.js → layers.zleGKGQR.js} +29 -29
- package/dist/{layers.CSjWzlk9.js → layers.zx6fFkwC.js} +1 -1
- package/package.json +1 -4
- package/dist/layers.BK01wvsE.js +0 -10
- package/dist/layers.BQLZhz6B.js +0 -6
- package/dist/layers.BUsBCyiL.js +0 -202
- package/dist/layers.BkjjkAwW.js +0 -2
- package/dist/layers.BwfB_nzW.js +0 -8
- package/dist/layers.CQXDzk5h.js +0 -1
- package/dist/layers.CeVpKhli.js +0 -122
- package/dist/layers.DTDpNGfk.js +0 -1
- package/dist/layers.Dk9dbz6F.js +0 -118
- package/dist/layers.DtoCH9Nn.js +0 -1
- package/dist/layers.DzaH7mDC.js +0 -65
- package/dist/layers.Tatx7z0m.js +0 -55
- package/dist/layers.h0tSRttU.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as g, r as lt, g as b, t as H, d as E, u as j, i as q, v as Q } from "./layers.
|
|
2
|
-
import { c as st } from "./layers.
|
|
3
|
-
import { l as ct } from "./layers
|
|
1
|
+
import { l as g, r as lt, g as b, t as H, d as E, u as j, i as q, v as Q } from "./layers.B-eOoyQV.js";
|
|
2
|
+
import { c as st } from "./layers.Bm4nXd83.js";
|
|
3
|
+
import { l as ct } from "./layers.Dx5bTjWn.js";
|
|
4
4
|
const ht = (e, t, a, i) => {
|
|
5
5
|
t.forEach((l) => {
|
|
6
6
|
wt[l](e, a, i);
|
|
@@ -9,13 +9,13 @@ const ht = (e, t, a, i) => {
|
|
|
9
9
|
g.trace("Making markers for ", a), e.append("defs").append("marker").attr("id", a + "_" + t + "-extensionStart").attr("class", "marker extension " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 1,7 L18,13 V 1 Z"), e.append("defs").append("marker").attr("id", a + "_" + t + "-extensionEnd").attr("class", "marker extension " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 1,1 V 13 L18,7 Z");
|
|
10
10
|
}, yt = (e, t, a) => {
|
|
11
11
|
e.append("defs").append("marker").attr("id", a + "_" + t + "-compositionStart").attr("class", "marker composition " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", a + "_" + t + "-compositionEnd").attr("class", "marker composition " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
|
|
12
|
-
}, ft = (e, t, a) => {
|
|
13
|
-
e.append("defs").append("marker").attr("id", a + "_" + t + "-aggregationStart").attr("class", "marker aggregation " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", a + "_" + t + "-aggregationEnd").attr("class", "marker aggregation " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
|
|
14
12
|
}, pt = (e, t, a) => {
|
|
13
|
+
e.append("defs").append("marker").attr("id", a + "_" + t + "-aggregationStart").attr("class", "marker aggregation " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", a + "_" + t + "-aggregationEnd").attr("class", "marker aggregation " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
|
|
14
|
+
}, ft = (e, t, a) => {
|
|
15
15
|
e.append("defs").append("marker").attr("id", a + "_" + t + "-dependencyStart").attr("class", "marker dependency " + t).attr("refX", 6).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 5,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", a + "_" + t + "-dependencyEnd").attr("class", "marker dependency " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
|
|
16
|
-
}, dt = (e, t, a) => {
|
|
17
|
-
e.append("defs").append("marker").attr("id", a + "_" + t + "-lollipopStart").attr("class", "marker lollipop " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("circle").attr("stroke", "black").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6), e.append("defs").append("marker").attr("id", a + "_" + t + "-lollipopEnd").attr("class", "marker lollipop " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("circle").attr("stroke", "black").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6);
|
|
18
16
|
}, xt = (e, t, a) => {
|
|
17
|
+
e.append("defs").append("marker").attr("id", a + "_" + t + "-lollipopStart").attr("class", "marker lollipop " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("circle").attr("stroke", "black").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6), e.append("defs").append("marker").attr("id", a + "_" + t + "-lollipopEnd").attr("class", "marker lollipop " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("circle").attr("stroke", "black").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6);
|
|
18
|
+
}, dt = (e, t, a) => {
|
|
19
19
|
e.append("marker").attr("id", a + "_" + t + "-pointEnd").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 6).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", a + "_" + t + "-pointStart").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 4.5).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 0 5 L 10 10 L 10 0 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0");
|
|
20
20
|
}, gt = (e, t, a) => {
|
|
21
21
|
e.append("marker").attr("id", a + "_" + t + "-circleEnd").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 11).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", a + "_" + t + "-circleStart").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", -1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0");
|
|
@@ -26,10 +26,10 @@ const ht = (e, t, a, i) => {
|
|
|
26
26
|
}, wt = {
|
|
27
27
|
extension: ot,
|
|
28
28
|
composition: yt,
|
|
29
|
-
aggregation:
|
|
30
|
-
dependency:
|
|
31
|
-
lollipop:
|
|
32
|
-
point:
|
|
29
|
+
aggregation: pt,
|
|
30
|
+
dependency: ft,
|
|
31
|
+
lollipop: xt,
|
|
32
|
+
point: dt,
|
|
33
33
|
circle: gt,
|
|
34
34
|
cross: ut,
|
|
35
35
|
barb: bt
|
|
@@ -90,16 +90,16 @@ const vt = (e, t, a, i) => {
|
|
|
90
90
|
)
|
|
91
91
|
);
|
|
92
92
|
let y = h.getBBox();
|
|
93
|
-
const
|
|
93
|
+
const f = t.padding / 2;
|
|
94
94
|
if (H(b().flowchart.htmlLabels)) {
|
|
95
|
-
const
|
|
95
|
+
const p = h.children[0], d = E(h), k = p.getElementsByTagName("img");
|
|
96
96
|
if (k) {
|
|
97
|
-
const
|
|
97
|
+
const x = c.replace(/<img[^>]*>/g, "").trim() === "";
|
|
98
98
|
await Promise.all(
|
|
99
99
|
[...k].map(
|
|
100
100
|
(u) => new Promise((S) => {
|
|
101
101
|
function B() {
|
|
102
|
-
if (u.style.display = "flex", u.style.flexDirection = "column",
|
|
102
|
+
if (u.style.display = "flex", u.style.flexDirection = "column", x) {
|
|
103
103
|
const C = b().fontSize ? b().fontSize : window.getComputedStyle(document.body).fontSize, D = parseInt(C, 10) * 5 + "px";
|
|
104
104
|
u.style.minWidth = D, u.style.maxWidth = D;
|
|
105
105
|
} else
|
|
@@ -113,9 +113,9 @@ const vt = (e, t, a, i) => {
|
|
|
113
113
|
)
|
|
114
114
|
);
|
|
115
115
|
}
|
|
116
|
-
y =
|
|
116
|
+
y = p.getBoundingClientRect(), d.attr("width", y.width), d.attr("height", y.height);
|
|
117
117
|
}
|
|
118
|
-
return r ? n.attr("transform", "translate(" + -y.width / 2 + ", " + -y.height / 2 + ")") : n.attr("transform", "translate(0, " + -y.height / 2 + ")"), t.centerLabel && n.attr("transform", "translate(" + -y.width / 2 + ", " + -y.height / 2 + ")"), n.insert("rect", ":first-child"), { shapeSvg: s, bbox: y, halfPadding:
|
|
118
|
+
return r ? n.attr("transform", "translate(" + -y.width / 2 + ", " + -y.height / 2 + ")") : n.attr("transform", "translate(0, " + -y.height / 2 + ")"), t.centerLabel && n.attr("transform", "translate(" + -y.width / 2 + ", " + -y.height / 2 + ")"), n.insert("rect", ":first-child"), { shapeSvg: s, bbox: y, halfPadding: f, label: n };
|
|
119
119
|
}, m = (e, t) => {
|
|
120
120
|
const a = t.node().getBBox();
|
|
121
121
|
e.width = a.width, e.height = a.height;
|
|
@@ -141,29 +141,29 @@ function St(e, t, a) {
|
|
|
141
141
|
return it(e, t, t, a);
|
|
142
142
|
}
|
|
143
143
|
function Mt(e, t, a, i) {
|
|
144
|
-
var l, r, s, n, c, o, h, y,
|
|
145
|
-
if (l = t.y - e.y, s = e.x - t.x, c = t.x * e.y - e.x * t.y,
|
|
146
|
-
return k = Math.abs(
|
|
144
|
+
var l, r, s, n, c, o, h, y, f, p, d, k, x, u, S;
|
|
145
|
+
if (l = t.y - e.y, s = e.x - t.x, c = t.x * e.y - e.x * t.y, f = l * a.x + s * a.y + c, p = l * i.x + s * i.y + c, !(f !== 0 && p !== 0 && J(f, p)) && (r = i.y - a.y, n = a.x - i.x, o = i.x * a.y - a.x * i.y, h = r * e.x + n * e.y + o, y = r * t.x + n * t.y + o, !(h !== 0 && y !== 0 && J(h, y)) && (d = l * n - r * s, d !== 0)))
|
|
146
|
+
return k = Math.abs(d / 2), x = s * o - n * c, u = x < 0 ? (x - k) / d : (x + k) / d, x = r * c - l * o, S = x < 0 ? (x - k) / d : (x + k) / d, { x: u, y: S };
|
|
147
147
|
}
|
|
148
148
|
function J(e, t) {
|
|
149
149
|
return e * t > 0;
|
|
150
150
|
}
|
|
151
151
|
function Tt(e, t, a) {
|
|
152
152
|
var i = e.x, l = e.y, r = [], s = Number.POSITIVE_INFINITY, n = Number.POSITIVE_INFINITY;
|
|
153
|
-
typeof t.forEach == "function" ? t.forEach(function(
|
|
154
|
-
s = Math.min(s,
|
|
153
|
+
typeof t.forEach == "function" ? t.forEach(function(d) {
|
|
154
|
+
s = Math.min(s, d.x), n = Math.min(n, d.y);
|
|
155
155
|
}) : (s = Math.min(s, t.x), n = Math.min(n, t.y));
|
|
156
156
|
for (var c = i - e.width / 2 - s, o = l - e.height / 2 - n, h = 0; h < t.length; h++) {
|
|
157
|
-
var y = t[h],
|
|
157
|
+
var y = t[h], f = t[h < t.length - 1 ? h + 1 : 0], p = Mt(
|
|
158
158
|
e,
|
|
159
159
|
a,
|
|
160
160
|
{ x: c + y.x, y: o + y.y },
|
|
161
|
-
{ x: c +
|
|
161
|
+
{ x: c + f.x, y: o + f.y }
|
|
162
162
|
);
|
|
163
|
-
|
|
163
|
+
p && r.push(p);
|
|
164
164
|
}
|
|
165
|
-
return r.length ? (r.length > 1 && r.sort(function(
|
|
166
|
-
var
|
|
165
|
+
return r.length ? (r.length > 1 && r.sort(function(d, k) {
|
|
166
|
+
var x = d.x - a.x, u = d.y - a.y, S = Math.sqrt(x * x + u * u), B = k.x - a.x, C = k.y - a.y, X = Math.sqrt(B * B + C * C);
|
|
167
167
|
return S < X ? -1 : S === X ? 0 : 1;
|
|
168
168
|
}), r[0]) : e;
|
|
169
169
|
}
|
|
@@ -487,10 +487,10 @@ const Bt = (e, t) => {
|
|
|
487
487
|
!0
|
|
488
488
|
), l = i.width + t.padding, r = l / 2, s = r / (2.5 + l / 50), n = i.height + s + t.padding, c = "M 0," + s + " a " + r + "," + s + " 0,0,0 " + l + " 0 a " + r + "," + s + " 0,0,0 " + -l + " 0 l 0," + n + " a " + r + "," + s + " 0,0,0 " + l + " 0 l 0," + -n, o = a.attr("label-offset-y", s).insert("path", ":first-child").attr("style", t.style).attr("d", c).attr("transform", "translate(" + -l / 2 + "," + -(n / 2 + s) + ")");
|
|
489
489
|
return m(t, o), t.intersect = function(h) {
|
|
490
|
-
const y = w.rect(t, h),
|
|
491
|
-
if (r != 0 && (Math.abs(
|
|
492
|
-
let
|
|
493
|
-
|
|
490
|
+
const y = w.rect(t, h), f = y.x - t.x;
|
|
491
|
+
if (r != 0 && (Math.abs(f) < t.width / 2 || Math.abs(f) == t.width / 2 && Math.abs(y.y - t.y) > t.height / 2 - s)) {
|
|
492
|
+
let p = s * s * (1 - f * f / (r * r));
|
|
493
|
+
p != 0 && (p = Math.sqrt(p)), p = s - p, h.y - t.y > 0 && (p = -p), y.y += p;
|
|
494
494
|
}
|
|
495
495
|
return y;
|
|
496
496
|
}, a;
|
|
@@ -557,32 +557,32 @@ const Gt = (e, t) => {
|
|
|
557
557
|
const o = s.node().appendChild(R(c, t.labelStyle, !0, !0));
|
|
558
558
|
let h = { width: 0, height: 0 };
|
|
559
559
|
if (H(b().flowchart.htmlLabels)) {
|
|
560
|
-
const k = o.children[0],
|
|
561
|
-
h = k.getBoundingClientRect(),
|
|
560
|
+
const k = o.children[0], x = E(o);
|
|
561
|
+
h = k.getBoundingClientRect(), x.attr("width", h.width), x.attr("height", h.height);
|
|
562
562
|
}
|
|
563
563
|
g.info("Text 2", n);
|
|
564
564
|
const y = n.slice(1, n.length);
|
|
565
|
-
let
|
|
566
|
-
const
|
|
565
|
+
let f = o.getBBox();
|
|
566
|
+
const p = s.node().appendChild(
|
|
567
567
|
R(y.join ? y.join("<br/>") : y, t.labelStyle, !0, !0)
|
|
568
568
|
);
|
|
569
569
|
if (H(b().flowchart.htmlLabels)) {
|
|
570
|
-
const k =
|
|
571
|
-
h = k.getBoundingClientRect(),
|
|
570
|
+
const k = p.children[0], x = E(p);
|
|
571
|
+
h = k.getBoundingClientRect(), x.attr("width", h.width), x.attr("height", h.height);
|
|
572
572
|
}
|
|
573
|
-
const
|
|
574
|
-
return E(
|
|
573
|
+
const d = t.padding / 2;
|
|
574
|
+
return E(p).attr(
|
|
575
575
|
"transform",
|
|
576
576
|
"translate( " + // (titleBox.width - bbox.width) / 2 +
|
|
577
|
-
(h.width >
|
|
577
|
+
(h.width > f.width ? 0 : (f.width - h.width) / 2) + ", " + (f.height + d + 5) + ")"
|
|
578
578
|
), E(o).attr(
|
|
579
579
|
"transform",
|
|
580
580
|
"translate( " + // (titleBox.width - bbox.width) / 2 +
|
|
581
|
-
(h.width <
|
|
581
|
+
(h.width < f.width ? 0 : -(f.width - h.width) / 2) + ", 0)"
|
|
582
582
|
), h = s.node().getBBox(), s.attr(
|
|
583
583
|
"transform",
|
|
584
|
-
"translate(" + -h.width / 2 + ", " + (-h.height / 2 -
|
|
585
|
-
), l.attr("class", "outer title-state").attr("x", -h.width / 2 -
|
|
584
|
+
"translate(" + -h.width / 2 + ", " + (-h.height / 2 - d + 3) + ")"
|
|
585
|
+
), l.attr("class", "outer title-state").attr("x", -h.width / 2 - d).attr("y", -h.height / 2 - d).attr("width", h.width + t.padding).attr("height", h.height + t.padding), r.attr("class", "divider").attr("x1", -h.width / 2 - d).attr("x2", h.width / 2 + d).attr("y1", -h.height / 2 - d + f.height + d).attr("y2", -h.height / 2 - d + f.height + d), m(t, l), t.intersect = function(k) {
|
|
586
586
|
return w.rect(t, k);
|
|
587
587
|
}, i;
|
|
588
588
|
}, Ft = async (e, t) => {
|
|
@@ -660,18 +660,18 @@ const Gt = (e, t) => {
|
|
|
660
660
|
t.classes ? r = "node " + t.classes : r = "node default";
|
|
661
661
|
const s = e.insert("g").attr("class", r).attr("id", t.domId || t.id), n = s.insert("rect", ":first-child"), c = s.insert("line"), o = s.insert("line");
|
|
662
662
|
let h = 0, y = i;
|
|
663
|
-
const
|
|
664
|
-
let
|
|
665
|
-
const
|
|
666
|
-
let u =
|
|
663
|
+
const f = s.insert("g").attr("class", "label");
|
|
664
|
+
let p = 0;
|
|
665
|
+
const d = t.classData.annotations && t.classData.annotations[0], k = t.classData.annotations[0] ? "«" + t.classData.annotations[0] + "»" : "", x = f.node().appendChild(R(k, t.labelStyle, !0, !0));
|
|
666
|
+
let u = x.getBBox();
|
|
667
667
|
if (H(b().flowchart.htmlLabels)) {
|
|
668
|
-
const v =
|
|
668
|
+
const v = x.children[0], L = E(x);
|
|
669
669
|
u = v.getBoundingClientRect(), L.attr("width", u.width), L.attr("height", u.height);
|
|
670
670
|
}
|
|
671
671
|
t.classData.annotations[0] && (y += u.height + i, h += u.width);
|
|
672
672
|
let S = t.classData.label;
|
|
673
673
|
t.classData.type !== void 0 && t.classData.type !== "" && (b().flowchart.htmlLabels ? S += "<" + t.classData.type + ">" : S += "<" + t.classData.type + ">");
|
|
674
|
-
const B =
|
|
674
|
+
const B = f.node().appendChild(R(S, t.labelStyle, !0, !0));
|
|
675
675
|
E(B).attr("class", "classTitle");
|
|
676
676
|
let C = B.getBBox();
|
|
677
677
|
if (H(b().flowchart.htmlLabels)) {
|
|
@@ -684,7 +684,7 @@ const Gt = (e, t) => {
|
|
|
684
684
|
const L = v.getDisplayDetails();
|
|
685
685
|
let W = L.displayText;
|
|
686
686
|
b().flowchart.htmlLabels && (W = W.replace(/</g, "<").replace(/>/g, ">"));
|
|
687
|
-
const N =
|
|
687
|
+
const N = f.node().appendChild(
|
|
688
688
|
R(
|
|
689
689
|
W,
|
|
690
690
|
L.cssStyle ? L.cssStyle : t.labelStyle,
|
|
@@ -704,7 +704,7 @@ const Gt = (e, t) => {
|
|
|
704
704
|
const L = v.getDisplayDetails();
|
|
705
705
|
let W = L.displayText;
|
|
706
706
|
b().flowchart.htmlLabels && (W = W.replace(/</g, "<").replace(/>/g, ">"));
|
|
707
|
-
const N =
|
|
707
|
+
const N = f.node().appendChild(
|
|
708
708
|
R(
|
|
709
709
|
W,
|
|
710
710
|
L.cssStyle ? L.cssStyle : t.labelStyle,
|
|
@@ -718,31 +718,31 @@ const Gt = (e, t) => {
|
|
|
718
718
|
$ = F.getBoundingClientRect(), A.attr("width", $.width), A.attr("height", $.height);
|
|
719
719
|
}
|
|
720
720
|
$.width > h && (h = $.width), y += $.height + i, D.push(N);
|
|
721
|
-
}), y += l,
|
|
721
|
+
}), y += l, d) {
|
|
722
722
|
let v = (h - u.width) / 2;
|
|
723
|
-
E(
|
|
723
|
+
E(x).attr(
|
|
724
724
|
"transform",
|
|
725
725
|
"translate( " + (-1 * h / 2 + v) + ", " + -1 * y / 2 + ")"
|
|
726
|
-
),
|
|
726
|
+
), p = u.height + i;
|
|
727
727
|
}
|
|
728
728
|
let nt = (h - C.width) / 2;
|
|
729
729
|
return E(B).attr(
|
|
730
730
|
"transform",
|
|
731
|
-
"translate( " + (-1 * h / 2 + nt) + ", " + (-1 * y / 2 +
|
|
732
|
-
),
|
|
731
|
+
"translate( " + (-1 * h / 2 + nt) + ", " + (-1 * y / 2 + p) + ")"
|
|
732
|
+
), p += C.height + i, c.attr("class", "divider").attr("x1", -h / 2 - a).attr("x2", h / 2 + a).attr("y1", -y / 2 - a + l + p).attr("y2", -y / 2 - a + l + p), p += l, X.forEach((v) => {
|
|
733
733
|
E(v).attr(
|
|
734
734
|
"transform",
|
|
735
|
-
"translate( " + -h / 2 + ", " + (-1 * y / 2 +
|
|
735
|
+
"translate( " + -h / 2 + ", " + (-1 * y / 2 + p + l / 2) + ")"
|
|
736
736
|
);
|
|
737
737
|
const L = v == null ? void 0 : v.getBBox();
|
|
738
|
-
|
|
739
|
-
}),
|
|
738
|
+
p += ((L == null ? void 0 : L.height) ?? 0) + i;
|
|
739
|
+
}), p += l, o.attr("class", "divider").attr("x1", -h / 2 - a).attr("x2", h / 2 + a).attr("y1", -y / 2 - a + l + p).attr("y2", -y / 2 - a + l + p), p += l, D.forEach((v) => {
|
|
740
740
|
E(v).attr(
|
|
741
741
|
"transform",
|
|
742
|
-
"translate( " + -h / 2 + ", " + (-1 * y / 2 +
|
|
742
|
+
"translate( " + -h / 2 + ", " + (-1 * y / 2 + p) + ")"
|
|
743
743
|
);
|
|
744
744
|
const L = v == null ? void 0 : v.getBBox();
|
|
745
|
-
|
|
745
|
+
p += ((L == null ? void 0 : L.height) ?? 0) + i;
|
|
746
746
|
}), n.attr("style", t.style).attr("class", "outer title-state").attr("x", -h / 2 - a).attr("y", -(y / 2) - a).attr("width", h + t.padding).attr("height", y + t.padding), m(t, n), t.intersect = function(v) {
|
|
747
747
|
return w.rect(t, v);
|
|
748
748
|
}, s;
|
|
@@ -785,9 +785,9 @@ const or = async (e, t, a) => {
|
|
|
785
785
|
return t.tooltip && l.attr("title", t.tooltip), t.class && l.attr("class", "node default " + t.class), i.attr("data-node", "true"), i.attr("data-id", t.id), Y[t.id] = i, t.haveCallback && Y[t.id].attr("class", Y[t.id].attr("class") + " clickable"), i;
|
|
786
786
|
}, yr = (e, t) => {
|
|
787
787
|
Y[t.id] = e;
|
|
788
|
-
},
|
|
788
|
+
}, pr = () => {
|
|
789
789
|
Y = {};
|
|
790
|
-
},
|
|
790
|
+
}, fr = (e) => {
|
|
791
791
|
const t = Y[e.id];
|
|
792
792
|
g.trace(
|
|
793
793
|
"Transforming node",
|
|
@@ -876,9 +876,9 @@ const Z = (e) => Array.isArray(e) ? { x: e[0], y: e[1] } : e, rr = (e) => ({
|
|
|
876
876
|
e.attr(`marker-${t}`, `url(${i}#${l}_${r}-${s}${n})`);
|
|
877
877
|
};
|
|
878
878
|
let G = {}, T = {};
|
|
879
|
-
const
|
|
879
|
+
const xr = () => {
|
|
880
880
|
G = {}, T = {};
|
|
881
|
-
},
|
|
881
|
+
}, dr = (e, t) => {
|
|
882
882
|
const a = H(b().flowchart.htmlLabels), i = t.labelType === "markdown" ? st(e, t.label, {
|
|
883
883
|
style: t.labelStyle,
|
|
884
884
|
useHtmlLabels: a,
|
|
@@ -998,15 +998,15 @@ const gr = (e, t) => {
|
|
|
998
998
|
if (Math.abs(l - t.y) * s > Math.abs(i - t.x) * c) {
|
|
999
999
|
let y = a.y < t.y ? t.y - c - l : l - c - t.y;
|
|
1000
1000
|
n = h * y / o;
|
|
1001
|
-
const
|
|
1001
|
+
const f = {
|
|
1002
1002
|
x: a.x < t.x ? a.x + n : a.x - h + n,
|
|
1003
1003
|
y: a.y < t.y ? a.y + o - y : a.y - o + y
|
|
1004
1004
|
};
|
|
1005
|
-
return n === 0 && (
|
|
1005
|
+
return n === 0 && (f.x = t.x, f.y = t.y), h === 0 && (f.x = t.x), o === 0 && (f.y = t.y), g.debug(`abc89 topp/bott calc, Q ${o}, q ${y}, R ${h}, r ${n}`, f), f;
|
|
1006
1006
|
} else {
|
|
1007
1007
|
a.x < t.x ? n = t.x - s - i : n = i - s - t.x;
|
|
1008
|
-
let y = o * n / h,
|
|
1009
|
-
return g.debug(`sides calc abc89, Q ${o}, q ${y}, R ${h}, r ${n}`, { _x:
|
|
1008
|
+
let y = o * n / h, f = a.x < t.x ? a.x + h - n : a.x - h + n, p = a.y < t.y ? a.y + y : a.y - y;
|
|
1009
|
+
return g.debug(`sides calc abc89, Q ${o}, q ${y}, R ${h}, r ${n}`, { _x: f, _y: p }), n === 0 && (f = t.x, p = t.y), h === 0 && (f = t.x), o === 0 && (p = t.y), { x: f, y: p };
|
|
1010
1010
|
}
|
|
1011
1011
|
}, et = (e, t) => {
|
|
1012
1012
|
g.debug("abc88 cutPathAtIntersect", e, t);
|
|
@@ -1029,35 +1029,35 @@ const gr = (e, t) => {
|
|
|
1029
1029
|
var h = r.node(t.w);
|
|
1030
1030
|
h != null && h.intersect && (o != null && o.intersect) && (n = n.slice(1, a.points.length - 1), n.unshift(o.intersect(n[0])), n.push(h.intersect(n[n.length - 1]))), a.toCluster && (g.debug("to cluster abc88", i[a.toCluster]), n = et(a.points, i[a.toCluster].node), c = !0), a.fromCluster && (g.debug("from cluster abc88", i[a.fromCluster]), n = et(n.reverse(), i[a.fromCluster].node).reverse(), c = !0);
|
|
1031
1031
|
const y = n.filter((C) => !Number.isNaN(C.y));
|
|
1032
|
-
let
|
|
1033
|
-
a.curve && (l === "graph" || l === "flowchart") && (
|
|
1034
|
-
const { x:
|
|
1035
|
-
let
|
|
1032
|
+
let f = lt;
|
|
1033
|
+
a.curve && (l === "graph" || l === "flowchart") && (f = a.curve);
|
|
1034
|
+
const { x: p, y: d } = rr(a), k = ct().x(p).y(d).curve(f);
|
|
1035
|
+
let x;
|
|
1036
1036
|
switch (a.thickness) {
|
|
1037
1037
|
case "normal":
|
|
1038
|
-
|
|
1038
|
+
x = "edge-thickness-normal";
|
|
1039
1039
|
break;
|
|
1040
1040
|
case "thick":
|
|
1041
|
-
|
|
1041
|
+
x = "edge-thickness-thick";
|
|
1042
1042
|
break;
|
|
1043
1043
|
case "invisible":
|
|
1044
|
-
|
|
1044
|
+
x = "edge-thickness-thick";
|
|
1045
1045
|
break;
|
|
1046
1046
|
default:
|
|
1047
|
-
|
|
1047
|
+
x = "";
|
|
1048
1048
|
}
|
|
1049
1049
|
switch (a.pattern) {
|
|
1050
1050
|
case "solid":
|
|
1051
|
-
|
|
1051
|
+
x += " edge-pattern-solid";
|
|
1052
1052
|
break;
|
|
1053
1053
|
case "dotted":
|
|
1054
|
-
|
|
1054
|
+
x += " edge-pattern-dotted";
|
|
1055
1055
|
break;
|
|
1056
1056
|
case "dashed":
|
|
1057
|
-
|
|
1057
|
+
x += " edge-pattern-dashed";
|
|
1058
1058
|
break;
|
|
1059
1059
|
}
|
|
1060
|
-
const u = e.append("path").attr("d", k(y)).attr("id", a.id).attr("class", " " +
|
|
1060
|
+
const u = e.append("path").attr("d", k(y)).attr("id", a.id).attr("class", " " + x + (a.classes ? " " + a.classes : "")).attr("style", a.style);
|
|
1061
1061
|
let S = "";
|
|
1062
1062
|
(b().flowchart.arrowMarkerAbsolute || b().state.arrowMarkerAbsolute) && (S = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, S = S.replace(/\(/g, "\\("), S = S.replace(/\)/g, "\\)")), ar(u, a, S, s, l);
|
|
1063
1063
|
let B = {};
|
|
@@ -1065,19 +1065,19 @@ const gr = (e, t) => {
|
|
|
1065
1065
|
};
|
|
1066
1066
|
export {
|
|
1067
1067
|
or as a,
|
|
1068
|
-
|
|
1068
|
+
dr as b,
|
|
1069
1069
|
ur as c,
|
|
1070
1070
|
gr as d,
|
|
1071
1071
|
Et as e,
|
|
1072
1072
|
R as f,
|
|
1073
1073
|
tr as g,
|
|
1074
|
-
|
|
1074
|
+
pr as h,
|
|
1075
1075
|
hr as i,
|
|
1076
|
-
|
|
1076
|
+
xr as j,
|
|
1077
1077
|
rr as k,
|
|
1078
1078
|
M as l,
|
|
1079
1079
|
ar as m,
|
|
1080
|
-
|
|
1080
|
+
fr as p,
|
|
1081
1081
|
yr as s,
|
|
1082
1082
|
m as u
|
|
1083
1083
|
};
|