@graphty/graph-io 0.3.42 → 0.3.44

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 (674) hide show
  1. package/dist/chunks/approximations-3Q4TsdTh.js +40 -0
  2. package/dist/chunks/approximations-3Q4TsdTh.js.map +1 -0
  3. package/dist/chunks/block-JQiwViEt.js +2777 -0
  4. package/dist/chunks/block-JQiwViEt.js.map +1 -0
  5. package/dist/chunks/{choose-DvpbdRuz.js → choose-BemygfH8.js} +3 -2
  6. package/dist/chunks/{choose-DvpbdRuz.js.map → choose-BemygfH8.js.map} +1 -1
  7. package/dist/chunks/{constants-fT3E8JYY.js → constants-BFUR_CtU.js} +6 -2
  8. package/dist/chunks/constants-BFUR_CtU.js.map +1 -0
  9. package/dist/chunks/convert-BcQ8_jMo.js +59 -0
  10. package/dist/chunks/convert-BcQ8_jMo.js.map +1 -0
  11. package/dist/chunks/emit-DCwFLts5.js +3456 -0
  12. package/dist/chunks/emit-DCwFLts5.js.map +1 -0
  13. package/dist/chunks/{escape-B62ZGM_a.js → escape-B1rMftd9.js} +43 -20
  14. package/dist/chunks/escape-B1rMftd9.js.map +1 -0
  15. package/dist/chunks/{export-rKLeGQMo.js → export-D7IGzTG4.js} +196 -792
  16. package/dist/chunks/export-D7IGzTG4.js.map +1 -0
  17. package/dist/chunks/{exporter-BWwEuOPT.js → exporter-BtnqYuuj.js} +22 -12
  18. package/dist/chunks/exporter-BtnqYuuj.js.map +1 -0
  19. package/dist/chunks/{exporter-yLxKBvLE.js → exporter-ChPyhBOv.js} +4 -3
  20. package/dist/chunks/{exporter-yLxKBvLE.js.map → exporter-ChPyhBOv.js.map} +1 -1
  21. package/dist/chunks/{exporter-8hLNemFk.js → exporter-KEPxYUXD.js} +133 -74
  22. package/dist/chunks/exporter-KEPxYUXD.js.map +1 -0
  23. package/dist/chunks/{exporter-CpRyHZ3H.js → exporter-quPUCBiC.js} +1807 -288
  24. package/dist/chunks/exporter-quPUCBiC.js.map +1 -0
  25. package/dist/chunks/format-GDmO6m6Q.js +676 -0
  26. package/dist/chunks/format-GDmO6m6Q.js.map +1 -0
  27. package/dist/chunks/generic-BL06jrJf.js +1347 -0
  28. package/dist/chunks/generic-BL06jrJf.js.map +1 -0
  29. package/dist/chunks/{importer-WrGRZb0N.js → importer-B7r2owVf.js} +449 -102
  30. package/dist/chunks/importer-B7r2owVf.js.map +1 -0
  31. package/dist/chunks/{importer-Ht7LNg8L.js → importer-BFmOP96W.js} +116 -296
  32. package/dist/chunks/importer-BFmOP96W.js.map +1 -0
  33. package/dist/chunks/{importer-BbNb7eNg.js → importer-C2nzGhdV.js} +1390 -129
  34. package/dist/chunks/importer-C2nzGhdV.js.map +1 -0
  35. package/dist/chunks/{importer-Dz7tI8Sa.js → importer-CbX2_rNF.js} +617 -115
  36. package/dist/chunks/importer-CbX2_rNF.js.map +1 -0
  37. package/dist/chunks/{importer-D794XUTe.js → importer-CdzeN6X4.js} +31 -8
  38. package/dist/chunks/importer-CdzeN6X4.js.map +1 -0
  39. package/dist/chunks/{importer-xZ-3suY1.js → importer-ChKNC_GN.js} +791 -135
  40. package/dist/chunks/importer-ChKNC_GN.js.map +1 -0
  41. package/dist/chunks/{importer-C98dpSH4.js → importer-dwoYpSqb.js} +141 -82
  42. package/dist/chunks/importer-dwoYpSqb.js.map +1 -0
  43. package/dist/chunks/index-B9fdNpTA.js +4310 -0
  44. package/dist/chunks/index-B9fdNpTA.js.map +1 -0
  45. package/dist/chunks/{json-elements-DKSqpNW1.js → json-elements-C4FwgnH5.js} +123 -32
  46. package/dist/chunks/json-elements-C4FwgnH5.js.map +1 -0
  47. package/dist/chunks/lexicon-B-knUi-l.js +508 -0
  48. package/dist/chunks/lexicon-B-knUi-l.js.map +1 -0
  49. package/dist/chunks/{ontology-export-CtRXjg_i.js → ontology-export-BSpbY5FL.js} +3 -2
  50. package/dist/chunks/{ontology-export-CtRXjg_i.js.map → ontology-export-BSpbY5FL.js.map} +1 -1
  51. package/dist/chunks/{records-Cu4bxYOm.js → records-Nwz_rbNt.js} +2 -2
  52. package/dist/chunks/{records-Cu4bxYOm.js.map → records-Nwz_rbNt.js.map} +1 -1
  53. package/dist/chunks/styles-Brt9JMfs.js +690 -0
  54. package/dist/chunks/styles-Brt9JMfs.js.map +1 -0
  55. package/dist/chunks/styles-_N-C8S-U.js +2102 -0
  56. package/dist/chunks/styles-_N-C8S-U.js.map +1 -0
  57. package/dist/chunks/styles-yed-DAfcIkf7.js +842 -0
  58. package/dist/chunks/styles-yed-DAfcIkf7.js.map +1 -0
  59. package/dist/chunks/{text-DHOJXnED.js → text-CgzMqHQb.js} +2 -2
  60. package/dist/chunks/{text-DHOJXnED.js.map → text-CgzMqHQb.js.map} +1 -1
  61. package/dist/chunks/units-XMZFIFe1.js +19 -0
  62. package/dist/chunks/units-XMZFIFe1.js.map +1 -0
  63. package/dist/csv.js +5 -4
  64. package/dist/csv.js.map +1 -1
  65. package/dist/cx.js +1 -1
  66. package/dist/cx2.js +2 -2
  67. package/dist/cys.js +1 -1
  68. package/dist/dot.js +5 -2
  69. package/dist/dot.js.map +1 -1
  70. package/dist/gexf.js +295 -414
  71. package/dist/gexf.js.map +1 -1
  72. package/dist/gml.js +8 -3031
  73. package/dist/gml.js.map +1 -1
  74. package/dist/graph-io.js +354 -240
  75. package/dist/graph-io.js.map +1 -1
  76. package/dist/graphml.js +4 -2
  77. package/dist/graphml.js.map +1 -1
  78. package/dist/json.js +1 -1
  79. package/dist/neo4j.js +4 -3
  80. package/dist/neo4j.js.map +1 -1
  81. package/dist/obo.js +1 -1
  82. package/dist/pajek.js +4 -2
  83. package/dist/positions.d.ts +1 -0
  84. package/dist/positions.js +427 -0
  85. package/dist/positions.js.map +1 -0
  86. package/dist/src/common/codes.d.ts +6 -0
  87. package/dist/src/common/codes.d.ts.map +1 -1
  88. package/dist/src/common/codes.js +6 -0
  89. package/dist/src/common/codes.js.map +1 -1
  90. package/dist/src/common/escape.d.ts.map +1 -1
  91. package/dist/src/common/escape.js +4 -2
  92. package/dist/src/common/escape.js.map +1 -1
  93. package/dist/src/common/export.d.ts +10 -0
  94. package/dist/src/common/export.d.ts.map +1 -1
  95. package/dist/src/common/export.js +123 -100
  96. package/dist/src/common/export.js.map +1 -1
  97. package/dist/src/common/input.d.ts.map +1 -1
  98. package/dist/src/common/input.js +8 -1
  99. package/dist/src/common/input.js.map +1 -1
  100. package/dist/src/common/json-elements.d.ts +12 -9
  101. package/dist/src/common/json-elements.d.ts.map +1 -1
  102. package/dist/src/common/json-elements.js +160 -37
  103. package/dist/src/common/json-elements.js.map +1 -1
  104. package/dist/src/common/notes.d.ts +42 -0
  105. package/dist/src/common/notes.d.ts.map +1 -0
  106. package/dist/src/common/notes.js +72 -0
  107. package/dist/src/common/notes.js.map +1 -0
  108. package/dist/src/common/report.d.ts +18 -0
  109. package/dist/src/common/report.d.ts.map +1 -1
  110. package/dist/src/common/report.js +36 -1
  111. package/dist/src/common/report.js.map +1 -1
  112. package/dist/src/common/units.d.ts +24 -0
  113. package/dist/src/common/units.d.ts.map +1 -0
  114. package/dist/src/common/units.js +26 -0
  115. package/dist/src/common/units.js.map +1 -0
  116. package/dist/src/common/xml.d.ts +18 -0
  117. package/dist/src/common/xml.d.ts.map +1 -1
  118. package/dist/src/common/xml.js +42 -5
  119. package/dist/src/common/xml.js.map +1 -1
  120. package/dist/src/formats/cx/exporter.d.ts +6 -0
  121. package/dist/src/formats/cx/exporter.d.ts.map +1 -1
  122. package/dist/src/formats/cx/exporter.js +71 -8
  123. package/dist/src/formats/cx/exporter.js.map +1 -1
  124. package/dist/src/formats/cx/importer.d.ts +5 -2
  125. package/dist/src/formats/cx/importer.d.ts.map +1 -1
  126. package/dist/src/formats/cx/importer.js +102 -72
  127. package/dist/src/formats/cx/importer.js.map +1 -1
  128. package/dist/src/formats/cx/styles.d.ts +102 -0
  129. package/dist/src/formats/cx/styles.d.ts.map +1 -0
  130. package/dist/src/formats/cx/styles.js +225 -0
  131. package/dist/src/formats/cx/styles.js.map +1 -0
  132. package/dist/src/formats/cx2/exporter.d.ts +5 -0
  133. package/dist/src/formats/cx2/exporter.d.ts.map +1 -1
  134. package/dist/src/formats/cx2/exporter.js +181 -71
  135. package/dist/src/formats/cx2/exporter.js.map +1 -1
  136. package/dist/src/formats/cx2/importer.d.ts +4 -1
  137. package/dist/src/formats/cx2/importer.d.ts.map +1 -1
  138. package/dist/src/formats/cx2/importer.js +19 -1
  139. package/dist/src/formats/cx2/importer.js.map +1 -1
  140. package/dist/src/formats/cx2/styles.d.ts +18 -0
  141. package/dist/src/formats/cx2/styles.d.ts.map +1 -0
  142. package/dist/src/formats/cx2/styles.js +24 -0
  143. package/dist/src/formats/cx2/styles.js.map +1 -0
  144. package/dist/src/formats/cys/constants.d.ts +2 -0
  145. package/dist/src/formats/cys/constants.d.ts.map +1 -1
  146. package/dist/src/formats/cys/constants.js +2 -0
  147. package/dist/src/formats/cys/constants.js.map +1 -1
  148. package/dist/src/formats/cys/exporter.d.ts +6 -2
  149. package/dist/src/formats/cys/exporter.d.ts.map +1 -1
  150. package/dist/src/formats/cys/exporter.js +215 -53
  151. package/dist/src/formats/cys/exporter.js.map +1 -1
  152. package/dist/src/formats/cys/importer.d.ts +2 -1
  153. package/dist/src/formats/cys/importer.d.ts.map +1 -1
  154. package/dist/src/formats/cys/importer.js +119 -6
  155. package/dist/src/formats/cys/importer.js.map +1 -1
  156. package/dist/src/formats/cys/session.d.ts +2 -0
  157. package/dist/src/formats/cys/session.d.ts.map +1 -1
  158. package/dist/src/formats/cys/session.js +5 -0
  159. package/dist/src/formats/cys/session.js.map +1 -1
  160. package/dist/src/formats/cys/styles.d.ts +38 -0
  161. package/dist/src/formats/cys/styles.d.ts.map +1 -0
  162. package/dist/src/formats/cys/styles.js +213 -0
  163. package/dist/src/formats/cys/styles.js.map +1 -0
  164. package/dist/src/formats/cys/tables.d.ts +8 -3
  165. package/dist/src/formats/cys/tables.d.ts.map +1 -1
  166. package/dist/src/formats/cys/tables.js +88 -34
  167. package/dist/src/formats/cys/tables.js.map +1 -1
  168. package/dist/src/formats/dot/exporter.d.ts +2 -0
  169. package/dist/src/formats/dot/exporter.d.ts.map +1 -1
  170. package/dist/src/formats/dot/exporter.js +195 -81
  171. package/dist/src/formats/dot/exporter.js.map +1 -1
  172. package/dist/src/formats/dot/importer.d.ts.map +1 -1
  173. package/dist/src/formats/dot/importer.js +100 -20
  174. package/dist/src/formats/dot/importer.js.map +1 -1
  175. package/dist/src/formats/dot/index.d.ts +1 -0
  176. package/dist/src/formats/dot/index.d.ts.map +1 -1
  177. package/dist/src/formats/dot/index.js +1 -0
  178. package/dist/src/formats/dot/index.js.map +1 -1
  179. package/dist/src/formats/dot/positions.d.ts +14 -0
  180. package/dist/src/formats/dot/positions.d.ts.map +1 -0
  181. package/dist/src/formats/dot/positions.js +70 -0
  182. package/dist/src/formats/dot/positions.js.map +1 -0
  183. package/dist/src/formats/dot/styles.d.ts +82 -0
  184. package/dist/src/formats/dot/styles.d.ts.map +1 -0
  185. package/dist/src/formats/dot/styles.js +1484 -0
  186. package/dist/src/formats/dot/styles.js.map +1 -0
  187. package/dist/src/formats/gexf/exporter.d.ts.map +1 -1
  188. package/dist/src/formats/gexf/exporter.js +23 -7
  189. package/dist/src/formats/gexf/exporter.js.map +1 -1
  190. package/dist/src/formats/gexf/importer.d.ts +8 -1
  191. package/dist/src/formats/gexf/importer.d.ts.map +1 -1
  192. package/dist/src/formats/gexf/importer.js +251 -131
  193. package/dist/src/formats/gexf/importer.js.map +1 -1
  194. package/dist/src/formats/gexf/index.d.ts +8 -0
  195. package/dist/src/formats/gexf/index.d.ts.map +1 -1
  196. package/dist/src/formats/gexf/index.js +10 -2
  197. package/dist/src/formats/gexf/index.js.map +1 -1
  198. package/dist/src/formats/gexf/schema.d.ts +5 -0
  199. package/dist/src/formats/gexf/schema.d.ts.map +1 -1
  200. package/dist/src/formats/gexf/schema.js +5 -0
  201. package/dist/src/formats/gexf/schema.js.map +1 -1
  202. package/dist/src/formats/gexf/styles.d.ts +74 -0
  203. package/dist/src/formats/gexf/styles.d.ts.map +1 -0
  204. package/dist/src/formats/gexf/styles.js +604 -0
  205. package/dist/src/formats/gexf/styles.js.map +1 -0
  206. package/dist/src/formats/gml/exporter.d.ts +1 -5
  207. package/dist/src/formats/gml/exporter.d.ts.map +1 -1
  208. package/dist/src/formats/gml/exporter.js +19 -8
  209. package/dist/src/formats/gml/exporter.js.map +1 -1
  210. package/dist/src/formats/gml/importer.d.ts.map +1 -1
  211. package/dist/src/formats/gml/importer.js +4 -0
  212. package/dist/src/formats/gml/importer.js.map +1 -1
  213. package/dist/src/formats/gml/index.d.ts +2 -1
  214. package/dist/src/formats/gml/index.d.ts.map +1 -1
  215. package/dist/src/formats/gml/index.js +2 -1
  216. package/dist/src/formats/gml/index.js.map +1 -1
  217. package/dist/src/formats/gml/positions.d.ts +14 -0
  218. package/dist/src/formats/gml/positions.d.ts.map +1 -0
  219. package/dist/src/formats/gml/positions.js +46 -0
  220. package/dist/src/formats/gml/positions.js.map +1 -0
  221. package/dist/src/formats/gml/styles.d.ts +59 -0
  222. package/dist/src/formats/gml/styles.d.ts.map +1 -0
  223. package/dist/src/formats/gml/styles.js +1056 -0
  224. package/dist/src/formats/gml/styles.js.map +1 -0
  225. package/dist/src/formats/gml/syntax.d.ts +11 -0
  226. package/dist/src/formats/gml/syntax.d.ts.map +1 -1
  227. package/dist/src/formats/gml/syntax.js +151 -62
  228. package/dist/src/formats/gml/syntax.js.map +1 -1
  229. package/dist/src/formats/graphml/constants.d.ts +4 -0
  230. package/dist/src/formats/graphml/constants.d.ts.map +1 -1
  231. package/dist/src/formats/graphml/constants.js +5 -1
  232. package/dist/src/formats/graphml/constants.js.map +1 -1
  233. package/dist/src/formats/graphml/exporter.d.ts.map +1 -1
  234. package/dist/src/formats/graphml/exporter.js +133 -65
  235. package/dist/src/formats/graphml/exporter.js.map +1 -1
  236. package/dist/src/formats/graphml/importer.d.ts +4 -1
  237. package/dist/src/formats/graphml/importer.d.ts.map +1 -1
  238. package/dist/src/formats/graphml/importer.js +100 -44
  239. package/dist/src/formats/graphml/importer.js.map +1 -1
  240. package/dist/src/formats/graphml/index.d.ts +1 -0
  241. package/dist/src/formats/graphml/index.d.ts.map +1 -1
  242. package/dist/src/formats/graphml/index.js +1 -0
  243. package/dist/src/formats/graphml/index.js.map +1 -1
  244. package/dist/src/formats/graphml/styles-plain.d.ts +19 -0
  245. package/dist/src/formats/graphml/styles-plain.d.ts.map +1 -0
  246. package/dist/src/formats/graphml/styles-plain.js +187 -0
  247. package/dist/src/formats/graphml/styles-plain.js.map +1 -0
  248. package/dist/src/formats/graphml/styles-yed.d.ts +179 -0
  249. package/dist/src/formats/graphml/styles-yed.d.ts.map +1 -0
  250. package/dist/src/formats/graphml/styles-yed.js +1086 -0
  251. package/dist/src/formats/graphml/styles-yed.js.map +1 -0
  252. package/dist/src/formats/graphml/styles-yfiles3.d.ts +19 -0
  253. package/dist/src/formats/graphml/styles-yfiles3.d.ts.map +1 -0
  254. package/dist/src/formats/graphml/styles-yfiles3.js +508 -0
  255. package/dist/src/formats/graphml/styles-yfiles3.js.map +1 -0
  256. package/dist/src/formats/graphml/tree.d.ts.map +1 -1
  257. package/dist/src/formats/graphml/tree.js +34 -19
  258. package/dist/src/formats/graphml/tree.js.map +1 -1
  259. package/dist/src/formats/graphml/yfiles.d.ts +16 -2
  260. package/dist/src/formats/graphml/yfiles.d.ts.map +1 -1
  261. package/dist/src/formats/graphml/yfiles.js +83 -12
  262. package/dist/src/formats/graphml/yfiles.js.map +1 -1
  263. package/dist/src/formats/json/exporter.d.ts +5 -0
  264. package/dist/src/formats/json/exporter.d.ts.map +1 -1
  265. package/dist/src/formats/json/exporter.js +68 -25
  266. package/dist/src/formats/json/exporter.js.map +1 -1
  267. package/dist/src/formats/json/importer.d.ts +22 -3
  268. package/dist/src/formats/json/importer.d.ts.map +1 -1
  269. package/dist/src/formats/json/importer.js +441 -265
  270. package/dist/src/formats/json/importer.js.map +1 -1
  271. package/dist/src/formats/json/positions.d.ts +16 -0
  272. package/dist/src/formats/json/positions.d.ts.map +1 -0
  273. package/dist/src/formats/json/positions.js +44 -0
  274. package/dist/src/formats/json/positions.js.map +1 -0
  275. package/dist/src/formats/json/styles.d.ts +102 -0
  276. package/dist/src/formats/json/styles.d.ts.map +1 -0
  277. package/dist/src/formats/json/styles.js +1753 -0
  278. package/dist/src/formats/json/styles.js.map +1 -0
  279. package/dist/src/formats/neo4j/exporter.d.ts.map +1 -1
  280. package/dist/src/formats/neo4j/exporter.js +2 -1
  281. package/dist/src/formats/neo4j/exporter.js.map +1 -1
  282. package/dist/src/formats/pajek/exporter.d.ts +2 -0
  283. package/dist/src/formats/pajek/exporter.d.ts.map +1 -1
  284. package/dist/src/formats/pajek/exporter.js +142 -76
  285. package/dist/src/formats/pajek/exporter.js.map +1 -1
  286. package/dist/src/formats/pajek/importer.d.ts +4 -0
  287. package/dist/src/formats/pajek/importer.d.ts.map +1 -1
  288. package/dist/src/formats/pajek/importer.js +60 -6
  289. package/dist/src/formats/pajek/importer.js.map +1 -1
  290. package/dist/src/formats/pajek/index.d.ts +2 -0
  291. package/dist/src/formats/pajek/index.d.ts.map +1 -1
  292. package/dist/src/formats/pajek/index.js +2 -0
  293. package/dist/src/formats/pajek/index.js.map +1 -1
  294. package/dist/src/formats/pajek/styles.d.ts +50 -0
  295. package/dist/src/formats/pajek/styles.d.ts.map +1 -0
  296. package/dist/src/formats/pajek/styles.js +569 -0
  297. package/dist/src/formats/pajek/styles.js.map +1 -0
  298. package/dist/src/formats/pajek/syntax.d.ts +6 -0
  299. package/dist/src/formats/pajek/syntax.d.ts.map +1 -1
  300. package/dist/src/formats/pajek/syntax.js +6 -0
  301. package/dist/src/formats/pajek/syntax.js.map +1 -1
  302. package/dist/src/formats/xgmml/columns.d.ts.map +1 -1
  303. package/dist/src/formats/xgmml/columns.js +34 -9
  304. package/dist/src/formats/xgmml/columns.js.map +1 -1
  305. package/dist/src/formats/xgmml/constants.d.ts +2 -0
  306. package/dist/src/formats/xgmml/constants.d.ts.map +1 -1
  307. package/dist/src/formats/xgmml/constants.js +3 -1
  308. package/dist/src/formats/xgmml/constants.js.map +1 -1
  309. package/dist/src/formats/xgmml/document.d.ts +12 -8
  310. package/dist/src/formats/xgmml/document.d.ts.map +1 -1
  311. package/dist/src/formats/xgmml/document.js +56 -13
  312. package/dist/src/formats/xgmml/document.js.map +1 -1
  313. package/dist/src/formats/xgmml/emit.d.ts.map +1 -1
  314. package/dist/src/formats/xgmml/emit.js +12 -6
  315. package/dist/src/formats/xgmml/emit.js.map +1 -1
  316. package/dist/src/formats/xgmml/exporter.d.ts +3 -1
  317. package/dist/src/formats/xgmml/exporter.d.ts.map +1 -1
  318. package/dist/src/formats/xgmml/exporter.js +22 -9
  319. package/dist/src/formats/xgmml/exporter.js.map +1 -1
  320. package/dist/src/formats/xgmml/importer.d.ts +2 -1
  321. package/dist/src/formats/xgmml/importer.d.ts.map +1 -1
  322. package/dist/src/formats/xgmml/importer.js +31 -24
  323. package/dist/src/formats/xgmml/importer.js.map +1 -1
  324. package/dist/src/formats/xgmml/styles.d.ts +104 -0
  325. package/dist/src/formats/xgmml/styles.d.ts.map +1 -0
  326. package/dist/src/formats/xgmml/styles.js +310 -0
  327. package/dist/src/formats/xgmml/styles.js.map +1 -0
  328. package/dist/src/index.d.ts +9 -7
  329. package/dist/src/index.d.ts.map +1 -1
  330. package/dist/src/index.js +7 -7
  331. package/dist/src/index.js.map +1 -1
  332. package/dist/src/positions/codes.d.ts +31 -0
  333. package/dist/src/positions/codes.d.ts.map +1 -0
  334. package/dist/src/positions/codes.js +26 -0
  335. package/dist/src/positions/codes.js.map +1 -0
  336. package/dist/src/positions/convert.d.ts +58 -0
  337. package/dist/src/positions/convert.d.ts.map +1 -0
  338. package/dist/src/positions/convert.js +107 -0
  339. package/dist/src/positions/convert.js.map +1 -0
  340. package/dist/src/positions/extract.d.ts +27 -0
  341. package/dist/src/positions/extract.d.ts.map +1 -0
  342. package/dist/src/positions/extract.js +526 -0
  343. package/dist/src/positions/extract.js.map +1 -0
  344. package/dist/src/positions/index.d.ts +10 -0
  345. package/dist/src/positions/index.d.ts.map +1 -0
  346. package/dist/src/positions/index.js +9 -0
  347. package/dist/src/positions/index.js.map +1 -0
  348. package/dist/src/positions/types.d.ts +208 -0
  349. package/dist/src/positions/types.d.ts.map +1 -0
  350. package/dist/src/positions/types.js +10 -0
  351. package/dist/src/positions/types.js.map +1 -0
  352. package/dist/src/registry.d.ts +30 -0
  353. package/dist/src/registry.d.ts.map +1 -1
  354. package/dist/src/registry.js +130 -9
  355. package/dist/src/registry.js.map +1 -1
  356. package/dist/src/styles/annotations.d.ts +132 -0
  357. package/dist/src/styles/annotations.d.ts.map +1 -0
  358. package/dist/src/styles/annotations.js +320 -0
  359. package/dist/src/styles/annotations.js.map +1 -0
  360. package/dist/src/styles/budget.d.ts +45 -0
  361. package/dist/src/styles/budget.d.ts.map +1 -0
  362. package/dist/src/styles/budget.js +58 -0
  363. package/dist/src/styles/budget.js.map +1 -0
  364. package/dist/src/styles/canon/bends.d.ts +32 -0
  365. package/dist/src/styles/canon/bends.d.ts.map +1 -0
  366. package/dist/src/styles/canon/bends.js +74 -0
  367. package/dist/src/styles/canon/bends.js.map +1 -0
  368. package/dist/src/styles/canon/color-tables.d.ts +22 -0
  369. package/dist/src/styles/canon/color-tables.d.ts.map +1 -0
  370. package/dist/src/styles/canon/color-tables.js +369 -0
  371. package/dist/src/styles/canon/color-tables.js.map +1 -0
  372. package/dist/src/styles/canon/color.d.ts +66 -0
  373. package/dist/src/styles/canon/color.d.ts.map +1 -0
  374. package/dist/src/styles/canon/color.js +548 -0
  375. package/dist/src/styles/canon/color.js.map +1 -0
  376. package/dist/src/styles/canon/enums.d.ts +25 -0
  377. package/dist/src/styles/canon/enums.d.ts.map +1 -0
  378. package/dist/src/styles/canon/enums.js +187 -0
  379. package/dist/src/styles/canon/enums.js.map +1 -0
  380. package/dist/src/styles/canon/graphviz.d.ts +48 -0
  381. package/dist/src/styles/canon/graphviz.d.ts.map +1 -0
  382. package/dist/src/styles/canon/graphviz.js +160 -0
  383. package/dist/src/styles/canon/graphviz.js.map +1 -0
  384. package/dist/src/styles/canon/index.d.ts +13 -0
  385. package/dist/src/styles/canon/index.d.ts.map +1 -0
  386. package/dist/src/styles/canon/index.js +13 -0
  387. package/dist/src/styles/canon/index.js.map +1 -0
  388. package/dist/src/styles/canon/number.d.ts +59 -0
  389. package/dist/src/styles/canon/number.d.ts.map +1 -0
  390. package/dist/src/styles/canon/number.js +142 -0
  391. package/dist/src/styles/canon/number.js.map +1 -0
  392. package/dist/src/styles/canon/site.d.ts +51 -0
  393. package/dist/src/styles/canon/site.d.ts.map +1 -0
  394. package/dist/src/styles/canon/site.js +63 -0
  395. package/dist/src/styles/canon/site.js.map +1 -0
  396. package/dist/src/styles/canon/text.d.ts +61 -0
  397. package/dist/src/styles/canon/text.d.ts.map +1 -0
  398. package/dist/src/styles/canon/text.js +199 -0
  399. package/dist/src/styles/canon/text.js.map +1 -0
  400. package/dist/src/styles/codes.d.ts +95 -0
  401. package/dist/src/styles/codes.d.ts.map +1 -0
  402. package/dist/src/styles/codes.js +97 -0
  403. package/dist/src/styles/codes.js.map +1 -0
  404. package/dist/src/styles/cyjs/cascade.d.ts +134 -0
  405. package/dist/src/styles/cyjs/cascade.d.ts.map +1 -0
  406. package/dist/src/styles/cyjs/cascade.js +2252 -0
  407. package/dist/src/styles/cyjs/cascade.js.map +1 -0
  408. package/dist/src/styles/cyjs/defaults-table.d.ts +25 -0
  409. package/dist/src/styles/cyjs/defaults-table.d.ts.map +1 -0
  410. package/dist/src/styles/cyjs/defaults-table.js +76 -0
  411. package/dist/src/styles/cyjs/defaults-table.js.map +1 -0
  412. package/dist/src/styles/cyjs/emit.d.ts +82 -0
  413. package/dist/src/styles/cyjs/emit.d.ts.map +1 -0
  414. package/dist/src/styles/cyjs/emit.js +790 -0
  415. package/dist/src/styles/cyjs/emit.js.map +1 -0
  416. package/dist/src/styles/cyjs/index.d.ts +13 -0
  417. package/dist/src/styles/cyjs/index.d.ts.map +1 -0
  418. package/dist/src/styles/cyjs/index.js +13 -0
  419. package/dist/src/styles/cyjs/index.js.map +1 -0
  420. package/dist/src/styles/cyjs/live.d.ts +46 -0
  421. package/dist/src/styles/cyjs/live.d.ts.map +1 -0
  422. package/dist/src/styles/cyjs/live.js +108 -0
  423. package/dist/src/styles/cyjs/live.js.map +1 -0
  424. package/dist/src/styles/cyjs/mappers.d.ts +147 -0
  425. package/dist/src/styles/cyjs/mappers.d.ts.map +1 -0
  426. package/dist/src/styles/cyjs/mappers.js +744 -0
  427. package/dist/src/styles/cyjs/mappers.js.map +1 -0
  428. package/dist/src/styles/cyjs/selector.d.ts +113 -0
  429. package/dist/src/styles/cyjs/selector.d.ts.map +1 -0
  430. package/dist/src/styles/cyjs/selector.js +611 -0
  431. package/dist/src/styles/cyjs/selector.js.map +1 -0
  432. package/dist/src/styles/cyjs/stylesheet-text.d.ts +37 -0
  433. package/dist/src/styles/cyjs/stylesheet-text.d.ts.map +1 -0
  434. package/dist/src/styles/cyjs/stylesheet-text.js +181 -0
  435. package/dist/src/styles/cyjs/stylesheet-text.js.map +1 -0
  436. package/dist/src/styles/cytoscape/emit.d.ts +125 -0
  437. package/dist/src/styles/cytoscape/emit.d.ts.map +1 -0
  438. package/dist/src/styles/cytoscape/emit.js +1025 -0
  439. package/dist/src/styles/cytoscape/emit.js.map +1 -0
  440. package/dist/src/styles/cytoscape/index.d.ts +10 -0
  441. package/dist/src/styles/cytoscape/index.d.ts.map +1 -0
  442. package/dist/src/styles/cytoscape/index.js +10 -0
  443. package/dist/src/styles/cytoscape/index.js.map +1 -0
  444. package/dist/src/styles/cytoscape/lexicon.d.ts +49 -0
  445. package/dist/src/styles/cytoscape/lexicon.d.ts.map +1 -0
  446. package/dist/src/styles/cytoscape/lexicon.js +603 -0
  447. package/dist/src/styles/cytoscape/lexicon.js.map +1 -0
  448. package/dist/src/styles/cytoscape/mappings.d.ts +171 -0
  449. package/dist/src/styles/cytoscape/mappings.d.ts.map +1 -0
  450. package/dist/src/styles/cytoscape/mappings.js +460 -0
  451. package/dist/src/styles/cytoscape/mappings.js.map +1 -0
  452. package/dist/src/styles/cytoscape/resolve.d.ts +137 -0
  453. package/dist/src/styles/cytoscape/resolve.d.ts.map +1 -0
  454. package/dist/src/styles/cytoscape/resolve.js +381 -0
  455. package/dist/src/styles/cytoscape/resolve.js.map +1 -0
  456. package/dist/src/styles/cytoscape/translate.d.ts +50 -0
  457. package/dist/src/styles/cytoscape/translate.d.ts.map +1 -0
  458. package/dist/src/styles/cytoscape/translate.js +156 -0
  459. package/dist/src/styles/cytoscape/translate.js.map +1 -0
  460. package/dist/src/styles/defaults.d.ts +90 -0
  461. package/dist/src/styles/defaults.d.ts.map +1 -0
  462. package/dist/src/styles/defaults.js +414 -0
  463. package/dist/src/styles/defaults.js.map +1 -0
  464. package/dist/src/styles/index.d.ts +15 -0
  465. package/dist/src/styles/index.d.ts.map +1 -0
  466. package/dist/src/styles/index.js +14 -0
  467. package/dist/src/styles/index.js.map +1 -0
  468. package/dist/src/styles/internal.d.ts +17 -0
  469. package/dist/src/styles/internal.d.ts.map +1 -0
  470. package/dist/src/styles/internal.js +16 -0
  471. package/dist/src/styles/internal.js.map +1 -0
  472. package/dist/src/styles/io/approximations.d.ts +24 -0
  473. package/dist/src/styles/io/approximations.d.ts.map +1 -0
  474. package/dist/src/styles/io/approximations.js +51 -0
  475. package/dist/src/styles/io/approximations.js.map +1 -0
  476. package/dist/src/styles/io/block.d.ts +166 -0
  477. package/dist/src/styles/io/block.d.ts.map +1 -0
  478. package/dist/src/styles/io/block.js +930 -0
  479. package/dist/src/styles/io/block.js.map +1 -0
  480. package/dist/src/styles/io/generic.d.ts +88 -0
  481. package/dist/src/styles/io/generic.d.ts.map +1 -0
  482. package/dist/src/styles/io/generic.js +516 -0
  483. package/dist/src/styles/io/generic.js.map +1 -0
  484. package/dist/src/styles/io/index.d.ts +8 -0
  485. package/dist/src/styles/io/index.d.ts.map +1 -0
  486. package/dist/src/styles/io/index.js +7 -0
  487. package/dist/src/styles/io/index.js.map +1 -0
  488. package/dist/src/styles/io/writer.d.ts +80 -0
  489. package/dist/src/styles/io/writer.d.ts.map +1 -0
  490. package/dist/src/styles/io/writer.js +596 -0
  491. package/dist/src/styles/io/writer.js.map +1 -0
  492. package/dist/src/styles/notes.d.ts +47 -0
  493. package/dist/src/styles/notes.d.ts.map +1 -0
  494. package/dist/src/styles/notes.js +140 -0
  495. package/dist/src/styles/notes.js.map +1 -0
  496. package/dist/src/styles/plan/classes.d.ts +31 -0
  497. package/dist/src/styles/plan/classes.d.ts.map +1 -0
  498. package/dist/src/styles/plan/classes.js +139 -0
  499. package/dist/src/styles/plan/classes.js.map +1 -0
  500. package/dist/src/styles/plan/continuous.d.ts +32 -0
  501. package/dist/src/styles/plan/continuous.d.ts.map +1 -0
  502. package/dist/src/styles/plan/continuous.js +165 -0
  503. package/dist/src/styles/plan/continuous.js.map +1 -0
  504. package/dist/src/styles/plan/discrete.d.ts +39 -0
  505. package/dist/src/styles/plan/discrete.d.ts.map +1 -0
  506. package/dist/src/styles/plan/discrete.js +127 -0
  507. package/dist/src/styles/plan/discrete.js.map +1 -0
  508. package/dist/src/styles/plan/families.d.ts +31 -0
  509. package/dist/src/styles/plan/families.d.ts.map +1 -0
  510. package/dist/src/styles/plan/families.js +95 -0
  511. package/dist/src/styles/plan/families.js.map +1 -0
  512. package/dist/src/styles/plan/features.d.ts +58 -0
  513. package/dist/src/styles/plan/features.d.ts.map +1 -0
  514. package/dist/src/styles/plan/features.js +185 -0
  515. package/dist/src/styles/plan/features.js.map +1 -0
  516. package/dist/src/styles/plan/index.d.ts +7 -0
  517. package/dist/src/styles/plan/index.d.ts.map +1 -0
  518. package/dist/src/styles/plan/index.js +7 -0
  519. package/dist/src/styles/plan/index.js.map +1 -0
  520. package/dist/src/styles/plan/plan.d.ts +71 -0
  521. package/dist/src/styles/plan/plan.d.ts.map +1 -0
  522. package/dist/src/styles/plan/plan.js +893 -0
  523. package/dist/src/styles/plan/plan.js.map +1 -0
  524. package/dist/src/styles/plan/resolve.d.ts +137 -0
  525. package/dist/src/styles/plan/resolve.d.ts.map +1 -0
  526. package/dist/src/styles/plan/resolve.js +587 -0
  527. package/dist/src/styles/plan/resolve.js.map +1 -0
  528. package/dist/src/styles/types.d.ts +702 -0
  529. package/dist/src/styles/types.d.ts.map +1 -0
  530. package/dist/src/styles/types.js +10 -0
  531. package/dist/src/styles/types.js.map +1 -0
  532. package/dist/src/styles/vocabulary.d.ts +41 -0
  533. package/dist/src/styles/vocabulary.d.ts.map +1 -0
  534. package/dist/src/styles/vocabulary.js +140 -0
  535. package/dist/src/styles/vocabulary.js.map +1 -0
  536. package/dist/src/types.d.ts +64 -1
  537. package/dist/src/types.d.ts.map +1 -1
  538. package/dist/src/types.js.map +1 -1
  539. package/dist/styles.d.ts +1 -0
  540. package/dist/styles.js +322 -0
  541. package/dist/styles.js.map +1 -0
  542. package/dist/xgmml.js +5 -4
  543. package/dist/xgmml.js.map +1 -1
  544. package/package.json +13 -2
  545. package/src/common/codes.ts +7 -0
  546. package/src/common/escape.ts +5 -2
  547. package/src/common/export.ts +179 -140
  548. package/src/common/input.ts +8 -4
  549. package/src/common/json-elements.ts +169 -38
  550. package/src/common/notes.ts +94 -0
  551. package/src/common/report.ts +41 -1
  552. package/src/common/units.ts +42 -0
  553. package/src/common/xml.ts +45 -5
  554. package/src/formats/cx/exporter.ts +95 -11
  555. package/src/formats/cx/importer.ts +126 -90
  556. package/src/formats/cx/styles.ts +304 -0
  557. package/src/formats/cx2/exporter.ts +234 -77
  558. package/src/formats/cx2/importer.ts +19 -1
  559. package/src/formats/cx2/styles.ts +29 -0
  560. package/src/formats/cys/constants.ts +3 -0
  561. package/src/formats/cys/exporter.ts +246 -60
  562. package/src/formats/cys/importer.ts +125 -9
  563. package/src/formats/cys/session.ts +6 -0
  564. package/src/formats/cys/styles.ts +254 -0
  565. package/src/formats/cys/tables.ts +117 -48
  566. package/src/formats/dot/exporter.ts +262 -126
  567. package/src/formats/dot/importer.ts +111 -20
  568. package/src/formats/dot/index.ts +1 -0
  569. package/src/formats/dot/positions.ts +77 -0
  570. package/src/formats/dot/styles.ts +1741 -0
  571. package/src/formats/gexf/exporter.ts +30 -13
  572. package/src/formats/gexf/importer.ts +308 -158
  573. package/src/formats/gexf/index.ts +10 -0
  574. package/src/formats/gexf/schema.ts +5 -0
  575. package/src/formats/gexf/styles.ts +719 -0
  576. package/src/formats/gml/exporter.ts +33 -14
  577. package/src/formats/gml/importer.ts +4 -0
  578. package/src/formats/gml/index.ts +2 -1
  579. package/src/formats/gml/positions.ts +52 -0
  580. package/src/formats/gml/styles.ts +1248 -0
  581. package/src/formats/gml/syntax.ts +173 -62
  582. package/src/formats/graphml/constants.ts +5 -0
  583. package/src/formats/graphml/exporter.ts +163 -71
  584. package/src/formats/graphml/importer.ts +119 -45
  585. package/src/formats/graphml/index.ts +1 -0
  586. package/src/formats/graphml/styles-plain.ts +236 -0
  587. package/src/formats/graphml/styles-yed.ts +1221 -0
  588. package/src/formats/graphml/styles-yfiles3.ts +573 -0
  589. package/src/formats/graphml/tree.ts +36 -20
  590. package/src/formats/graphml/yfiles.ts +89 -13
  591. package/src/formats/json/exporter.ts +76 -26
  592. package/src/formats/json/importer.ts +543 -323
  593. package/src/formats/json/positions.ts +50 -0
  594. package/src/formats/json/styles.ts +2082 -0
  595. package/src/formats/neo4j/exporter.ts +2 -1
  596. package/src/formats/pajek/exporter.ts +195 -106
  597. package/src/formats/pajek/importer.ts +78 -9
  598. package/src/formats/pajek/index.ts +2 -0
  599. package/src/formats/pajek/styles.ts +685 -0
  600. package/src/formats/pajek/syntax.ts +7 -0
  601. package/src/formats/xgmml/columns.ts +39 -9
  602. package/src/formats/xgmml/constants.ts +3 -0
  603. package/src/formats/xgmml/document.ts +54 -12
  604. package/src/formats/xgmml/emit.ts +11 -6
  605. package/src/formats/xgmml/exporter.ts +32 -13
  606. package/src/formats/xgmml/importer.ts +43 -29
  607. package/src/formats/xgmml/styles.ts +400 -0
  608. package/src/index.ts +16 -0
  609. package/src/positions/codes.ts +32 -0
  610. package/src/positions/convert.ts +123 -0
  611. package/src/positions/extract.ts +619 -0
  612. package/src/positions/index.ts +23 -0
  613. package/src/positions/types.ts +221 -0
  614. package/src/registry.ts +179 -8
  615. package/src/styles/annotations.ts +478 -0
  616. package/src/styles/budget.ts +60 -0
  617. package/src/styles/canon/bends.ts +84 -0
  618. package/src/styles/canon/color-tables.ts +386 -0
  619. package/src/styles/canon/color.ts +624 -0
  620. package/src/styles/canon/enums.ts +211 -0
  621. package/src/styles/canon/graphviz.ts +189 -0
  622. package/src/styles/canon/index.ts +13 -0
  623. package/src/styles/canon/number.ts +152 -0
  624. package/src/styles/canon/site.ts +87 -0
  625. package/src/styles/canon/text.ts +221 -0
  626. package/src/styles/codes.ts +104 -0
  627. package/src/styles/cyjs/cascade.ts +2670 -0
  628. package/src/styles/cyjs/defaults-table.ts +82 -0
  629. package/src/styles/cyjs/emit.ts +951 -0
  630. package/src/styles/cyjs/index.ts +37 -0
  631. package/src/styles/cyjs/live.ts +147 -0
  632. package/src/styles/cyjs/mappers.ts +879 -0
  633. package/src/styles/cyjs/selector.ts +778 -0
  634. package/src/styles/cyjs/stylesheet-text.ts +214 -0
  635. package/src/styles/cytoscape/emit.ts +1264 -0
  636. package/src/styles/cytoscape/index.ts +40 -0
  637. package/src/styles/cytoscape/lexicon.ts +656 -0
  638. package/src/styles/cytoscape/mappings.ts +603 -0
  639. package/src/styles/cytoscape/resolve.ts +521 -0
  640. package/src/styles/cytoscape/translate.ts +237 -0
  641. package/src/styles/defaults.ts +504 -0
  642. package/src/styles/index.ts +57 -0
  643. package/src/styles/internal.ts +17 -0
  644. package/src/styles/io/approximations.ts +47 -0
  645. package/src/styles/io/block.ts +1138 -0
  646. package/src/styles/io/generic.ts +687 -0
  647. package/src/styles/io/index.ts +18 -0
  648. package/src/styles/io/writer.ts +745 -0
  649. package/src/styles/notes.ts +165 -0
  650. package/src/styles/plan/classes.ts +166 -0
  651. package/src/styles/plan/continuous.ts +218 -0
  652. package/src/styles/plan/discrete.ts +165 -0
  653. package/src/styles/plan/families.ts +115 -0
  654. package/src/styles/plan/features.ts +234 -0
  655. package/src/styles/plan/index.ts +7 -0
  656. package/src/styles/plan/plan.ts +1129 -0
  657. package/src/styles/plan/resolve.ts +685 -0
  658. package/src/styles/types.ts +814 -0
  659. package/src/styles/vocabulary.ts +172 -0
  660. package/src/types.ts +76 -1
  661. package/dist/chunks/constants-fT3E8JYY.js.map +0 -1
  662. package/dist/chunks/escape-B62ZGM_a.js.map +0 -1
  663. package/dist/chunks/export-rKLeGQMo.js.map +0 -1
  664. package/dist/chunks/exporter-8hLNemFk.js.map +0 -1
  665. package/dist/chunks/exporter-BWwEuOPT.js.map +0 -1
  666. package/dist/chunks/exporter-CpRyHZ3H.js.map +0 -1
  667. package/dist/chunks/importer-BbNb7eNg.js.map +0 -1
  668. package/dist/chunks/importer-C98dpSH4.js.map +0 -1
  669. package/dist/chunks/importer-D794XUTe.js.map +0 -1
  670. package/dist/chunks/importer-Dz7tI8Sa.js.map +0 -1
  671. package/dist/chunks/importer-Ht7LNg8L.js.map +0 -1
  672. package/dist/chunks/importer-WrGRZb0N.js.map +0 -1
  673. package/dist/chunks/importer-xZ-3suY1.js.map +0 -1
  674. package/dist/chunks/json-elements-DKSqpNW1.js.map +0 -1
