@diagrammo/dgmo 0.76.0 → 0.78.0

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.
Files changed (229) hide show
  1. package/README.md +17 -13
  2. package/dist/advanced.d.ts +150 -13
  3. package/dist/advanced.js +180 -131
  4. package/dist/block.css +1 -1
  5. package/dist/block.d.ts +2 -2
  6. package/dist/block.js +45 -41
  7. package/dist/{chart-meta-lP8Rl19E.d.ts → chart-meta-BKN2ORkc.d.ts} +2 -2
  8. package/dist/chart-meta.d.ts +3 -3
  9. package/dist/chart-meta.js +30 -29
  10. package/dist/charts-d3-KEQ7XVSM.js +31 -0
  11. package/dist/{chunk-7IATMZSA.js → chunk-26EVL454.js} +1 -25
  12. package/dist/{chunk-3H4PDNP4.js → chunk-2NLBIZEW.js} +2 -2
  13. package/dist/{chunk-GFXFRKUG.js → chunk-32VR65TL.js} +63 -36
  14. package/dist/{chunk-IHUOYDLN.js → chunk-36UQ77JV.js} +24 -24
  15. package/dist/chunk-3DPOIW3W.js +10 -0
  16. package/dist/{chunk-3SP6G4LN.js → chunk-3GLTQZKE.js} +2 -2
  17. package/dist/{chunk-DY7KDZUF.js → chunk-3OWIYK52.js} +2 -2
  18. package/dist/{chunk-UBW53CNS.js → chunk-3XFOE3DQ.js} +12 -7
  19. package/dist/{chunk-W7UBPARG.js → chunk-3ZLQM6XN.js} +2 -2
  20. package/dist/{chunk-5GM6BZO7.js → chunk-4AWLEWSD.js} +5 -2
  21. package/dist/{chunk-AYM472K3.js → chunk-4IGUEGD6.js} +80 -61
  22. package/dist/{chunk-QOVM5VRC.js → chunk-57GSSHBR.js} +2 -2
  23. package/dist/{chunk-5VMUVJO4.js → chunk-5G55TS3H.js} +2 -2
  24. package/dist/{chunk-QT5UMFPE.js → chunk-67I3HFSF.js} +9 -9
  25. package/dist/{chunk-WQXD3IIN.js → chunk-6B3M6LW6.js} +10 -8
  26. package/dist/{chunk-3EGIU5WY.js → chunk-6PHOZBW5.js} +4 -6
  27. package/dist/{chunk-5PFNUDXR.js → chunk-6VTLVU7D.js} +2 -2
  28. package/dist/{chunk-M5JT2AU7.js → chunk-6Z2NUJSX.js} +2 -2
  29. package/dist/{chunk-BWJLLNUX.js → chunk-7BNRHSSF.js} +2 -2
  30. package/dist/{chunk-JLODGGN2.js → chunk-7NNJXYXU.js} +2 -2
  31. package/dist/{chunk-FTTB64OJ.js → chunk-7SMVTA7I.js} +26 -26
  32. package/dist/{chunk-Z7KVOVE4.js → chunk-7WTFX6OA.js} +6 -3
  33. package/dist/{chunk-ZM27UI5O.js → chunk-A7Y32YD6.js} +2 -2
  34. package/dist/{chunk-FPRMP6YA.js → chunk-AHN2CVCH.js} +10 -7
  35. package/dist/{chunk-N6MZSBOL.js → chunk-AN7T6VP7.js} +2 -2
  36. package/dist/{chunk-F4X5NVKY.js → chunk-B6PVPAS5.js} +2 -2
  37. package/dist/{chunk-QI4Q5ZZH.js → chunk-BB2ORSTF.js} +19 -18
  38. package/dist/{chunk-HGFKDSKZ.js → chunk-BJB4YDJP.js} +21 -21
  39. package/dist/{chunk-BZQCAZZZ.js → chunk-BPM52K3Z.js} +41 -34
  40. package/dist/{chunk-HFCKU73Y.js → chunk-BSREARWG.js} +29 -28
  41. package/dist/{chunk-F4V67JXG.js → chunk-CTERZC4K.js} +2 -2
  42. package/dist/{chunk-FMZEU7MF.js → chunk-CYLSQO4L.js} +6 -6
  43. package/dist/{chunk-JLJ7SP4X.js → chunk-DCPD5SHV.js} +3 -3
  44. package/dist/{chunk-U7AO6FRL.js → chunk-ENDB5YSV.js} +363 -129
  45. package/dist/{chunk-RTTZIX34.js → chunk-EOB7XVYR.js} +2 -2
  46. package/dist/chunk-EPDBWATV.js +38 -0
  47. package/dist/{chunk-TPN7RJOM.js → chunk-FJADQOFQ.js} +3 -3
  48. package/dist/{chunk-MG3DE3VO.js → chunk-FLMXJMMY.js} +3 -3
  49. package/dist/{chunk-WGC42WJU.js → chunk-FWNJDD4U.js} +6 -2
  50. package/dist/{chunk-S5P5Z5Y5.js → chunk-GINNZHVN.js} +2 -2
  51. package/dist/{chunk-7EZ5AKBK.js → chunk-GJH7ZEPH.js} +45 -38
  52. package/dist/{chunk-E3BJVEMZ.js → chunk-GQEXY7XL.js} +68 -65
  53. package/dist/{chunk-COCMMQXW.js → chunk-HHHYVTVS.js} +16 -16
  54. package/dist/chunk-ICLB27PZ.js +11 -0
  55. package/dist/{chunk-QMFIZQTB.js → chunk-IDGQB6XD.js} +6 -4
  56. package/dist/{chunk-R3XI2VC7.js → chunk-IDJGV6VM.js} +2 -1
  57. package/dist/{chunk-4CRLM3IT.js → chunk-IE47TYZT.js} +177 -118
  58. package/dist/{chunk-FJ57274M.js → chunk-IIEI7VK5.js} +15 -1
  59. package/dist/{chunk-YDA46XHI.js → chunk-IMO46ROR.js} +38 -32
  60. package/dist/{chunk-4SXHMFFP.js → chunk-IZTU6WVR.js} +24 -13
  61. package/dist/{chunk-U74EGVOA.js → chunk-JOD2CK2M.js} +16 -14
  62. package/dist/{chunk-U5B3TUEW.js → chunk-JUNTVLOU.js} +16 -15
  63. package/dist/{chunk-RWFMOVHG.js → chunk-KAZQX2EY.js} +2 -2
  64. package/dist/{chunk-NHQ7HUAS.js → chunk-KGX5LIUG.js} +10 -8
  65. package/dist/{chunk-Q74GP3GK.js → chunk-KO6DGOOB.js} +3 -3
  66. package/dist/{chunk-UTTRJ6KN.js → chunk-L26M3X7K.js} +16 -13
  67. package/dist/{chunk-RU2HHHYA.js → chunk-LD2JSKU3.js} +12 -2
  68. package/dist/{chunk-32MOGTKT.js → chunk-LEBPWFVF.js} +50 -46
  69. package/dist/{chunk-MU3CJPJF.js → chunk-LGI735AJ.js} +2 -2
  70. package/dist/{chunk-OWVDD5EC.js → chunk-LMWXBFLA.js} +2 -2
  71. package/dist/{chunk-CLQJAGWL.js → chunk-M3LZCDB6.js} +40 -42
  72. package/dist/{chunk-YT5ICQ4R.js → chunk-MFK7LF66.js} +2 -2
  73. package/dist/{chunk-JL7BDLC6.js → chunk-MJYFPFZT.js} +110 -20
  74. package/dist/{chunk-2QRIMMIH.js → chunk-N56W4R66.js} +2 -2
  75. package/dist/{chunk-LXXVHLTH.js → chunk-NN5IDH2I.js} +2 -2
  76. package/dist/{chunk-46KVXDUJ.js → chunk-NS3KIRSW.js} +2 -2
  77. package/dist/{chunk-LM3HY3VG.js → chunk-P2DM7Q5U.js} +2 -2
  78. package/dist/{chunk-DJL5PO27.js → chunk-P4SQV3XD.js} +2 -2
  79. package/dist/{chunk-HOIAQ3P2.js → chunk-P54AX5XN.js} +9 -9
  80. package/dist/{chunk-JQ575OAK.js → chunk-P64NBPSK.js} +14 -14
  81. package/dist/{chunk-7G4XMHDB.js → chunk-PIWUZFG7.js} +33 -25
  82. package/dist/{chunk-SWEKCK34.js → chunk-QAPFXLAC.js} +2 -2
  83. package/dist/chunk-QFIXL3OK.js +68 -0
  84. package/dist/{chunk-KRTLS3G6.js → chunk-QVMV4KCA.js} +2 -2
  85. package/dist/{chunk-76LHNLGX.js → chunk-R4YGH7DJ.js} +5 -3
  86. package/dist/{chunk-PAW4RMH3.js → chunk-RC3FM3FE.js} +12 -13
  87. package/dist/{chunk-UJBP57UJ.js → chunk-RC6GGF6X.js} +2 -2
  88. package/dist/{chunk-S6OXNZBM.js → chunk-RHZZVIGA.js} +3 -3
  89. package/dist/{chunk-MS5574I7.js → chunk-RIXWLFB4.js} +2 -2
  90. package/dist/{chunk-BCB24FG7.js → chunk-RUNI4OXP.js} +18 -14
  91. package/dist/{chunk-ICVIJLBA.js → chunk-SFSJ6XWV.js} +2 -2
  92. package/dist/{chunk-EGXJWRO6.js → chunk-SNBEAO4Q.js} +8 -8
  93. package/dist/{chunk-XHROEQ23.js → chunk-SXD6VY7D.js} +16 -14
  94. package/dist/{chunk-GEURKGZS.js → chunk-TLM3I4XF.js} +16 -16
  95. package/dist/{chunk-IFC3JXCT.js → chunk-TO6TWNMF.js} +19 -15
  96. package/dist/{chunk-OUJG73YJ.js → chunk-U2JIFCJN.js} +18 -18
  97. package/dist/{chunk-CAPR5DET.js → chunk-U4ND3J6C.js} +18 -14
  98. package/dist/{chunk-YVDBBWEP.js → chunk-UCF6TKWV.js} +51 -48
  99. package/dist/{chunk-UWYZIGCB.js → chunk-UDYJVX6Y.js} +9 -9
  100. package/dist/{chunk-OBYZU23V.js → chunk-UQY2VLUK.js} +25 -23
  101. package/dist/{chunk-CQKD6GOC.js → chunk-VAA7QSZ7.js} +53 -32
  102. package/dist/{chunk-Q6BAFS7I.js → chunk-VQGQF7O7.js} +12 -10
  103. package/dist/{chunk-DEW62ON3.js → chunk-VSPNH7LC.js} +2 -2
  104. package/dist/{chunk-4YER7UCV.js → chunk-VUJQ6RU6.js} +2 -2
  105. package/dist/{chunk-C576CU77.js → chunk-VZD3ZV4Y.js} +26 -22
  106. package/dist/{chunk-NCT22MOD.js → chunk-WMIKC5XO.js} +2 -2
  107. package/dist/{chunk-C2WH3BMS.js → chunk-X326N4GN.js} +10 -7
  108. package/dist/chunk-XBJJP2HN.js +37 -0
  109. package/dist/{chunk-7NSNE52V.js → chunk-XCR3PDFF.js} +2 -2
  110. package/dist/{chunk-TF76LCZS.js → chunk-XDPJMLOH.js} +30 -27
  111. package/dist/{chunk-3LJNQ6LR.js → chunk-YKDZ3ZRI.js} +27 -25
  112. package/dist/{chunk-GLREDNBA.js → chunk-YVLTNNME.js} +12 -2
  113. package/dist/{chunk-76IBFEYW.js → chunk-ZGOBAMQ2.js} +15 -13
  114. package/dist/{chunk-AFR6GWXD.js → chunk-ZMCFUGKO.js} +49 -42
  115. package/dist/clock.js +11 -5
  116. package/dist/completion-registry.js +2 -2
  117. package/dist/countdown.js +26 -20
  118. package/dist/{d3--y67plmW.d.ts → d3-CQT5bwpb.d.ts} +1 -1
  119. package/dist/{dgmo-router-CY5j16Pl.d.ts → dgmo-router-C9CsswPZ.d.ts} +1 -1
  120. package/dist/{dgmo-router-A3LIHT6H.js → dgmo-router-XZNCLYTV.js} +30 -29
  121. package/dist/{dimensions-7NYBSZRJ.js → dimensions-SIZMZ4DC.js} +8 -8
  122. package/dist/{flowchart-renderer-QYGQ64BM.js → flowchart-renderer-FDJ4QQXE.js} +15 -14
  123. package/dist/index.d.ts +7 -7
  124. package/dist/index.js +58 -43
  125. package/dist/{layout-LAS67TK3.js → layout-5DZ2LI2R.js} +2 -2
  126. package/dist/{layout-ZAGUFT2G.js → layout-6I6LSBUR.js} +6 -5
  127. package/dist/{layout-2OJ25STS.js → layout-C2SCZV5M.js} +6 -5
  128. package/dist/{layout-6SKHNQYO.js → layout-CHWKNE3O.js} +3 -3
  129. package/dist/{layout-EM4DLMAX.js → layout-K4KML2DL.js} +3 -3
  130. package/dist/{layout-KQUSB45X.js → layout-S53FSD6R.js} +7 -6
  131. package/dist/{layout-ROORJQ4X.js → layout-TCFXB5XH.js} +7 -6
  132. package/dist/{layout-5ILNODTP.js → layout-XK6ZD7BU.js} +6 -5
  133. package/dist/{layout-B5GQVXXY.js → layout-YVY72CIG.js} +7 -6
  134. package/dist/{layout-VUZ3MLOI.js → layout-YY6VH5XH.js} +6 -5
  135. package/dist/{layout-RV2T2YTT.js → layout-ZDN252GR.js} +4 -3
  136. package/dist/{layout-search-UOKEMER5.js → layout-search-TSV4FURP.js} +7 -6
  137. package/dist/{legend-constants-PLN2YHGM.js → legend-constants-SB4PLHV5.js} +3 -3
  138. package/dist/{palettes-54YSI3IX.js → palettes-YIPSRYXP.js} +5 -3
  139. package/dist/{parser-GCVSRQPY.js → parser-2BX2EJUB.js} +3 -3
  140. package/dist/{parser-WVE6SKB7.js → parser-3UNIPVNY.js} +3 -3
  141. package/dist/{parser-5XFGK5C5.js → parser-4IHIVDJD.js} +5 -5
  142. package/dist/{parser-ZT3PU2HT.js → parser-62VNEQRT.js} +3 -3
  143. package/dist/{parser-PR3OR3LO.js → parser-6JNJHQAG.js} +3 -3
  144. package/dist/{parser-ZXQZZK6W.js → parser-6ZFQLLVE.js} +3 -2
  145. package/dist/{parser-WMJEPZDC.js → parser-BOPXE6RP.js} +3 -3
  146. package/dist/{parser-WWRRG2DV.js → parser-DFBQ2RID.js} +3 -3
  147. package/dist/{parser-2GMHFSTS.js → parser-EPKXJ2RL.js} +3 -3
  148. package/dist/{parser-ML3LVNDV.js → parser-G7E2BURB.js} +3 -3
  149. package/dist/{parser-QOIZGW7I.js → parser-GFGU5ZLQ.js} +3 -3
  150. package/dist/{parser-L7T7FY3H.js → parser-GKZWI5SZ.js} +3 -3
  151. package/dist/{parser-QYAIFXLP.js → parser-HSPODF4H.js} +3 -3
  152. package/dist/{parser-EQ4I3TSH.js → parser-IK3FXZ7D.js} +3 -3
  153. package/dist/{parser-LV7PQBUG.js → parser-LJWPKRDM.js} +3 -3
  154. package/dist/{parser-RDBXEVI4.js → parser-OYWUBQV4.js} +3 -3
  155. package/dist/{parser-6FUESG4N.js → parser-PD4TP6NM.js} +3 -3
  156. package/dist/{parser-E3OHNNTH.js → parser-R2JHC7LQ.js} +3 -3
  157. package/dist/{parser-CJNP7RKR.js → parser-RMZ6YI7H.js} +3 -3
  158. package/dist/{parser-TA5TYZNL.js → parser-RUJNN5PK.js} +3 -3
  159. package/dist/{parser-UTR5WE4O.js → parser-YWE7GHW6.js} +3 -3
  160. package/dist/{parser-3AOMUX5D.js → parser-Z5UK6ADF.js} +3 -3
  161. package/dist/{parser-YWQCC33R.js → parser-ZO5YT5SV.js} +3 -3
  162. package/dist/renderer-5TPUPMZ7.js +26 -0
  163. package/dist/{renderer-4EWGZLJ6.js → renderer-AIVALEQR.js} +7 -7
  164. package/dist/renderer-AMELXBNW.js +23 -0
  165. package/dist/renderer-BF7FYXG3.js +25 -0
  166. package/dist/renderer-CRRW7LTW.js +17 -0
  167. package/dist/renderer-CXU2MGSC.js +27 -0
  168. package/dist/renderer-DI66RLAG.js +30 -0
  169. package/dist/renderer-E2JTYQY5.js +39 -0
  170. package/dist/{renderer-ZAJ5353N.js → renderer-FA4BTAOL.js} +7 -7
  171. package/dist/{renderer-GF6S5ZX6.js → renderer-FFGFTIT4.js} +15 -14
  172. package/dist/renderer-IVAM7Z3Y.js +27 -0
  173. package/dist/renderer-J6HK2KOW.js +23 -0
  174. package/dist/renderer-J7J3OVLQ.js +39 -0
  175. package/dist/{renderer-QAMOXOZ2.js → renderer-JC7MK7SD.js} +6 -5
  176. package/dist/{renderer-CGOPX4HW.js → renderer-JHQC5RGJ.js} +14 -14
  177. package/dist/renderer-JRITSZY3.js +28 -0
  178. package/dist/{renderer-E6NHTVN6.js → renderer-KD5X4RIS.js} +14 -13
  179. package/dist/{renderer-OTHBTGBN.js → renderer-KWNNWCGD.js} +6 -5
  180. package/dist/{renderer-EP4GRCDX.js → renderer-LGMIAG6N.js} +7 -6
  181. package/dist/{renderer-IH45QV6Z.js → renderer-LQN3FXAP.js} +33 -32
  182. package/dist/renderer-LRL4SU43.js +29 -0
  183. package/dist/{renderer-D7N7PPB7.js → renderer-MBL64AJI.js} +6 -6
  184. package/dist/renderer-NA3DTAWF.js +39 -0
  185. package/dist/renderer-OR5QHR7X.js +31 -0
  186. package/dist/renderer-SBVWHQVW.js +30 -0
  187. package/dist/{renderer-KMOGGMM7.js → renderer-TLOSBJKW.js} +13 -13
  188. package/dist/{renderer-LE3ZKHNS.js → renderer-UDWJRRIC.js} +11 -11
  189. package/dist/renderer-VHK6UAW2.js +20 -0
  190. package/dist/{renderer-FUJNSC5X.js → renderer-W5UG2HWT.js} +5 -5
  191. package/dist/renderer-WOOKJOBQ.js +25 -0
  192. package/dist/renderer-WYNLGZRF.js +25 -0
  193. package/dist/{renderer-BUEFD2IF.js → renderer-Y74Y54C3.js} +8 -8
  194. package/dist/renderer-ZUAXGHFC.js +28 -0
  195. package/dist/renderer-radial-YVUDGR7C.js +21 -0
  196. package/dist/{state-parser-TPA67IXM.js → state-parser-CT5HQQ7E.js} +3 -3
  197. package/dist/state-renderer-7O3QGNJ5.js +41 -0
  198. package/dist/{tag-groups-DrHT2tEc.d.ts → tag-groups-BoJg3lFV.d.ts} +23 -1
  199. package/dist/{themes-GWhsabnx.d.ts → themes-CXYnNA4e.d.ts} +2 -2
  200. package/docs/architecture-report.md +3 -3
  201. package/docs/language-reference.md +122 -30
  202. package/docs/migration-sequence-color-to-tags.md +16 -8
  203. package/gallery/fixtures/sketch.dgmo +1 -1
  204. package/package.json +7 -6
  205. package/dist/charts-d3-SQEVMIAM.js +0 -29
  206. package/dist/chunk-LP7EC4MI.js +0 -16
  207. package/dist/chunk-UTCPNJND.js +0 -7
  208. package/dist/chunk-VV6HZQ5K.js +0 -40
  209. package/dist/renderer-3FB56573.js +0 -22
  210. package/dist/renderer-4PNVGHVA.js +0 -16
  211. package/dist/renderer-5W3HWIUL.js +0 -24
  212. package/dist/renderer-CO5O5VR5.js +0 -20
  213. package/dist/renderer-DKW273R7.js +0 -26
  214. package/dist/renderer-F24V3RD3.js +0 -26
  215. package/dist/renderer-F6WSR7UM.js +0 -39
  216. package/dist/renderer-FGGDZZFQ.js +0 -31
  217. package/dist/renderer-GJDVPXI3.js +0 -30
  218. package/dist/renderer-JMJ7Q5OC.js +0 -28
  219. package/dist/renderer-LBNVKVO3.js +0 -39
  220. package/dist/renderer-MUW4G2N6.js +0 -38
  221. package/dist/renderer-PIEPRK6M.js +0 -23
  222. package/dist/renderer-PKRKLOYR.js +0 -25
  223. package/dist/renderer-PR3KLNST.js +0 -28
  224. package/dist/renderer-RUHC6D3B.js +0 -25
  225. package/dist/renderer-UUP6OX6F.js +0 -27
  226. package/dist/renderer-UYZSP7MF.js +0 -25
  227. package/dist/renderer-XBL6CLN2.js +0 -30
  228. package/dist/renderer-radial-MZP3SVTZ.js +0 -21
  229. package/dist/state-renderer-UIE3AQM6.js +0 -40
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  buildPlacedNotes
3
- } from "./chunk-OWVDD5EC.js";
3
+ } from "./chunk-LMWXBFLA.js";
4
4
  import {
5
5
  noteCanvasShift
6
6
  } from "./chunk-6EK55ART.js";
@@ -326,4 +326,4 @@ function layoutERDiagram(parsed, options) {
326
326
  export {
327
327
  layoutERDiagram
328
328
  };
329
- //# sourceMappingURL=chunk-5VMUVJO4.js.map
329
+ //# sourceMappingURL=chunk-5G55TS3H.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  computeLegendLayout
3
- } from "./chunk-4SXHMFFP.js";
3
+ } from "./chunk-IZTU6WVR.js";
4
4
  import {
5
5
  FONT_FAMILY
6
- } from "./chunk-UTCPNJND.js";
6
+ } from "./chunk-ICLB27PZ.js";
7
7
  import {
8
8
  CONTROLS_ICON_PATH,
9
9
  LEGEND_DOT_R,
@@ -15,13 +15,13 @@ import {
15
15
  LEGEND_TOGGLE_OFF_OPACITY,
16
16
  legendChromeColors,
17
17
  measureLegendText
18
- } from "./chunk-YT5ICQ4R.js";
18
+ } from "./chunk-MFK7LF66.js";
19
19
  import {
20
20
  tagAttrKey
21
- } from "./chunk-76LHNLGX.js";
21
+ } from "./chunk-R4YGH7DJ.js";
22
22
  import {
23
23
  valueRampStops
24
- } from "./chunk-GLREDNBA.js";
24
+ } from "./chunk-YVLTNNME.js";
25
25
 