package/dist/graph-io.js CHANGED
@@ -1,42 +1,48 @@
1
1
  import { INVALID_INDEX, GraphFormatError, GraphBuilder } from "@graphty/graph-format";
2
2
  import { GraphBuilder as GraphBuilder2, GraphFormatError as GraphFormatError2, INVALID_INDEX as INVALID_INDEX2 } from "@graphty/graph-format";
3
- import { al as resolveImportOptions, a8 as ImportReportBuilder, ao as reportSinkOptions, an as reportUnusedOptions, ar as IdCoercer, aq as DirectionResolver, az as LineReader, am as throwIfAborted, aK as parseWeightText, aL as isAbortError, aM as BAD_LINE_CODE, aN as messageOf, aO as describe, b as plural, aP as UNKNOWN_OPTION_CODE, a7 as chooseGraph, aQ as normalizeInput, aR as foreignKind, E as EMPTY_INPUT_CODE, aS as ImportError, aT as FETCH_CODE, $ as agree, aU as EDGES_MERGED_CODE, aV as SELF_LOOPS_DROPPED_CODE, O as OPTION_IGNORED_CODE, aW as WEIGHT_NOT_FOUND_CODE, aX as lockReader, aY as abortable } from "./chunks/export-rKLeGQMo.js";
4
- import { ae, Y, V, B, aZ, a3, at, a_, C, a$, A, b0, k, j, i, b1, b2, b3, D, d, o, b4, m, u, n, F, b5, v, x, b6, b7, aB, af, H, I, b8, J, G, b9, y, z, ba, a2, L, s, t, M, l, W, T, bb, bc, aA, bd, be, N, bf, bg, Q, ai, bh, P, aD, ay, au, K, R, bi, ag, S, Z, _, bj, f, ah, ak, bk, bl, bm, ad, aC, U, g, w, q, bn, h, bo, bp, aj, ax, X, aH, c, a, bq, aI, br, a1, bs, bt, e, bu, aF, aa, ab, bv, aG, ap, bw, bx, by, bz, aJ, bA, p, bB, bC, r, aE, a4 } from "./chunks/export-rKLeGQMo.js";
5
- import { T as TextCellWriter } from "./chunks/text-DHOJXnED.js";
6
- import { W as W2, i as i2, a as a5, p as p2 } from "./chunks/text-DHOJXnED.js";
7
- import { C as C2, c as c2, a as a6 } from "./chunks/children-CA4coBi0.js";
3
+ import { Z as ImportReportBuilder, aj as isAbortError, ak as BAD_LINE_CODE, al as messageOf, p as plural, am as UNKNOWN_OPTION_CODE, E as EMPTY_INPUT_CODE, an as ImportError, ao as FETCH_CODE, a5 as STYLES_NOT_IMPORTED_CODE, V as agree, ap as EDGES_MERGED_CODE, aq as SELF_LOOPS_DROPPED_CODE, O as OPTION_IGNORED_CODE, ar as WEIGHT_NOT_FOUND_CODE } from "./chunks/format-GDmO6m6Q.js";
4
+ import { a2, L, J, B, ae, Y, a9, as, C, at, w, au, g, f, e, av, D, a, k, aw, i, o, j, x, ax, q, s, ay, az, ag, a3, H, I, aA, z, y, aB, t, u, aC, W, m, n, M, h, K, G, aD, af, aE, N, aF, F, a6, aG, P, ai, aa, A, R, aH, a4, S, Q, T, aI, b, a8, aJ, aK, aL, a1, ah, U, c, r, l, d, aM, aN, a7, ac, X, v, aO, $, a0, aP, ad, aQ } from "./chunks/format-GDmO6m6Q.js";
5
+ import { g as resolveImportOptions, j as reportSinkOptions, i as reportUnusedOptions, I as IdCoercer, l as DirectionResolver, P as LineReader, h as throwIfAborted, s as parseWeightText, Q as describe, f as chooseGraph, S as normalizeInput, U as foreignKind, V as lockReader, W as abortable } from "./chunks/export-D7IGzTG4.js";
6
+ import { X as X2, Y as Y2, L as L2, Z, _, $ as $2, R as R2, a0 as a02, a1 as a12, c as c2, a as a5, a2 as a22, a3 as a32, y as y2, d as d2, a4 as a42, a5 as a52, e as e2, a6 as a62, k as k2, a7 as a72, O, a8 as a82, a9 as a92, o as o2, aa as aa2, p, ab, ac as ac2, r as r2, G as G2, t as t2 } from "./chunks/export-D7IGzTG4.js";
7
+ import { T as TextCellWriter } from "./chunks/text-CgzMqHQb.js";
8
+ import { W as W2, i as i2, a as a10, p as p2 } from "./chunks/text-CgzMqHQb.js";
9
+ import { C as C2, c as c3, a as a11 } from "./chunks/children-CA4coBi0.js";
8
10
  import { c as collectBytes } from "./chunks/writer-DxjgHwSe.js";