26
26
  // src/utils/legend-d3.ts
27
27
  function centerText(sel) {
@@ -105,7 +105,7 @@ function renderCapsule(parent, capsule, palette, groupBg, pillBorder, isDark, ca
105
105
  const pill = capsule.pill;
106
106
  g.append("rect").attr("x", pill.x).attr("y", pill.y).attr("width", pill.width).attr("height", pill.height).attr("rx", pill.height / 2).attr("fill", palette.bg);
107
107
  g.append("rect").attr("x", pill.x).attr("y", pill.y).attr("width", pill.width).attr("height", pill.height).attr("rx", pill.height / 2).attr("fill", "none").attr("stroke", pillBorder).attr("stroke-width", 0.75);
108
- g.append("text").attr("x", pill.x + pill.width / 2).attr("y", LEGEND_HEIGHT / 2).attr("text-anchor", "middle").call(centerText).attr("font-size", LEGEND_PILL_FONT_SIZE).attr("font-weight", 500).attr("fill", palette.text).attr("pointer-events", "none").attr("font-family", FONT_FAMILY).text(capsule.groupName);
108
+ g.append("text").attr("x", pill.x + pill.width / 2).attr("y", LEGEND_HEIGHT / 2).attr("text-anchor", "middle").call(centerText).attr("font-size", LEGEND_PILL_FONT_SIZE).attr("font-weight", "normal").attr("fill", palette.text).attr("pointer-events", "none").attr("font-family", FONT_FAMILY).text(capsule.groupName);
109
109
  if (capsule.gradient) {
110
110
  const gr = capsule.gradient;
111
111
  const gradId = `dgmo-legend-ramp-${tagAttrKey(capsule.groupName).replace(/[^a-z0-9]+/g, "-")}`;
@@ -143,7 +143,7 @@ function renderCapsule(parent, capsule, palette, groupBg, pillBorder, isDark, ca
143
143
  function renderPill(parent, pill, palette, groupBg, callbacks) {
144
144
  const g = parent.append("g").attr("transform", `translate(${pill.x},${pill.y})`).attr("data-legend-group", tagAttrKey(pill.groupName)).style("cursor", "pointer");
145
145
  g.append("rect").attr("width", pill.width).attr("height", pill.height).attr("rx", pill.height / 2).attr("fill", groupBg);
146
- g.append("text").attr("x", pill.width / 2).attr("y", pill.height / 2).attr("text-anchor", "middle").call(centerText).attr("font-size", LEGEND_PILL_FONT_SIZE).attr("font-weight", 500).attr("fill", palette.textMuted).attr("pointer-events", "none").attr("font-family", FONT_FAMILY).text(pill.groupName);
146
+ g.append("text").attr("x", pill.width / 2).attr("y", pill.height / 2).attr("text-anchor", "middle").call(centerText).attr("font-size", LEGEND_PILL_FONT_SIZE).attr("font-weight", "normal").attr("fill", palette.textMuted).attr("pointer-events", "none").attr("font-family", FONT_FAMILY).text(pill.groupName);
147
147
  if (callbacks?.onGroupToggle) {
148
148
  const cb = callbacks.onGroupToggle;
149
149
  const name = pill.groupName;
@@ -166,7 +166,7 @@ function renderControl(parent, ctrl, palette, _groupBg, pillBorder, _isDark, con
166
166
  textX = 8 + 14 + LEGEND_ENTRY_DOT_GAP + measureLegendText(ctrl.label, LEGEND_PILL_FONT_SIZE) / 2;
167
167
  }
168
168
  if (ctrl.label) {
169
- g.append("text").attr("x", textX).attr("y", ctrl.height / 2).attr("text-anchor", "middle").call(centerText).attr("font-size", LEGEND_PILL_FONT_SIZE).attr("font-weight", 500).attr("fill", palette.textMuted).attr("pointer-events", "none").attr("font-family", FONT_FAMILY).text(ctrl.label);
169
+ g.append("text").attr("x", textX).attr("y", ctrl.height / 2).attr("text-anchor", "middle").call(centerText).attr("font-size", LEGEND_PILL_FONT_SIZE).attr("font-weight", "normal").attr("fill", palette.textMuted).attr("pointer-events", "none").attr("font-family", FONT_FAMILY).text(ctrl.label);
170
170
  }
171
171
  if (ctrl.children) {
172
172
  let cx = ctrl.width + 4;
@@ -294,4 +294,4 @@ export {
294
294
  renderLegendD3,
295
295
  renderIntegratedLegend
296
296
  };
297
- //# sourceMappingURL=chunk-QT5UMFPE.js.map
297
+ //# sourceMappingURL=chunk-67I3HFSF.js.map
@@ -1,3 +1,10 @@
1
+ import {
2
+ HEADER_HEIGHT,
3
+ LABEL_FONT_SIZE,
4
+ META_FONT_SIZE,
5
+ META_LINE_HEIGHT,
6
+ SEPARATOR_GAP
7
+ } from "./chunk-IIEI7VK5.js";
1
8
  import {
2
9
  LEGEND_CAPSULE_PAD,
3
10
  LEGEND_DOT_R,
@@ -11,7 +18,7 @@ import {
11
18
  LEGEND_PILL_FONT_SIZE,
12
19
  LEGEND_PILL_PAD,
13
20
  measureLegendText
14
- } from "./chunk-YT5ICQ4R.js";
21
+ } from "./chunk-MFK7LF66.js";
15
22
  import {
16
23
  measureText
17
24
  } from "./chunk-MTGGOCND.js";
@@ -19,12 +26,10 @@ import {
19
26
  injectDefaultTagMetadata,
20
27
  resolveTagColor,
21
28
  tagAttrKey
22
- } from "./chunk-76LHNLGX.js";
29
+ } from "./chunk-R4YGH7DJ.js";
23
30
 
24
31
  // src/sitemap/layout.ts
25
32
  import dagre from "@dagrejs/dagre";
26
- var LABEL_FONT_SIZE = 13;
27
- var META_FONT_SIZE = 11;
28
33
  var CONTAINER_LABEL_FONT_SIZE = 13;
29
34
  function clipToRectBorder(cx, cy, w, h, tx, ty) {
30
35
  const dx = tx - cx;
@@ -37,9 +42,6 @@ function clipToRectBorder(cx, cy, w, h, tx, ty) {
37
42
  const s = Math.min(sx, sy);
38
43
  return { x: cx + dx * s, y: cy + dy * s };
39
44
  }
40
- var META_LINE_HEIGHT = 16;
41
- var HEADER_HEIGHT = 28;
42
- var SEPARATOR_GAP = 6;
43
45
  var CARD_H_PAD = 20;
44
46
  var CARD_V_PAD = 10;
45
47
  var MIN_CARD_WIDTH = 140;
@@ -627,4 +629,4 @@ function layoutSitemap(parsed, hiddenCounts, activeTagGroup, hiddenAttributes, e
627
629
  export {
628
630
  layoutSitemap
629
631
  };
630
- //# sourceMappingURL=chunk-WQXD3IIN.js.map
632
+ //# sourceMappingURL=chunk-6B3M6LW6.js.map
@@ -1,9 +1,7 @@
1
1
  import {
2
+ FONT_FAMILY,
2
3
  MONO_FAMILY
3
- } from "./chunk-PAW4RMH3.js";
4
- import {
5
- FONT_FAMILY
6
- } from "./chunk-UTCPNJND.js";
4
+ } from "./chunk-ICLB27PZ.js";
7
5
  import {
8
6
  truncateText
9
7
  } from "./chunk-MTGGOCND.js";
@@ -25,7 +23,7 @@ function renderLiveLinkCard(parsed, palette, theme) {
25
23
  const headline = parsed.title ?? parsed.id ?? "Unresolved live link";
26
24
  const headlineMono = parsed.title === null && parsed.id !== null;
27
25
  parts.push(
28
- `<text x="${CONTENT_X}" y="${y}" fill="${palette.text}" font-family="${headlineMono ? MONO_FAMILY : FONT_FAMILY}" font-size="${HEADLINE_FS}" font-weight="${headlineMono ? 500 : 700}">${escapeXml(truncateText(headline, HEADLINE_FS, CONTENT_W, { bold: !headlineMono }))}</text>`
26
+ `<text x="${CONTENT_X}" y="${y}" fill="${palette.text}" font-family="${headlineMono ? MONO_FAMILY : FONT_FAMILY}" font-size="${HEADLINE_FS}" font-weight="${headlineMono ? "normal" : "bold"}">${escapeXml(truncateText(headline, HEADLINE_FS, CONTENT_W, { bold: !headlineMono }))}</text>`
29
27
  );
30
28
  y += 30;
31
29
  parts.push(
@@ -62,4 +60,4 @@ function escapeXml(s) {
62
60
  export {
63
61
  renderLiveLinkCard
64
62
  };
65
- //# sourceMappingURL=chunk-3EGIU5WY.js.map
63
+ //# sourceMappingURL=chunk-6PHOZBW5.js.map
@@ -8,7 +8,7 @@ import {
8
8
  resolveActiveTagGroup,
9
9
  stripDefaultModifier,
10
10
  tagAttrKey
11
- } from "./chunk-76LHNLGX.js";
11
+ } from "./chunk-R4YGH7DJ.js";
12
12
  import {
13
13
  extractColor,
14
14
  fillModeFromToken,
@@ -392,4 +392,4 @@ function parseBracket(content, palette) {
392
392
  export {
393
393
  parseBracket
394
394
  };
395
- //# sourceMappingURL=chunk-5PFNUDXR.js.map
395
+ //# sourceMappingURL=chunk-6VTLVU7D.js.map
@@ -19,7 +19,7 @@ import {
19
19
  tagAttrKey,
20
20
  validateTagGroupNames,
21
21
  validateTagValues
22
- } from "./chunk-76LHNLGX.js";
22
+ } from "./chunk-R4YGH7DJ.js";
23
23
  import {
24
24
  ALL_CHART_TYPES,
25
25
  FILL_FAMILY_TOKENS,
@@ -543,4 +543,4 @@ export {
543
543
  parseState,
544
544
  looksLikeState
545
545
  };
546
- //# sourceMappingURL=chunk-M5JT2AU7.js.map
546
+ //# sourceMappingURL=chunk-6Z2NUJSX.js.map
@@ -9,7 +9,7 @@ import {
9
9
  stripDefaultModifier,
10
10
  tagAttrKey,
11
11
  validateTagGroupNames
12
- } from "./chunk-76LHNLGX.js";
12
+ } from "./chunk-R4YGH7DJ.js";
13
13
  import {
14
14
  MAP_DIRECTIVE_KEY_SET,
15
15
  MAP_REGISTRY,
@@ -657,4 +657,4 @@ export {
657
657
  looksLikeMap,
658
658
  parseMap
659
659
  };
660
- //# sourceMappingURL=chunk-BWJLLNUX.js.map
660
+ //# sourceMappingURL=chunk-7BNRHSSF.js.map
@@ -9,7 +9,7 @@ import {
9
9
  matchTagBlockHeading,
10
10
  stripDefaultModifier,
11
11
  tagAttrKey
12
- } from "./chunk-76LHNLGX.js";
12
+ } from "./chunk-R4YGH7DJ.js";
13
13
  import {
14
14
  extractColor,
15
15
  fillModeFromToken,
@@ -264,4 +264,4 @@ export {
264
264
  parseBody,
265
265
  extractSymbols
266
266
  };
267
- //# sourceMappingURL=chunk-JLODGGN2.js.map
267
+ //# sourceMappingURL=chunk-7NNJXYXU.js.map
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-SH4PPRU7.js";
4
4
  import {
5
5
  parseBracket
6
- } from "./chunk-5PFNUDXR.js";
6
+ } from "./chunk-6VTLVU7D.js";
7
7
  import {
8
8
  parseRaci
9
9
  } from "./chunk-TN754B3R.js";
10
10
  import {
11
11
  parseBody
12
- } from "./chunk-JLODGGN2.js";
12
+ } from "./chunk-7NNJXYXU.js";
13
13
  import {
14
14
  EXTENDED_CHART_DOORS,
15
15
  parseChart,
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-CRLVJZWX.js";
25
25
  import {
26
26
  parseJourneyMap
27
- } from "./chunk-2QRIMMIH.js";
27
+ } from "./chunk-N56W4R66.js";
28
28
  import {
29
29
  parsePyramid
30
30
  } from "./chunk-LKS56RDT.js";
@@ -33,48 +33,48 @@ import {
33
33
  } from "./chunk-OKXWPKUC.js";
34
34
  import {
35
35
  parseTreemap
36
- } from "./chunk-4YER7UCV.js";
36
+ } from "./chunk-VUJQ6RU6.js";
37
37
  import {
38
38
  parseBlock
39
- } from "./chunk-3H4PDNP4.js";
39
+ } from "./chunk-2NLBIZEW.js";
40
40
  import {
41
41
  parseGoal
42
42
  } from "./chunk-KWSBNLSC.js";
43
43
  import {
44
44
  parseCountdown
45
- } from "./chunk-Z7KVOVE4.js";
45
+ } from "./chunk-7WTFX6OA.js";
46
46
  import {
47
47
  parseMap
48
- } from "./chunk-BWJLLNUX.js";
48
+ } from "./chunk-7BNRHSSF.js";
49
49
  import {
50
50
  parseBoxesAndLines
51
- } from "./chunk-KRTLS3G6.js";
51
+ } from "./chunk-QVMV4KCA.js";
52
52
  import {
53
53
  parseSketch
54
- } from "./chunk-F4X5NVKY.js";
54
+ } from "./chunk-B6PVPAS5.js";
55
55
  import {
56
56
  parseSwimlane
57
- } from "./chunk-W7UBPARG.js";
57
+ } from "./chunk-3ZLQM6XN.js";
58
58
  import {
59
59
  parseFamily
60
- } from "./chunk-S5P5Z5Y5.js";
60
+ } from "./chunk-GINNZHVN.js";
61
61
  import {
62
62
  parseMindmap
63
- } from "./chunk-QOVM5VRC.js";
63
+ } from "./chunk-57GSSHBR.js";
64
64
  import {
65
65
  parseTechRadar
66
66
  } from "./chunk-VBJCGGNF.js";
67
67
  import {
68
68
  looksLikePert,
69
69
  parsePert
70
- } from "./chunk-RWFMOVHG.js";
70
+ } from "./chunk-KAZQX2EY.js";
71
71
  import {
72
72
  isLiveLinkLine,
73
73
  parseLiveLink
74
74
  } from "./chunk-Y2CYNRL7.js";
75
75
  import {
76
76
  parseEventLine
77
- } from "./chunk-UJBP57UJ.js";
77
+ } from "./chunk-RC6GGF6X.js";
78
78
  import {
79
79
  parseTimelineEventLine
80
80
  } from "./chunk-UCZBRGJN.js";
@@ -83,16 +83,16 @@ import {
83
83
  } from "./chunk-7BMX2M3F.js";
84
84
  import {
85
85
  parseKanban
86
- } from "./chunk-3SP6G4LN.js";
86
+ } from "./chunk-3GLTQZKE.js";
87
87
  import {
88
88
  parseC4
89
- } from "./chunk-ZM27UI5O.js";
89
+ } from "./chunk-A7Y32YD6.js";
90
90
  import {
91
91
  parseInfra
92
- } from "./chunk-46KVXDUJ.js";
92
+ } from "./chunk-NS3KIRSW.js";
93
93
  import {
94
94
  parseGantt
95
- } from "./chunk-TPN7RJOM.js";
95
+ } from "./chunk-FJADQOFQ.js";
96
96
  import {
97
97
  makeYearContext,
98
98
  parseDateToken,
@@ -102,7 +102,7 @@ import {
102
102
  import {
103
103
  looksLikeSequence,
104
104
  parseSequenceDgmo
105
- } from "./chunk-7NSNE52V.js";
105
+ } from "./chunk-XCR3PDFF.js";
106
106
  import {
107
107
  looksLikeFlowchart,
108
108
  parseFlowchart
@@ -110,7 +110,7 @@ import {
110
110
  import {
111
111
  looksLikeState,
112
112
  parseState
113
- } from "./chunk-M5JT2AU7.js";
113
+ } from "./chunk-6Z2NUJSX.js";
114
114
  import {
115
115
  looksLikeClassDiagram,
116
116
  parseClassDiagram
@@ -118,25 +118,25 @@ import {
118
118
  import {
119
119
  looksLikeERDiagram,
120
120
  parseERDiagram
121
- } from "./chunk-ICVIJLBA.js";
121
+ } from "./chunk-SFSJ6XWV.js";
122
122
  import {
123
123
  looksLikeOrg,
124
124
  parseOrg
125
- } from "./chunk-SWEKCK34.js";
125
+ } from "./chunk-QAPFXLAC.js";
126
126
  import {
127
127
  looksLikeSitemap,
128
128
  parseSitemap
129
- } from "./chunk-LXXVHLTH.js";
129
+ } from "./chunk-NN5IDH2I.js";
130
130
  import {
131
131
  parseWireframe
132
- } from "./chunk-DY7KDZUF.js";
132
+ } from "./chunk-3OWIYK52.js";
133
133
  import {
134
134
  matchTagBlockHeading,
135
135
  stripDefaultModifier,
136
136
  tagAttrKey,
137
137
  validateTagGroupNames,
138
138
  validateTagValues
139
- } from "./chunk-76LHNLGX.js";
139
+ } from "./chunk-R4YGH7DJ.js";
140
140
  import {
141
141
  TIMELINE_REGISTRY,
142
142
  chartTypes,
@@ -1716,4 +1716,4 @@ export {
1716
1716
  knownChartTypeIds,
1717
1717
  parseDgmo
1718
1718
  };
1719
- //# sourceMappingURL=chunk-FTTB64OJ.js.map
1719
+ //# sourceMappingURL=chunk-7SMVTA7I.js.map
@@ -5,6 +5,9 @@ import {
5
5
  targetToMs,
6
6
  weekdayIndex
7
7
  } from "./chunk-WFA6IULY.js";
8
+ import {
9
+ now
10
+ } from "./chunk-3DPOIW3W.js";
8
11
  import {
9
12
  normalizeDate
10
13
  } from "./chunk-DAOFNU6J.js";
@@ -302,7 +305,7 @@ function parseCountdown(content, palette) {
302
305
  }
303
306
  if (noteBody.length) result.note = noteBody.join("\n");
304
307
  if (targetIsNow) {
305
- targetMs = Date.now();
308
+ targetMs = now();
306
309
  result.target = new Date(targetMs).toISOString();
307
310
  } else if (targetRaw !== null) {
308
311
  const iso = normalizeDate(targetRaw, { order: dateOrder, year: baseYear });
@@ -367,7 +370,7 @@ function parseCountdown(content, palette) {
367
370
  result.tz
368
371
  );
369
372
  result.rule = rule;
370
- result.resolvedMs = resolveNext(rule, Date.now());
373
+ result.resolvedMs = resolveNext(rule, now());
371
374
  result.sinceMs = sinceMs;
372
375
  if (sinceHasTime) result.hasTime = true;
373
376
  } else if (targetMs !== null) {
@@ -421,4 +424,4 @@ export {
421
424
  targetToMs2 as targetToMs,
422
425
  parseCountdown
423
426
  };
424
- //# sourceMappingURL=chunk-Z7KVOVE4.js.map
427
+ //# sourceMappingURL=chunk-7WTFX6OA.js.map
@@ -18,7 +18,7 @@ import {
18
18
  stripDefaultModifier,
19
19
  tagAttrKey,
20
20
  validateTagGroupNames
21
- } from "./chunk-76LHNLGX.js";
21
+ } from "./chunk-R4YGH7DJ.js";
22
22
  import {
23
23
  AliasRegistry,
24
24
  C4_REGISTRY,
@@ -849,4 +849,4 @@ function validateDeploymentRefs(result, knownNames, pushWarning) {
849
849
  export {
850
850
  parseC4
851
851
  };
852
- //# sourceMappingURL=chunk-ZM27UI5O.js.map
852
+ //# sourceMappingURL=chunk-A7Y32YD6.js.map
@@ -1,3 +1,7 @@
1
+ import {
2
+ META_FONT_SIZE,
3
+ META_LINE_HEIGHT
4
+ } from "./chunk-IIEI7VK5.js";
1
5
  import {
2
6
  LEGEND_CAPSULE_PAD,
3
7
  LEGEND_DOT_R,
@@ -8,14 +12,15 @@ import {
8
12
  LEGEND_PILL_FONT_SIZE,
9
13
  LEGEND_PILL_PAD,
10
14
  measureLegendText
11
- } from "./chunk-YT5ICQ4R.js";
15
+ } from "./chunk-MFK7LF66.js";
12
16
  import {
13
17
  measureText,
14
18
  wrapTextToWidth
15
19
  } from "./chunk-MTGGOCND.js";
16
20
  import {
21
+ UNTAGGED_TAG_COLOR,
17
22
  tagAttrKey
18
- } from "./chunk-76LHNLGX.js";
23
+ } from "./chunk-R4YGH7DJ.js";
19
24
  import {
20
25
  legendSuppressed
21
26
  } from "./chunk-M5OOAP65.js";
@@ -34,8 +39,6 @@ var DESC_LINE_HEIGHT = 16;
34
39
  var DESC_FONT_SIZE = 11;
35
40
  var CARD_V_PAD = 14;
36
41
  var CARD_H_PAD = 20;
37
- var META_LINE_HEIGHT = 16;
38
- var META_FONT_SIZE = 11;
39
42
  var MARGIN = 40;
40
43
  var BOUNDARY_PAD = 40;
41
44
  var GROUP_BOUNDARY_PAD = 24;
@@ -376,10 +379,10 @@ function resolveNodeColor(el, tagGroups, activeGroupName, ancestors) {
376
379
  }
377
380
  }
378
381
  const resolvedValue = metaValue ?? group.defaultValue;
379
- if (!resolvedValue) return "#999999";
382
+ if (!resolvedValue) return UNTAGGED_TAG_COLOR;
380
383
  return group.entries.find(
381
384
  (e) => e.value.toLowerCase() === resolvedValue.toLowerCase()
382
- )?.color ?? "#999999";
385
+ )?.color ?? UNTAGGED_TAG_COLOR;
383
386
  }