9
- import { D as D2, d as d2, e as e2, j as j2, t as t2 } from "./chunks/writer-DxjgHwSe.js";
11
+ import { D as D2, d as d3, e as e3, j as j2, t as t3 } from "./chunks/writer-DxjgHwSe.js";
10
12
  import { csvImporter, csvExporter } from "./csv.js";
11
13
  import { CSV_CAPABILITIES, CSV_ISSUE, CSV_LOSS } from "./csv.js";
12
- import { d as cxImporter, c as cxExporter } from "./chunks/importer-C98dpSH4.js";
13
- import { C as C3, a as a7, b } from "./chunks/importer-C98dpSH4.js";
14
- import { c as cx2Exporter } from "./chunks/exporter-8hLNemFk.js";
15
- import { C as C4, a as a8 } from "./chunks/exporter-8hLNemFk.js";
16
- import { c as cx2Importer } from "./chunks/importer-D794XUTe.js";
17
- import { C as C5 } from "./chunks/importer-D794XUTe.js";
18
- import { d as cysImporter, c as cysExporter } from "./chunks/importer-WrGRZb0N.js";
19
- import { C as C6, a as a9, b as b10 } from "./chunks/importer-WrGRZb0N.js";
20
- import { b as dotImporter, d as dotExporter } from "./chunks/importer-BbNb7eNg.js";
21
- import { D as D3, a as a10 } from "./chunks/importer-BbNb7eNg.js";
14
+ import { d as cxImporter, c as cxExporter } from "./chunks/importer-dwoYpSqb.js";
15
+ import { C as C3, a as a13, b as b2 } from "./chunks/importer-dwoYpSqb.js";
16
+ import { c as cx2Exporter } from "./chunks/exporter-KEPxYUXD.js";
17
+ import { C as C4, a as a14 } from "./chunks/exporter-KEPxYUXD.js";
18
+ import { c as cx2Importer } from "./chunks/importer-CdzeN6X4.js";
19
+ import { C as C5 } from "./chunks/importer-CdzeN6X4.js";
20
+ import { d as cysImporter, c as cysExporter } from "./chunks/importer-B7r2owVf.js";
21
+ import { C as C6, a as a15, b as b3 } from "./chunks/importer-B7r2owVf.js";
22
+ import { c as dotImporter, d as dotExporter } from "./chunks/importer-C2nzGhdV.js";
23
+ import { D as D3, a as a16, b as b4 } from "./chunks/importer-C2nzGhdV.js";
22
24
  import { gexfImporter, gexfExporter } from "./gexf.js";