384
387
  var META_EXCLUDE_KEYS = /* @__PURE__ */ new Set([
385
388
  "description",
@@ -1718,4 +1721,4 @@ export {
1718
1721
  layoutC4Components,
1719
1722
  layoutC4Deployment
1720
1723
  };
1721
- //# sourceMappingURL=chunk-FPRMP6YA.js.map
1724
+ //# sourceMappingURL=chunk-AHN2CVCH.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6EK55ART.js";
5
5
  import {
6
6
  noteBoxSize
7
- } from "./chunk-MU3CJPJF.js";
7
+ } from "./chunk-LGI735AJ.js";
8
8
  import {
9
9
  resolveNotes
10
10
  } from "./chunk-E6PNTYRK.js";
@@ -315,4 +315,4 @@ function layoutGraph(graph, options) {
315
315
  export {
316
316
  layoutGraph
317
317
  };
318
- //# sourceMappingURL=chunk-N6MZSBOL.js.map
318
+ //# sourceMappingURL=chunk-AN7T6VP7.js.map
@@ -16,7 +16,7 @@ import {
16
16
  tagAttrKey,
17
17
  validateTagGroupNames,
18
18
  validateTagValues
19
- } from "./chunk-76LHNLGX.js";
19
+ } from "./chunk-R4YGH7DJ.js";
20
20
  import {
21
21
  SKETCH_REGISTRY,
22
22
  extractColor,
@@ -653,4 +653,4 @@ export {
653
653
  isSketchShapeKind,
654
654
  parseSketch
655
655
  };
656
- //# sourceMappingURL=chunk-F4X5NVKY.js.map
656
+ //# sourceMappingURL=chunk-B6PVPAS5.js.map
@@ -1,53 +1,54 @@
1
1
  import {
2
2
  layoutERDiagram
3
- } from "./chunk-5VMUVJO4.js";
3
+ } from "./chunk-5G55TS3H.js";
4
4
  import {
5
5
  NOTE_BADGE_RADIUS,
6
6
  noteConnectorPoints,
7
7
  renderNoteBadge,
8
8
  renderNoteBox,
9
9
  renderNoteConnector
10
- } from "./chunk-Q74GP3GK.js";
11
- import {
12
- EDGE_STROKE_WIDTH,
13
- NODE_STROKE_WIDTH
14
- } from "./chunk-FJ57274M.js";
10
+ } from "./chunk-KO6DGOOB.js";
15
11
  import {
16
12
  ScaleContext
17
13
  } from "./chunk-24YPR5EH.js";