23
25
  import { GEXF_1_2_CAPABILITIES, GEXF_ISSUE, GEXF_LOSS } from "./gexf.js";
24
- import { gmlImporter, gmlExporter } from "./gml.js";
25
- import { GML_ISSUE, GML_LOSS } from "./gml.js";
26
- import { a as graphmlImporter, g as graphmlExporter } from "./chunks/importer-xZ-3suY1.js";
27
- import { r as rankFormats, S as SNIFF_HEAD_BYTES, e as jsonImporter, c as jsonExporter } from "./chunks/exporter-CpRyHZ3H.js";
28
- import { G as G2, J as J2, a as a11, b as b11, d as d3, g as g2, h as h2, j as j3, f as f2, n as n2, s as s2, i as i3 } from "./chunks/exporter-CpRyHZ3H.js";
26
+ import { p as prepareStyleExport, i as isKeptGraphtyProperty, g as gmlImporter, a as gmlExporter } from "./chunks/index-B9fdNpTA.js";
27
+ import { G as G3, b as b5, c as c4, d as d4 } from "./chunks/index-B9fdNpTA.js";
28
+ import { a as graphmlImporter, g as graphmlExporter } from "./chunks/importer-ChKNC_GN.js";
29
+ import { r as rankFormats, S as SNIFF_HEAD_BYTES, e as jsonImporter, c as jsonExporter } from "./chunks/exporter-quPUCBiC.js";
30
+ import { G as G4, J as J2, a as a17, b as b6, d as d5, g as g2, h as h2, j as j3, f as f2, n as n2, s as s2, i as i3 } from "./chunks/exporter-quPUCBiC.js";
29
31
  import { neo4jImporter, neo4jExporter } from "./neo4j.js";