14
+ import {
15
+ EDGE_LABEL_KNOCKOUT_OPACITY,
16
+ EDGE_STROKE_WIDTH,
17
+ NODE_STROKE_WIDTH
18
+ } from "./chunk-IIEI7VK5.js";
18
19
  import {
19
20
  layoutInlineHeader
20
- } from "./chunk-MG3DE3VO.js";
21
+ } from "./chunk-FLMXJMMY.js";
21
22
  import {
22
23
  serializeSvg
23
- } from "./chunk-RU2HHHYA.js";
24
+ } from "./chunk-LD2JSKU3.js";
24
25
  import {
25
26
  TITLE_FONT_SIZE,
26
27
  TITLE_FONT_WEIGHT,
27
28
  TITLE_Y
28
- } from "./chunk-DEW62ON3.js";
29
+ } from "./chunk-VSPNH7LC.js";
29
30
  import {
30
31
  renderIntegratedLegend
31
- } from "./chunk-QT5UMFPE.js";
32
+ } from "./chunk-67I3HFSF.js";
32
33
  import {
33
34
  getLegendExtent
34
- } from "./chunk-4SXHMFFP.js";
35
+ } from "./chunk-IZTU6WVR.js";
35
36
  import {
36
37
  FONT_FAMILY
37
- } from "./chunk-UTCPNJND.js";
38
+ } from "./chunk-ICLB27PZ.js";
38
39
  import {
39
40
  LEGEND_HEIGHT
40
- } from "./chunk-YT5ICQ4R.js";
41
+ } from "./chunk-MFK7LF66.js";
41
42
  import {
42
43
  measureText
43
44
  } from "./chunk-MTGGOCND.js";