30
32
  import { ID_SPACE_COLUMN, LABELS_COLUMN, NEO4J_CAPABILITIES, NEO4J_ISSUE, NEO4J_LOSS, ORIGINAL_ID_COLUMN, TYPE_COLUMN, exportNeo4jFiles } from "./neo4j.js";
31
- import { c as oboImporter, o as oboExporter } from "./chunks/exporter-yLxKBvLE.js";
32
- import { O, a as a12, b as b12 } from "./chunks/exporter-yLxKBvLE.js";
33
- import { b as pajekImporter, p as pajekExporter } from "./chunks/importer-Dz7tI8Sa.js";
34
- import { P as P2, a as a13 } from "./chunks/importer-Dz7tI8Sa.js";
35
- import { x as xgmmlExporter } from "./chunks/exporter-BWwEuOPT.js";
36
- import { x as xgmmlImporter } from "./chunks/importer-Ht7LNg8L.js";
37
- import { X as X2, a as a14 } from "./chunks/importer-Ht7LNg8L.js";
38
- import { G as G3, a as a15 } from "./chunks/constants-fT3E8JYY.js";
39
- import { X as X3, b as b13, h as h3, t as t3, x as x2 } from "./chunks/escape-B62ZGM_a.js";
33
+ import { c as oboImporter, o as oboExporter } from "./chunks/exporter-ChPyhBOv.js";
34
+ import { O as O2, a as a18, b as b7 } from "./chunks/exporter-ChPyhBOv.js";
35
+ import { d as pajekImporter, p as pajekExporter } from "./chunks/importer-CbX2_rNF.js";
36
+ import { P as P2, a as a19, b as b8, c as c5 } from "./chunks/importer-CbX2_rNF.js";
37
+ import { x as xgmmlExporter } from "./chunks/exporter-BtnqYuuj.js";
38
+ import { x as xgmmlImporter } from "./chunks/importer-BFmOP96W.js";
39
+ import { e as extractStyles } from "./chunks/generic-BL06jrJf.js";
40
+ import { G as G5, a as a20 } from "./chunks/constants-BFUR_CtU.js";
41
+ import { G as G6 } from "./chunks/styles-yed-DAfcIkf7.js";
42
+ import { X as X3, a as a21 } from "./chunks/styles-_N-C8S-U.js";
43
+ import { M as M2, d as d6, c as c6, f as f3, h as h3, t as t4, x as x2 } from "./chunks/escape-B1rMftd9.js";
44
+ import { S as S2 } from "./chunks/block-JQiwViEt.js";
45
+ import { j as j4, a as a23 } from "./chunks/styles-Brt9JMfs.js";
40
46
  const USED = /* @__PURE__ */ new Set(["ids", "defaultDirected", "weightFrom", "addMissingNodes"]);