44
45
  import {
45
46
  parseERDiagram
46
- } from "./chunk-ICVIJLBA.js";
47
+ } from "./chunk-SFSJ6XWV.js";
47
48
  import {
48
49
  resolveTagColor,
49
50
  tagAttrKey
50
- } from "./chunk-76LHNLGX.js";
51
+ } from "./chunk-R4YGH7DJ.js";
51
52
  import {
52
53
  fillModeFromOptions,
53
54
  legendInlineRequested,
@@ -57,7 +58,7 @@ import {
57
58
  contrastText,
58
59
  getSeriesColors,
59
60
  shapeFill
60
- } from "./chunk-GLREDNBA.js";
61
+ } from "./chunk-YVLTNNME.js";
61
62
 
62
63
  // src/er/renderer.ts
63
64
  import * as d3Selection from "d3-selection";
@@ -410,7 +411,7 @@ function renderERDiagram(container, parsed, layout, palette, isDark, onClickItem
410
411
  const midPt = pts[midIdx];
411
412
  const bgW = measureText(edge.label, sEdgeLabelFontSize) + 8;
412
413
  const bgH = 16;
413
- edgeG.append("rect").attr("x", midPt.x - bgW / 2).attr("y", midPt.y - bgH / 2 - 1).attr("width", bgW).attr("height", bgH).attr("rx", 3).attr("fill", palette.bg).attr("opacity", 0.85).attr("class", "er-edge-label-bg");
414
+ edgeG.append("rect").attr("x", midPt.x - bgW / 2).attr("y", midPt.y - bgH / 2 - 1).attr("width", bgW).attr("height", bgH).attr("rx", 3).attr("fill", palette.bg).attr("opacity", EDGE_LABEL_KNOCKOUT_OPACITY).attr("class", "er-edge-label-bg");
414
415
  edgeG.append("text").attr("x", midPt.x).attr("y", midPt.y + 4).attr("text-anchor", "middle").attr("fill", edgeColor).attr("font-size", sEdgeLabelFontSize).attr("class", "er-edge-label").text(edge.label);
415
416
  }
416
417
  }
@@ -603,4 +604,4 @@ export {
603
604
  renderERDiagram,
604
605
  renderERDiagramForExport
605
606
  };
606
- //# sourceMappingURL=chunk-QI4Q5ZZH.js.map
607
+ //# sourceMappingURL=chunk-BB2ORSTF.js.map