41
47
  function defineLineFormat(definition) {
42
48
  const { format, extensions, mimeTypes = [], directed = false, comment = "#", sniff: sniff2, parseLine } = definition;
@@ -77,9 +83,9 @@ function defineLineFormat(definition) {
77
83
  edge: (source, target, attributes2) => {
78
84
  const raw = opts.weightFrom === null ? void 0 : attributes2?.[opts.weightFrom];
79
85
  const weight = raw === null || raw === void 0 ? void 0 : parseWeightText(String(raw), report);
80
- const [s3, t4] = [ids.text(source), ids.text(target)];
81
- const added = new Set([s3, t4].filter((id) => sink.indexOf(id) === INVALID_INDEX)).size;
82
- const edge = edges.addEdge(s3, t4, kind, weight, { line });
86
+ const [s3, t5] = [ids.text(source), ids.text(target)];
87
+ const added = new Set([s3, t5].filter((id) => sink.indexOf(id) === INVALID_INDEX)).size;
88
+ const edge = edges.addEdge(s3, t5, kind, weight, { line });
83
89
  report.counts.nodes += added;
84
90
  report.counts.edges++;
85
91
  write("edge", edge, attributes2);
@@ -174,18 +180,18 @@ function compareSnapshots(expected, actual, options = {}) {
174
180
  const tolerance = options.tolerance ?? 0;
175
181
  const ctx = {
176
182
  options,
177
- diff: (path, e3, a16, message) => {
183
+ diff: (path, e4, a24, message) => {
178
184
  diffs.push({
179
185
  path,
180
- expected: e3,
181
- actual: a16,
182
- message: message ?? `${path}: expected ${show(e3)}, got ${show(a16)}`
186
+ expected: e4,
187
+ actual: a24,
188
+ message: message ?? `${path}: expected ${show(e4)}, got ${show(a24)}`
183
189
  });
184
190
  if (diffs.length >= limit) {
185
191
  throw new LimitReached();
186
192
  }
187
193
  },
188
- same: (e3, a16) => valuesEqual(e3, a16, tolerance)
194
+ same: (e4, a24) => valuesEqual(e4, a24, tolerance)
189
195
  };
190
196
  try {
191
197
  compareGraphs(expected, actual, ctx);
@@ -241,9 +247,9 @@ function compareTopology(expected, actual, diff) {
241
247
  }
242
248
  const el = expected.edgeList();
243
249
  const al = actual.edgeList();
244
- for (let e3 = 0; e3 < expected.edgeCount; e3++) {
245
- if (el.src[e3] !== al.src[e3] || el.dst[e3] !== al.dst[e3]) {
246
- diff(`edge[${e3}]`, `${el.src[e3]}->${el.dst[e3]}`, `${al.src[e3]}->${al.dst[e3]}`);
250
+ for (let e4 = 0; e4 < expected.edgeCount; e4++) {
251
+ if (el.src[e4] !== al.src[e4] || el.dst[e4] !== al.dst[e4]) {
252
+ diff(`edge[${e4}]`, `${el.src[e4]}->${el.dst[e4]}`, `${al.src[e4]}->${al.dst[e4]}`);
247
253
  }
248
254
  }
249
255
  }
@@ -270,23 +276,23 @@ function compareWeights(expected, actual, ctx) {
270
276
  );
271
277
  }
272
278
  const ew = expected.edgeList().weights;
273
- const aw = actual.edgeList().weights;
274
- for (let e3 = 0; e3 < expected.edgeCount; e3++) {
275
- const ev = ew === null ? 1 : ew[e3];
276
- const av = aw === null ? 1 : aw[e3];
277
- if (!ctx.same(ev, av)) {
278
- ctx.diff(`weight[${e3}]`, ev, av);
279
+ const aw2 = actual.edgeList().weights;
280
+ for (let e4 = 0; e4 < expected.edgeCount; e4++) {
281
+ const ev = ew === null ? 1 : ew[e4];
282
+ const av2 = aw2 === null ? 1 : aw2[e4];
283
+ if (!ctx.same(ev, av2)) {
284
+ ctx.diff(`weight[${e4}]`, ev, av2);
279
285
  }
280
286
  }
281
287
  }
282
288
  function compareExactWeights(edgeCount, expected, actual, ctx) {
283
- for (let e3 = 0; e3 < edgeCount; e3++) {
284
- const eSet = expected.isSet(e3);
285
- const aSet = actual.isSet(e3);
289
+ for (let e4 = 0; e4 < edgeCount; e4++) {
290
+ const eSet = expected.isSet(e4);
291
+ const aSet = actual.isSet(e4);
286
292
  if (ctx.options.weightExplicitness !== false && eSet !== aSet) {
287
- ctx.diff(`weightExplicit[${e3}]`, eSet, aSet);
288
- } else if (eSet && aSet && !ctx.same(expected.value(e3), actual.value(e3))) {
289
- ctx.diff(`weight[${e3}]`, expected.value(e3), actual.value(e3));
293
+ ctx.diff(`weightExplicit[${e4}]`, eSet, aSet);
294
+ } else if (eSet && aSet && !ctx.same(expected.value(e4), actual.value(e4))) {
295
+ ctx.diff(`weight[${e4}]`, expected.value(e4), actual.value(e4));
290
296
  }
291
297
  }
292
298
  }
@@ -343,36 +349,36 @@ function compareColumn(path, column, other, ctx) {
343
349
  ctx.diff(`${path}.length`, column.length, other.length);
344
350
  return;
345
351
  }
346
- for (let r2 = 0; r2 < column.length; r2++) {
347
- const eSet = column.isSet(r2);
348
- const aSet = other.isSet(r2);
352
+ for (let r3 = 0; r3 < column.length; r3++) {
353
+ const eSet = column.isSet(r3);
354
+ const aSet = other.isSet(r3);
349
355
  if (eSet !== aSet) {
350
- ctx.diff(`${path}[${r2}]`, eSet ? column.value(r2) : void 0, aSet ? other.value(r2) : void 0);
356
+ ctx.diff(`${path}[${r3}]`, eSet ? column.value(r3) : void 0, aSet ? other.value(r3) : void 0);
351
357
  } else if (eSet) {
352
- const ev = cellValue(column, r2);
353
- const av = cellValue(other, r2);
354
- if (!ctx.same(ev, av)) {
355
- ctx.diff(`${path}[${r2}]`, ev, av);
358
+ const ev = cellValue(column, r3);
359
+ const av2 = cellValue(other, r3);
360
+ if (!ctx.same(ev, av2)) {
361
+ ctx.diff(`${path}[${r3}]`, ev, av2);
356
362
  }
357
363
  }
358
364
  }
359
365
  }
360
366
  function compareDeclaration(path, column, other, ctx) {
361
367
  const { options, diff } = ctx;
362
- const e3 = column.meta;
363
- const a16 = other.meta;
368
+ const e4 = column.meta;
369
+ const a24 = other.meta;
364
370
  if (options.dtypes !== false) {
365
371
  for (const key of ["dtype", "itemDtype", "components"]) {
366
- if (e3[key] !== a16[key]) {
367
- diff(`${path}.${key}`, e3[key], a16[key]);
372
+ if (e4[key] !== a24[key]) {
373
+ diff(`${path}.${key}`, e4[key], a24[key]);
368
374
  }
369
375
  }
370
376
  }
371
- if (options.roles !== false && e3.role !== a16.role) {
372
- diff(`${path}.role`, e3.role, a16.role);
377
+ if (options.roles !== false && e4.role !== a24.role) {
378
+ diff(`${path}.role`, e4.role, a24.role);
373
379
  }
374
- const eType = e3.origin?.type ?? null;
375
- const aType = a16.origin?.type ?? null;
380
+ const eType = e4.origin?.type ?? null;
381
+ const aType = a24.origin?.type ?? null;
376
382
  if (options.originType === true && eType !== aType) {
377
383
  diff(`${path}.origin.type`, eType, aType);
378
384
  }
@@ -389,38 +395,38 @@ function cellValue(column, row) {
389
395
  }
390
396
  }
391
397
  }
392
- function valuesEqual(e3, a16, tolerance) {
393
- if (typeof e3 === "number" && typeof a16 === "number") {
394
- if (Object.is(e3, a16)) {
398
+ function valuesEqual(e4, a24, tolerance) {
399
+ if (typeof e4 === "number" && typeof a24 === "number") {
400
+ if (Object.is(e4, a24)) {
395
401
  return true;
396
402
  }
397
- return Number.isFinite(e3) && Number.isFinite(a16) && Math.abs(e3 - a16) <= tolerance;
403
+ return Number.isFinite(e4) && Number.isFinite(a24) && Math.abs(e4 - a24) <= tolerance;
398
404
  }
399
- if (Array.isArray(e3) || ArrayBuffer.isView(e3)) {
400
- const ea = Array.from(e3);
401
- if (!(Array.isArray(a16) || ArrayBuffer.isView(a16))) {
405
+ if (Array.isArray(e4) || ArrayBuffer.isView(e4)) {
406
+ const ea = Array.from(e4);
407
+ if (!(Array.isArray(a24) || ArrayBuffer.isView(a24))) {
402
408
  return false;
403
409
  }
404
- const aa2 = Array.from(a16);
405
- return ea.length === aa2.length && ea.every((v2, i4) => valuesEqual(v2, aa2[i4], tolerance));
410
+ const aa3 = Array.from(a24);
411
+ return ea.length === aa3.length && ea.every((v2, i4) => valuesEqual(v2, aa3[i4], tolerance));
406
412
  }
407
- if (typeof e3 === "object" && e3 !== null && typeof a16 === "object" && a16 !== null) {
408
- const eo = e3;
409
- const ao = a16;
413
+ if (typeof e4 === "object" && e4 !== null && typeof a24 === "object" && a24 !== null) {
414
+ const eo = e4;
415
+ const ao = a24;
410
416
  const keys = Object.keys(eo);
411
417
  if (keys.length !== Object.keys(ao).length) {
412
418
  return false;
413
419
  }
414
- return keys.every((k2) => Object.hasOwn(ao, k2) && valuesEqual(eo[k2], ao[k2], tolerance));
420
+ return keys.every((k3) => Object.hasOwn(ao, k3) && valuesEqual(eo[k3], ao[k3], tolerance));
415
421
  }
416
- return Object.is(e3, a16);
422
+ return Object.is(e4, a24);
417
423
  }
418
- function typedEqual(a16, b14) {
419
- if (a16.length !== b14.length) {
424
+ function typedEqual(a24, b9) {
425
+ if (a24.length !== b9.length) {
420
426
  return false;
421
427
  }
422
- for (let i4 = 0; i4 < a16.length; i4++) {
423
- if (a16[i4] !== b14[i4]) {
428
+ for (let i4 = 0; i4 < a24.length; i4++) {
429
+ if (a24[i4] !== b9[i4]) {
424
430
  return false;
425
431
  }
426
432
  }
@@ -439,7 +445,7 @@ function show(v2) {
439
445
  }
440
446
  }
441
447
  function describeDiffs(diffs) {
442
- return diffs.length === 0 ? "no differences" : diffs.map((d4) => ` - ${d4.message}`).join("\n");
448
+ return diffs.length === 0 ? "no differences" : diffs.map((d7) => ` - ${d7.message}`).join("\n");
443
449
  }
444
450
  const TOO_MANY_EMPTY_CELLS_CODE = "E_TOO_MANY_EMPTY_CELLS";
445
451
  const DEFAULT_MAX_EMPTY_CELLS = 2 ** 24;
@@ -591,6 +597,7 @@ const FUNCTION_OPTIONS = /* @__PURE__ */ new Set([
591
597
  "sanitizeIds",
592
598
  "selfLoops",
593
599
  "signal",
600
+ "styles",
594
601
  "weightDtype",
595
602
  "weightFrom"
596
603
  ]);
@@ -600,7 +607,8 @@ const REGISTRY_KEYS = /* @__PURE__ */ new Set([
600
607
  "mimeType",
601
608
  "builder",
602
609
  "freeze",
603
- "maxEmptyCells"
610
+ "maxEmptyCells",
611
+ "styles"
604
612
  ]);
605
613
  class FormatRegistry {
606
614
  constructor() {
@@ -731,7 +739,7 @@ class FormatRegistry {
731
739
  const { importer } = chosen;
732
740
  if ((opts.graphIndex !== void 0 || opts.graphName !== void 0) && importer.importAll !== void 0 && importer.listGraphs === void 0) {
733
741
  const all = await this.readAll(chosen, opts);
734
- const names = all.map((r2) => r2.snapshot.meta.name);
742
+ const names = all.map((r3) => r3.snapshot.meta.name);
735
743
  return all[chooseGraph(names, opts, new ImportReportBuilder(importer.format, 0))];
736
744
  }
737
745
  let builder;
@@ -939,7 +947,38 @@ class FormatRegistry {
939
947
  * @returns the encoded chunks
940
948
  */
941
949
  exportGraph(snapshot, format, options) {
942
- return this.exporter(format).export(snapshot, options);
950
+ const styled = this.styled(snapshot, format, options);
951
+ if (styled === null) {
952
+ return this.exporter(format).export(snapshot, options);
953
+ }
954
+ if (styled.refusal !== null) {
955
+ return refuse(styled.refusal);
956
+ }
957
+ return styled.exporter.export(styled.snapshot, styled.options);
958
+ }
959
+ /**
960
+ * An export with styles worked out, or null when no styles were given (the export is then exactly as before).
961
+ * @param snapshot - the graph
962
+ * @param format - the format name
963
+ * @param options - the caller's options
964
+ * @returns the exporter, the snapshot and options to hand it, the style losses and any refusal
965
+ */
966
+ styled(snapshot, format, options) {
967
+ const styles = options?.styles;
968
+ if (styles === void 0 || styles === null) {
969
+ return null;
970
+ }
971
+ const exporter = this.exporter(format);
972
+ const { styles: _given, ...rest } = options;
973
+ const prepared = prepareStyleExport(snapshot, exporter, styles, rest);
974
+ return {
975
+ exporter,
976
+ snapshot: prepared.snapshot,
977
+ options: prepared.input === null ? rest : { ...rest, styles: prepared.input },
978
+ plain: rest,
979
+ notes: prepared.notes,
980
+ refusal: prepared.refusal
981
+ };
943
982
  }
944
983
  /**
945
984
  * Write a snapshot in a format, as one string.
@@ -949,7 +988,14 @@ class FormatRegistry {
949
988
  * @returns the whole document
950
989
  */
951
990
  async exportGraphToString(snapshot, format, options) {
952
- return this.exporter(format).exportToString(snapshot, options);
991
+ const styled = this.styled(snapshot, format, options);
992
+ if (styled === null) {
993
+ return this.exporter(format).exportToString(snapshot, options);
994
+ }
995
+ if (styled.refusal !== null) {
996
+ throw refusalError(styled.refusal);
997
+ }
998
+ return styled.exporter.exportToString(styled.snapshot, styled.options);
953
999
  }
954
1000
  /**
955
1001
  * Write a snapshot in a format as one buffer of UTF-8 bytes; see the top-level
@@ -975,7 +1021,7 @@ class FormatRegistry {
975
1021
  for await (const chunk of this.exportGraph(snapshot, format, options)) {
976
1022
  parts.push(chunk);
977
1023
  }
978
- const info = this.listFormats().find((f3) => f3.format === format);
1024
+ const info = this.listFormats().find((f4) => f4.format === format);
979
1025
  return new Blob(parts, { type: info?.mimeTypes[0] ?? "application/octet-stream" });
980
1026
  }
981
1027
  /**
@@ -986,7 +1032,22 @@ class FormatRegistry {
986
1032
  * @returns the loss notes, empty when the export is exact
987
1033
  */
988
1034
  checkExport(snapshot, format, options) {
989
- const notes = this.exporter(format).check(snapshot, options);
1035
+ const styled = this.styled(snapshot, format, options);
1036
+ let notes;
1037
+ if (styled === null) {
1038
+ notes = this.exporter(format).check(snapshot, options);
1039
+ } else if (styled.refusal === null) {
1040
+ const key = (n3) => `${n3.code}\0${n3.style?.target ?? ""}\0${n3.style?.property ?? ""}`;
1041
+ const reported = new Set(styled.notes.filter((n3) => n3.style !== void 0).map(key));
1042
+ notes = [
1043
+ ...styled.exporter.check(styled.snapshot, styled.options).filter(
1044
+ (n3) => n3.style === void 0 || !reported.has(key(n3)) && !isKeptGraphtyProperty(n3, styled.exporter)
1045
+ ),
1046
+ ...styled.notes
1047
+ ];
1048
+ } else {
1049
+ notes = [...styled.exporter.check(snapshot, styled.plain), styled.refusal];
1050
+ }
990
1051
  const unknown = this.unknownOptions(options);
991
1052
  if (unknown.length === 0) {
992
1053
  return notes;
@@ -1042,7 +1103,7 @@ class FormatRegistry {
1042
1103
  }
1043
1104
  const { filename, ...rest } = options;
1044
1105
  const blob = await this.exportGraphToBlob(snapshot, format, rest);
1045
- const extension = this.listFormats().find((f3) => f3.format === format)?.extensions[0] ?? `.${format}`;
1106
+ const extension = this.listFormats().find((f4) => f4.format === format)?.extensions[0] ?? `.${format}`;
1046
1107
  const href = URL.createObjectURL(blob);
1047
1108
  const anchor = document.createElement("a");
1048
1109
  anchor.href = href;
@@ -1067,7 +1128,7 @@ class FormatRegistry {
1067
1128
  mimeTypes: importer?.mimeTypes ?? exporter?.mimeTypes ?? [],
1068
1129
  canImport: importer !== void 0,
1069
1130
  canExport: exporter !== void 0,
1070
- capabilities: exporter?.capabilities ?? null
1131
+ capabilities: capabilitiesOf(exporter)
1071
1132
  });
1072
1133
  });
1073
1134
  }
@@ -1200,16 +1261,25 @@ function result(chosen, builder, report, options) {
1200
1261
  throw freezeFailure(err, report);
1201
1262
  }
1202
1263
  const { warnings } = chosen;
1264
+ const wanted = options.styles;
1265
+ let styles;
1266
+ if (wanted !== void 0 && wanted !== false) {
1267
+ styles = extractStyles(chosen.importer, frozen.snapshot, report, {
1268
+ signal: options.signal,
1269
+ toolDefaults: typeof wanted === "object" ? wanted.toolDefaults : void 0
1270
+ });
1271
+ }
1272
+ const read = styles !== void 0 && chosen.importer.styles !== void 0 ? withoutStylesNotImported(report) : report;
1203
1273
  const result2 = {
1204
1274
  format: chosen.importer.format,
1205
1275
  sniff: chosen.sniff,
1206
1276
  snapshot: frozen.snapshot,
1207
1277
  report: withFreezeWarnings(
1208
1278
  weightNotFound(
1209
- warnings.length === 0 ? report : Object.freeze({
1210
- ...report,
1211
- issues: Object.freeze([...warnings, ...report.issues]),
1212
- warningCount: report.warningCount + warnings.length
1279
+ warnings.length === 0 ? read : Object.freeze({
1280
+ ...read,
1281
+ issues: Object.freeze([...warnings, ...read.issues]),
1282
+ warningCount: read.warningCount + warnings.length
1213
1283
  }),
1214
1284
  frozen.snapshot,
1215
1285
  options.weightFrom
@@ -1217,9 +1287,40 @@ function result(chosen, builder, report, options) {
1217
1287
  frozen.report
1218
1288
  )
1219
1289
  };
1290
+ if (styles !== void 0) {
1291
+ Object.assign(result2, { styles });
1292
+ }
1220
1293
  Object.defineProperty(result2, "freeze", { value: frozen.report, enumerable: false });
1221
1294
  return Object.freeze(result2);
1222
1295
  }
1296
+ function withoutStylesNotImported(report) {
1297
+ const issues = report.issues.filter((i4) => i4.code !== STYLES_NOT_IMPORTED_CODE);
1298
+ if (issues.length === report.issues.length) {
1299
+ return report;
1300
+ }
1301
+ return Object.freeze({
1302
+ ...report,
1303
+ issues: Object.freeze(issues),
1304
+ warningCount: report.warningCount - (report.issues.length - issues.length)
1305
+ });
1306
+ }
1307
+ function refusalError(note) {
1308
+ return new GraphFormatError("E_UNSUPPORTED", note.message, { code: note.code });
1309
+ }
1310
+ function refuse(note) {
1311
+ return {
1312
+ [Symbol.asyncIterator]: () => ({ next: () => Promise.reject(refusalError(note)) })
1313
+ };
1314
+ }
1315
+ function capabilitiesOf(exporter) {
1316
+ if (exporter === void 0) {
1317
+ return null;
1318
+ }
1319
+ if (exporter.styles === void 0) {
1320
+ return exporter.capabilities;
1321
+ }
1322
+ return Object.freeze({ ...exporter.capabilities, styles: exporter.styles.capabilities });
1323
+ }
1223
1324
  function unknownOptionText(name) {
1224
1325
  return `option ${JSON.stringify(name)} is not an option of any format or of the load and save functions, so it has no effect; check its spelling`;
1225
1326
  }
@@ -1339,10 +1440,10 @@ async function peekHead(input, bytes, signal) {
1339
1440
  return { head: joinHead(buffered, bytes), input: replayed, close: () => replayed.close() };
1340
1441
  }
1341
1442
  function joinHead(chunks, bytes) {
1342
- if (chunks.every((c3) => c3 instanceof Uint8Array)) {
1443
+ if (chunks.every((c7) => c7 instanceof Uint8Array)) {
1343
1444
  const total = Math.min(
1344
1445
  bytes,
1345
- chunks.reduce((sum, c3) => sum + c3.byteLength, 0)
1446
+ chunks.reduce((sum, c7) => sum + c7.byteLength, 0)
1346
1447
  );
1347
1448
  const head = new Uint8Array(total);
1348
1449
  let offset = 0;
@@ -1436,172 +1537,184 @@ function readerIterator(stream, signal) {
1436
1537
  };
1437
1538
  }
1438
1539
  export {
1439
- ae as AMBIGUOUS_GRAPH_NAME_CODE,
1440
- Y as ASPECT_ORDER_CODE,
1441
- V as BAD_ASPECT_BLOCK_CODE,
1540
+ a2 as AMBIGUOUS_GRAPH_NAME_CODE,
1541
+ L as ASPECT_ORDER_CODE,
1542
+ J as BAD_ASPECT_BLOCK_CODE,
1442
1543
  B as BAD_DEFAULT_CODE,
1443
1544
  BAD_LINE_CODE,
1444
- aZ as BAD_OPTIONS_CODE,
1445
- a3 as BAD_VALUE_CODE,
1446
- at as COLUMN_AS_PROPERTY_VALUE_CODE,
1447
- a_ as COLUMN_DROPPED_CODE,
1545
+ ae as BAD_OPTIONS_CODE,
1546
+ Y as BAD_VALUE_CODE,
1547
+ a9 as COLUMN_AS_PROPERTY_VALUE_CODE,
1548
+ as as COLUMN_DROPPED_CODE,
1448
1549
  C as COLUMN_RENAMED_CODE,
1449
- a$ as COLUMN_RENAMED_LOSS_CODE,
1450
- A as COLUMN_TYPE_CODE,
1451
- b0 as CONTROL_CHARACTER_CODE,
1452
- k as COUNT_HINT_CODE,
1453
- j as COUNT_MISMATCH_CODE,
1550
+ at as COLUMN_RENAMED_LOSS_CODE,
1551
+ w as COLUMN_TYPE_CODE,
1552
+ au as CONTROL_CHARACTER_CODE,
1553
+ g as COUNT_HINT_CODE,
1554
+ f as COUNT_MISMATCH_CODE,
1454
1555
  CSV_CAPABILITIES,
1455
1556
  CSV_ISSUE,
1456
1557
  CSV_LOSS,
1457
1558
  C4 as CX2_CAPABILITIES,
1458
1559
  C5 as CX2_ISSUE,
1459
- a8 as CX2_LOSS,
1560
+ a14 as CX2_LOSS,
1460
1561
  C3 as CX_CAPABILITIES,
1461
- a7 as CX_ISSUE,
1462
- b as CX_LOSS,
1562
+ a13 as CX_ISSUE,
1563
+ b2 as CX_LOSS,
1463
1564
  C6 as CYS_CAPABILITIES,
1464
- a9 as CYS_ISSUE,
1465
- b10 as CYS_LOSS,
1565
+ a15 as CYS_ISSUE,
1566
+ b3 as CYS_LOSS,
1466
1567
  C2 as ChildrenCsr,
1467
- i as DANGLING_REFERENCE_CODE,
1568
+ e as DANGLING_REFERENCE_CODE,
1468
1569
  D2 as DEFAULT_CHUNK_BYTES,
1469
- b1 as DEFAULT_ERROR_LIMIT,
1470
- b2 as DIRECTED_COLUMN,
1471
- b3 as DIRECTION_DROPPED_CODE,
1570
+ X2 as DEFAULT_ERROR_LIMIT,
1571
+ Y2 as DIRECTED_COLUMN,
1572
+ av as DIRECTION_DROPPED_CODE,
1472
1573
  D as DIRECTION_FORCED_CODE,
1473
- d as DIRECTION_REFUSED_CODE,
1574
+ a as DIRECTION_REFUSED_CODE,
1474
1575
  D3 as DOT_ISSUE,
1475
- a10 as DOT_LOSS,
1476
- o as DUPLICATE_ATTRIBUTE_CODE,
1477
- b4 as DUPLICATE_EDGE_CODE,
1478
- m as DUPLICATE_EDGE_ID_CODE,
1479
- u as DUPLICATE_KEY_CODE,
1480
- n as DUPLICATE_NODE_CODE,
1576
+ a16 as DOT_LOSS,
1577
+ S2 as DOT_STYLE_BLOCK_ATTRIBUTE,
1578
+ b4 as DOT_STYLE_CAPABILITIES,
1579
+ k as DUPLICATE_ATTRIBUTE_CODE,
1580
+ aw as DUPLICATE_EDGE_CODE,
1581
+ i as DUPLICATE_EDGE_ID_CODE,
1582
+ o as DUPLICATE_KEY_CODE,
1583
+ j as DUPLICATE_NODE_CODE,
1481
1584
  DirectionResolver,
1482
1585
  EDGES_MERGED_CODE,
1483
- F as ELEMENT_ISSUE,
1484
- b5 as EMPTY_COLUMN_DROPPED_CODE,
1586
+ x as ELEMENT_ISSUE,
1587
+ ax as EMPTY_COLUMN_DROPPED_CODE,
1485
1588
  EMPTY_INPUT_CODE,
1486
- v as ENCODING_CONFLICT_CODE,
1487
- x as ENCODING_FALLBACK_CODE,
1488
- b6 as EQUATION_AS_TEXT_CODE,
1589
+ q as ENCODING_CONFLICT_CODE,
1590
+ s as ENCODING_FALLBACK_CODE,
1591
+ ay as EQUATION_AS_TEXT_CODE,
1489
1592
  FETCH_CODE,
1490
- b7 as FOREIGN_FORMAT_CODE,
1593
+ az as FOREIGN_FORMAT_CODE,
1491
1594
  FormatRegistry,
1492
1595
  GEXF_1_2_CAPABILITIES,
1493
1596
  GEXF_ISSUE,
1494
1597
  GEXF_LOSS,
1495
- GML_ISSUE,
1496
- GML_LOSS,
1497
- G3 as GRAPHML_ISSUE,
1498
- a15 as GRAPHML_LOSS,
1499
- aB as GRAPH_COLUMN_AS_METADATA_CODE,
1500
- G2 as GRAPH_FORMATS,
1501
- af as GRAPH_NOT_FOUND_CODE,
1598
+ j4 as GEXF_STYLE_CAPABILITIES,
1599
+ G3 as GML_ISSUE,
1600
+ b5 as GML_LOSS,
1601
+ c4 as GML_STYLE_BLOCK_KEY,
1602
+ d4 as GML_STYLE_CAPABILITIES,
1603
+ G5 as GRAPHML_ISSUE,
1604
+ a20 as GRAPHML_LOSS,
1605
+ G6 as GRAPHML_STYLE_CAPABILITIES,
1606
+ a23 as GRAPHTY_XML_NAMESPACE,
1607
+ ag as GRAPH_COLUMN_AS_METADATA_CODE,
1608
+ G4 as GRAPH_FORMATS,
1609
+ a3 as GRAPH_NOT_FOUND_CODE,
1502
1610
  GraphBuilder2 as GraphBuilder,
1503
1611
  GraphFormatError2 as GraphFormatError,
1504
1612
  H as HYPEREDGE_CODE,
1505
1613
  I as ID_MERGED_CODE,
1506
1614
  ID_SPACE_COLUMN,
1507
- b8 as ID_TEXT_COLLISION_CODE,
1508
- J as ID_TEXT_TYPE_CODE,
1509
- G as INPUT_ISSUE,
1510
- b9 as INTEGRAL_F64_CODE,
1511
- y as INVALID_ENCODING_CODE,
1615
+ aA as ID_TEXT_COLLISION_CODE,
1616
+ z as ID_TEXT_TYPE_CODE,
1617
+ y as INPUT_ISSUE,
1618
+ aB as INTEGRAL_F64_CODE,
1619
+ t as INVALID_ENCODING_CODE,
1512
1620
  INVALID_INDEX2 as INVALID_INDEX,
1513
- z as INVALID_UTF8_CODE,
1514
- ba as ISSUES_SUPPRESSED_CODE,
1621
+ u as INVALID_UTF8_CODE,
1622
+ aC as ISSUES_SUPPRESSED_CODE,
1515
1623
  IdCoercer,
1516
1624
  ImportError,
1517
1625
  ImportReportBuilder,
1518
1626
  J2 as JSON_DIALECTS,
1519
- a11 as JSON_ISSUE,
1520
- b11 as JSON_LOSS,
1521
- a2 as JSON_NONSTANDARD_NUMBER_CODE,
1627
+ a17 as JSON_ISSUE,
1628
+ b6 as JSON_LOSS,
1629
+ W as JSON_NONSTANDARD_NUMBER_CODE,
1522
1630
  LABELS_COLUMN,
1523
- L as LOSS,
1631
+ L2 as LOSS,
1524
1632
  LineReader,
1525
- s as MISSING_ENDPOINT_CODE,
1526
- t as MISSING_ID_CODE,
1633
+ M2 as MAX_XML_DEPTH,
1634
+ m as MISSING_ENDPOINT_CODE,
1635
+ n as MISSING_ID_CODE,
1527
1636
  M as MIXED_DIRECTION_CODE,
1528
- l as MULTIPLE_GRAPHS_CODE,
1529
- W as MULTI_ASPECT_FRAGMENT_CODE,
1530
- T as MUTUAL_AS_UNDIRECTED_CODE,
1531
- bb as MUTUAL_COLUMN,
1532
- bc as MUTUAL_EXPANDED_CODE,
1637
+ h as MULTIPLE_GRAPHS_CODE,
1638
+ K as MULTI_ASPECT_FRAGMENT_CODE,
1639
+ G as MUTUAL_AS_UNDIRECTED_CODE,
1640
+ Z as MUTUAL_COLUMN,
1641
+ aD as MUTUAL_EXPANDED_CODE,
1533
1642
  NEO4J_CAPABILITIES,
1534
1643
  NEO4J_ISSUE,
1535
1644
  NEO4J_LOSS,
1536
- aA as NODE_ORDER_CODE,
1537
- bd as NONFINITE_AS_NULL_CODE,
1538
- be as NO_CAPABILITIES,
1645
+ af as NODE_ORDER_CODE,
1646
+ aE as NONFINITE_AS_NULL_CODE,
1647
+ _ as NO_CAPABILITIES,
1539
1648
  N as NO_GRAPH_CODE,
1540
- O as OBO_CAPABILITIES,
1541
- a12 as OBO_ISSUE,
1542
- b12 as OBO_LOSS,
1543
- bf as OPTIONS_GAINED_CODE,
1649
+ O2 as OBO_CAPABILITIES,
1650
+ a18 as OBO_ISSUE,
1651
+ b7 as OBO_LOSS,
1652
+ aF as OPTIONS_GAINED_CODE,
1544
1653
  OPTION_IGNORED_CODE,
1545
1654
  ORIGINAL_ID_COLUMN,
1546
- bg as PAIR_COLUMN,
1655
+ $2 as PAIR_COLUMN,
1547
1656
  P2 as PAJEK_ISSUE,
1548
- a13 as PAJEK_LOSS,
1549
- Q as PARENTS_DROPPED_CODE,
1550
- ai as PARENT_CYCLE_CODE,
1551
- bh as PARSE_ERROR_CODE,
1657
+ a19 as PAJEK_LOSS,
1658
+ b8 as PAJEK_STYLE_CAPABILITIES,
1659
+ c5 as PAJEK_STYLE_COMMENT,
1660
+ F as PARENTS_DROPPED_CODE,
1661
+ a6 as PARENT_CYCLE_CODE,
1662
+ aG as PARSE_ERROR_CODE,
1552
1663
  P as PRECISION_CODE,
1553
- aD as RELATION_ASSUMED_CODE,
1554
- ay as RENAMED_CODE,
1555
- au as ROLE_ASSUMED_CODE,
1556
- K as ROLE_DROPPED_CODE,
1664
+ ai as RELATION_ASSUMED_CODE,
1665
+ R2 as RENAMED_CODE,
1666
+ aa as ROLE_ASSUMED_CODE,
1667
+ A as ROLE_DROPPED_CODE,
1557
1668
  R as ROLE_TAKEN_CODE,
1558
1669
  SELF_LOOPS_DROPPED_CODE,
1559
- bi as SELF_LOOP_CODE,
1560
- ag as SINGLE_OBJECT_ASPECT_CODE,
1670
+ aH as SELF_LOOP_CODE,
1671
+ a4 as SINGLE_OBJECT_ASPECT_CODE,
1561
1672
  S as SINK_OPTION_CODE,
1562
1673
  SNIFF_FAILED_CODE,
1563
1674
  SNIFF_HEAD_BYTES,
1564
- Z as STATUS_FAILED_CODE,
1565
- _ as STATUS_WARNING_CODE,
1566
- bj as STORAGE_CLASS_CODE,
1567
- f as STRAY_TEXT_CODE,
1568
- ah as STYLES_NOT_IMPORTED_CODE,
1569
- ak as SYNTAX_CODE,
1570
- bk as TEMPORAL_DROPPED_CODE,
1571
- bl as TEMPORAL_TEXT_DROPPED_CODE,
1572
- bm as TEXT_INFERRED_CODE,
1573
- ad as TOO_LARGE_CODE,
1574
- aC as TYPEDEF_NODES_CODE,
1675
+ Q as STATUS_FAILED_CODE,
1676
+ T as STATUS_WARNING_CODE,
1677
+ aI as STORAGE_CLASS_CODE,
1678
+ b as STRAY_TEXT_CODE,
1679
+ STYLES_NOT_IMPORTED_CODE,
1680
+ a8 as SYNTAX_CODE,
1681
+ aJ as TEMPORAL_DROPPED_CODE,
1682
+ aK as TEMPORAL_TEXT_DROPPED_CODE,
1683
+ aL as TEXT_INFERRED_CODE,
1684
+ a1 as TOO_LARGE_CODE,
1685
+ ah as TYPEDEF_NODES_CODE,
1575
1686
  TYPE_COLUMN,
1576
1687
  TextCellWriter,
1577
1688
  U as UNKNOWN_ATTR_TYPE_CODE,
1578
- g as UNKNOWN_ELEMENT_CODE,
1579
- w as UNKNOWN_ENCODING_CODE,
1689
+ c as UNKNOWN_ELEMENT_CODE,
1690
+ r as UNKNOWN_ENCODING_CODE,
1580
1691
  UNKNOWN_FORMAT_CODE,
1581
1692
  UNKNOWN_OPTION_CODE,
1582
- q as UNKNOWN_PARENT_CODE,
1583
- bn as UNKNOWN_TYPE_CODE,
1584
- h as UNKNOWN_XML_ATTRIBUTE_CODE,
1585
- bo as WEIGHTS_DROPPED_CODE,
1586
- bp as WEIGHT_KEY_CLASH_CODE,
1693
+ l as UNKNOWN_PARENT_CODE,
1694
+ a02 as UNKNOWN_TYPE_CODE,
1695
+ d as UNKNOWN_XML_ATTRIBUTE_CODE,
1696
+ aM as WEIGHTS_DROPPED_CODE,
1697
+ aN as WEIGHT_KEY_CLASH_CODE,
1587
1698
  WEIGHT_NOT_FOUND_CODE,
1588
- aj as WIDENED_CODE,
1699
+ a7 as WIDENED_CODE,
1589
1700
  W2 as WIDENING_UNSUPPORTED_CODE,
1590
- X2 as XGMML_ISSUE,
1591
- a14 as XGMML_LOSS,
1592
- ax as XML_ILLEGAL_CHAR_CODE,
1593
- X as XML_SYNTAX_CODE,
1594
- X3 as XmlSyntaxError,
1595
- b13 as XmlTokenizer,
1596
- aH as canonicalId,
1597
- c as capabilities,
1598
- a as checkCapabilities,
1701
+ X3 as XGMML_ISSUE,
1702
+ a21 as XGMML_LOSS,
1703
+ ac as XML_ILLEGAL_CHAR_CODE,
1704
+ X as XML_NESTING_CODE,
1705
+ v as XML_SYNTAX_CODE,
1706
+ d6 as XmlNestingError,
1707
+ c6 as XmlSyntaxError,
1708
+ f3 as XmlTokenizer,
1709
+ a12 as canonicalId,
1710
+ c2 as capabilities,
1711
+ a5 as checkCapabilities,
1599
1712
  checkExport,
1600
- c2 as childrenCsr,
1601
- a6 as childrenFromColumn,
1713
+ c3 as childrenCsr,
1714
+ a11 as childrenFromColumn,
1602
1715
  chooseGraph,
1603
- bq as coerceId,
1604
- aI as coerceIdText,
1716
+ a22 as coerceId,
1717
+ a32 as coerceIdText,
1605
1718
  collectBytes,
1606
1719
  compareSnapshots,
1607
1720
  createRegistry,
@@ -1613,36 +1726,36 @@ export {
1613
1726
  cxImporter,
1614
1727
  cysExporter,
1615
1728
  cysImporter,
1616
- br as declareCompanion,
1617
- a1 as declareResolved,
1618
- d2 as decodeChunks,
1619
- bs as decodeEntryName,
1729
+ y2 as declareCompanion,
1730
+ d2 as declareResolved,
1731
+ d3 as decodeChunks,
1732
+ a42 as decodeEntryName,
1620
1733
  defineLineFormat,
1621
1734
  describeDiffs,
1622
- d3 as dialectCapabilities,
1735
+ d5 as dialectCapabilities,
1623
1736
  dotExporter,
1624
1737
  dotImporter,
1625
1738
  downloadGraph,
1626
- bt as edgeWeights,
1627
- e2 as encodeChunks,
1628
- e as explicitWeights,
1739
+ a52 as edgeWeights,
1740
+ e3 as encodeChunks,
1741
+ e2 as explicitWeights,
1629
1742
  exportGraph,
1630
1743
  exportGraphToBlob,
1631
1744
  exportGraphToBytes,
1632
1745
  exportGraphToString,
1633
1746
  exportNeo4jFiles,
1634
1747
  g2 as extensionOf,
1635
- bu as forDecodedText,
1636
- aF as formatDecimal,
1637
- aa as formatF32,
1638
- ab as formatF64,
1639
- bv as formatGmlReal,
1640
- aG as formatInteger,
1748
+ a62 as forDecodedText,
1749
+ aO as formatDecimal,
1750
+ $ as formatF32,
1751
+ a0 as formatF64,
1752
+ aP as formatGmlReal,
1753
+ ad as formatInteger,
1641
1754
  gexfExporter,
1642
1755
  gexfImporter,
1643
1756
  gmlExporter,
1644
1757
  gmlImporter,
1645
- ap as graphChosen,
1758
+ k2 as graphChosen,
1646
1759
  graphmlExporter,
1647
1760
  graphmlImporter,
1648
1761
  h3 as hasIllegalXmlChar,
@@ -1650,23 +1763,24 @@ export {
1650
1763
  importAllGraphs,
1651
1764
  importGraph,
1652
1765
  i2 as inferTextDtype,
1653
- bw as inputLength,
1766
+ a72 as inputLength,
1654
1767
  isAbortError,
1655
- bx as isCanonicalIntegerText,
1656
- by as isImportInput,
1657
- bz as isNmtoken,
1658
- a5 as isNumericText,
1659
- aJ as isWeightField,
1768
+ O as isCanonicalIntegerText,
1769
+ a82 as isImportInput,
1770
+ a92 as isNmtoken,
1771
+ a10 as isNumericText,
1772
+ o2 as isWeightField,
1660
1773
  j2 as joinText,
1661
1774
  j3 as jsonCapabilities,
1662
1775
  jsonExporter,
1663
1776
  jsonImporter,
1664
1777
  f2 as jsonShapeOf,
1778
+ aQ as keptForStyles,
1665
1779
  listFormats,
1666
1780
  listGraphs,
1667
1781
  loadFromFile,
1668
1782
  loadFromUrl,
1669
- bA as mangleNmtoken,
1783
+ aa2 as mangleNmtoken,
1670
1784
  neo4jExporter,
1671
1785
  neo4jImporter,
1672
1786
  n2 as normalizeMimeType,
@@ -1678,21 +1792,21 @@ export {
1678
1792
  p2 as parseTextCell,
1679
1793
  parseWeightText,
1680
1794
  rankFormats,
1681
- bB as readText,
1682
- bC as refusedSave,
1795
+ ab as readText,
1796
+ ac2 as refusedSave,
1683
1797
  registry,
1684
1798
  reportSinkOptions,
1685
1799
  reportUnusedOptions,
1686
- r as resolveExportOptions,
1800
+ r2 as resolveExportOptions,
1687
1801
  resolveImportOptions,
1688
- aE as sanitizeIds,
1802
+ G2 as sanitizeIds,
1689
1803
  sniff,
1690
1804
  s2 as sniffFormat,
1691
1805
  i3 as sniffJsonDialectHead,
1692
- a4 as textChunks,
1806
+ t2 as textChunks,
1693
1807
  throwIfAborted,
1694
- t2 as toReadableStream,
1695
- t3 as tokenizeXml,
1808
+ t3 as toReadableStream,
1809
+ t4 as tokenizeXml,
1696
1810
  xgmmlExporter,
1697
1811
  xgmmlImporter,
1698
1812
  x2 as xmlIllegalTextNotes