@graphty/graph-io 0.3.43 → 0.3.45

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-DJMHdDvv.js +40 -0
  2. package/dist/chunks/approximations-DJMHdDvv.js.map +1 -0
  3. package/dist/chunks/block-CPCHkX42.js +2777 -0
  4. package/dist/chunks/block-CPCHkX42.js.map +1 -0
  5. package/dist/chunks/{choose-DvpbdRuz.js → choose--jM0yYCo.js} +3 -2
  6. package/dist/chunks/{choose-DvpbdRuz.js.map → choose--jM0yYCo.js.map} +1 -1
  7. package/dist/chunks/{constants-fT3E8JYY.js → constants-BKwqelYD.js} +6 -2
  8. package/dist/chunks/constants-BKwqelYD.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-DZy6JgdA.js +3456 -0
  12. package/dist/chunks/emit-DZy6JgdA.js.map +1 -0
  13. package/dist/chunks/{escape-B62ZGM_a.js → escape-CgzxiYPg.js} +44 -21
  14. package/dist/chunks/escape-CgzxiYPg.js.map +1 -0
  15. package/dist/chunks/{export-rKLeGQMo.js → export-BvqAXCKh.js} +196 -792
  16. package/dist/chunks/export-BvqAXCKh.js.map +1 -0
  17. package/dist/chunks/{exporter-yLxKBvLE.js → exporter--Mk9gXCJ.js} +4 -3
  18. package/dist/chunks/{exporter-yLxKBvLE.js.map → exporter--Mk9gXCJ.js.map} +1 -1
  19. package/dist/chunks/{exporter-RVtXVetw.js → exporter-C-9cgZKa.js} +1805 -287
  20. package/dist/chunks/exporter-C-9cgZKa.js.map +1 -0
  21. package/dist/chunks/{exporter-8hLNemFk.js → exporter-DFqJhBnj.js} +133 -74
  22. package/dist/chunks/exporter-DFqJhBnj.js.map +1 -0
  23. package/dist/chunks/{exporter-BWwEuOPT.js → exporter-DteVeJki.js} +22 -12
  24. package/dist/chunks/exporter-DteVeJki.js.map +1 -0
  25. package/dist/chunks/format-BpQBx8MZ.js +676 -0
  26. package/dist/chunks/format-BpQBx8MZ.js.map +1 -0
  27. package/dist/chunks/generic-BGO71QBv.js +1347 -0
  28. package/dist/chunks/generic-BGO71QBv.js.map +1 -0
  29. package/dist/chunks/{importer-C98dpSH4.js → importer-B-9Rc1zO.js} +141 -82
  30. package/dist/chunks/importer-B-9Rc1zO.js.map +1 -0
  31. package/dist/chunks/{importer-D794XUTe.js → importer-BVVR740x.js} +31 -8
  32. package/dist/chunks/importer-BVVR740x.js.map +1 -0
  33. package/dist/chunks/{importer-WrGRZb0N.js → importer-C0AjA3Ax.js} +449 -102
  34. package/dist/chunks/importer-C0AjA3Ax.js.map +1 -0
  35. package/dist/chunks/{importer-BbNb7eNg.js → importer-C7pvJe1L.js} +1398 -129
  36. package/dist/chunks/importer-C7pvJe1L.js.map +1 -0
  37. package/dist/chunks/{importer-xZ-3suY1.js → importer-ClwoVx3O.js} +791 -135
  38. package/dist/chunks/importer-ClwoVx3O.js.map +1 -0
  39. package/dist/chunks/{importer-Ht7LNg8L.js → importer-D0sC_6bO.js} +116 -296
  40. package/dist/chunks/importer-D0sC_6bO.js.map +1 -0
  41. package/dist/chunks/{importer-Dz7tI8Sa.js → importer-EHQk1jbM.js} +617 -115
  42. package/dist/chunks/importer-EHQk1jbM.js.map +1 -0
  43. package/dist/chunks/{json-elements-DKSqpNW1.js → json-elements-DJZRZ6jd.js} +123 -32
  44. package/dist/chunks/json-elements-DJZRZ6jd.js.map +1 -0
  45. package/dist/chunks/lexicon-WMsNddyU.js +509 -0
  46. package/dist/chunks/lexicon-WMsNddyU.js.map +1 -0
  47. package/dist/chunks/{ontology-export-CtRXjg_i.js → ontology-export-G4MqRdux.js} +3 -2
  48. package/dist/chunks/{ontology-export-CtRXjg_i.js.map → ontology-export-G4MqRdux.js.map} +1 -1
  49. package/dist/chunks/{records-Cu4bxYOm.js → records-CiaWZrFH.js} +2 -2
  50. package/dist/chunks/{records-Cu4bxYOm.js.map → records-CiaWZrFH.js.map} +1 -1
  51. package/dist/chunks/styles-DvoFBKCK.js +690 -0
  52. package/dist/chunks/styles-DvoFBKCK.js.map +1 -0
  53. package/dist/chunks/styles-yed-Cz9rLBCP.js +842 -0
  54. package/dist/chunks/styles-yed-Cz9rLBCP.js.map +1 -0
  55. package/dist/chunks/styles-zNTmz5R7.js +2102 -0
  56. package/dist/chunks/styles-zNTmz5R7.js.map +1 -0
  57. package/dist/chunks/{text-DHOJXnED.js → text-CzJNFOS9.js} +2 -2
  58. package/dist/chunks/{text-DHOJXnED.js.map → text-CzJNFOS9.js.map} +1 -1
  59. package/dist/chunks/units-XMZFIFe1.js +19 -0
  60. package/dist/chunks/units-XMZFIFe1.js.map +1 -0
  61. package/dist/chunks/writer-gQ8kx99H.js +448 -0
  62. package/dist/chunks/writer-gQ8kx99H.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 +292 -412
  71. package/dist/gexf.js.map +1 -1
  72. package/dist/gml.js +927 -74
  73. package/dist/gml.js.map +1 -1
  74. package/dist/graph-io.js +351 -236
  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 +1496 -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 +20 -5
  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 +439 -264
  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 +791 -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 +605 -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 +89 -0
  489. package/dist/src/styles/io/writer.d.ts.map +1 -0
  490. package/dist/src/styles/io/writer.js +626 -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 +1755 -0
  571. package/src/formats/gexf/exporter.ts +27 -11
  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 +541 -322
  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 +952 -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 +658 -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 +780 -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-RVtXVetw.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,49 @@
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, a 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-BpQBx8MZ.js";
4
+ import { a2, Q, K, B, ae, Y, a9, as, C, at, x, au, h, g, f, av, D, b, l, aw, j, q, k, y, ax, r, t, ay, az, ag, a3, H, I, aA, A, z, aB, u, v, aC, W, n, o, M, i, L, J, aD, af, aE, N, aF, G, a6, aG, P, ai, aa, F, R, aH, a4, S, T, V, aI, c, a8, aJ, aK, aL, a1, ah, U, d, s, m, e, aM, aN, a7, ac, X, w, aO, $, a0, aP, ad, aQ } from "./chunks/format-BpQBx8MZ.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-BvqAXCKh.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, a2 as a22, a3 as a32, y as y2, d as d2, a4 as a42, a5, 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-BvqAXCKh.js";
7
+ import { T as TextCellWriter } from "./chunks/text-CzJNFOS9.js";
8
+ import { W as W2, i as i2, a as a10, p as p2 } from "./chunks/text-CzJNFOS9.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-B-9Rc1zO.js";
15
+ import { C as C3, a as a13, b as b2 } from "./chunks/importer-B-9Rc1zO.js";
16
+ import { c as cx2Exporter } from "./chunks/exporter-DFqJhBnj.js";
17
+ import { C as C4, a as a14 } from "./chunks/exporter-DFqJhBnj.js";
18
+ import { c as cx2Importer } from "./chunks/importer-BVVR740x.js";
19
+ import { C as C5 } from "./chunks/importer-BVVR740x.js";
20
+ import { d as cysImporter, c as cysExporter } from "./chunks/importer-C0AjA3Ax.js";
21
+ import { C as C6, a as a15, b as b3 } from "./chunks/importer-C0AjA3Ax.js";
22
+ import { c as dotImporter, d as dotExporter } from "./chunks/importer-C7pvJe1L.js";
23
+ import { D as D3, a as a16, b as b4 } from "./chunks/importer-C7pvJe1L.js";
22
24
  import { gexfImporter, gexfExporter } from "./gexf.js";
23
25
  import { GEXF_1_2_CAPABILITIES, GEXF_ISSUE, GEXF_LOSS } from "./gexf.js";
24
26
  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-RVtXVetw.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-RVtXVetw.js";
27
+ import { GML_ISSUE, GML_LOSS, GML_STYLE_BLOCK_KEY, GML_STYLE_CAPABILITIES } from "./gml.js";
28
+ import { a as graphmlImporter, g as graphmlExporter } from "./chunks/importer-ClwoVx3O.js";
29
+ import { r as rankFormats, S as SNIFF_HEAD_BYTES, e as jsonImporter, c as jsonExporter } from "./chunks/exporter-C-9cgZKa.js";
30
+ import { G as G3, J as J2, a as a17, b as b5, d as d4, g as g2, h as h2, j as j3, f as f2, n as n2, s as s2, i as i3 } from "./chunks/exporter-C-9cgZKa.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--Mk9gXCJ.js";
34
+ import { O as O2, a as a18, b as b6 } from "./chunks/exporter--Mk9gXCJ.js";
35
+ import { d as pajekImporter, p as pajekExporter } from "./chunks/importer-EHQk1jbM.js";
36
+ import { P as P2, a as a19, b as b7, c as c4 } from "./chunks/importer-EHQk1jbM.js";
37
+ import { x as xgmmlExporter } from "./chunks/exporter-DteVeJki.js";
38
+ import { x as xgmmlImporter } from "./chunks/importer-D0sC_6bO.js";
39
+ import { e as extractStyles } from "./chunks/generic-BGO71QBv.js";
40
+ import { p as prepareStyleExport, i as isKeptGraphtyProperty } from "./chunks/writer-gQ8kx99H.js";
41
+ import { G as G4, a as a20 } from "./chunks/constants-BKwqelYD.js";
42
+ import { G as G5 } from "./chunks/styles-yed-Cz9rLBCP.js";
43
+ import { X as X3, a as a21 } from "./chunks/styles-zNTmz5R7.js";
44
+ import { M as M2, d as d5, c as c5, f as f3, h as h3, t as t4, x as x2 } from "./chunks/escape-CgzxiYPg.js";
45
+ import { S as S2 } from "./chunks/block-CPCHkX42.js";
46
+ import { j as j4, a as a23 } from "./chunks/styles-DvoFBKCK.js";
40
47
  const USED = /* @__PURE__ */ new Set(["ids", "defaultDirected", "weightFrom", "addMissingNodes"]);
41
48
  function defineLineFormat(definition) {
42
49
  const { format, extensions, mimeTypes = [], directed = false, comment = "#", sniff: sniff2, parseLine } = definition;
@@ -77,9 +84,9 @@ function defineLineFormat(definition) {
77
84
  edge: (source, target, attributes2) => {
78
85
  const raw = opts.weightFrom === null ? void 0 : attributes2?.[opts.weightFrom];
79
86
  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 });
87
+ const [s3, t5] = [ids.text(source), ids.text(target)];
88
+ const added = new Set([s3, t5].filter((id) => sink.indexOf(id) === INVALID_INDEX)).size;
89
+ const edge = edges.addEdge(s3, t5, kind, weight, { line });
83
90
  report.counts.nodes += added;
84
91
  report.counts.edges++;
85
92
  write("edge", edge, attributes2);
@@ -174,18 +181,18 @@ function compareSnapshots(expected, actual, options = {}) {
174
181
  const tolerance = options.tolerance ?? 0;
175
182
  const ctx = {
176
183
  options,
177
- diff: (path, e3, a16, message) => {
184
+ diff: (path, e4, a24, message) => {
178
185
  diffs.push({
179
186
  path,
180
- expected: e3,
181
- actual: a16,
182
- message: message ?? `${path}: expected ${show(e3)}, got ${show(a16)}`
187
+ expected: e4,
188
+ actual: a24,
189
+ message: message ?? `${path}: expected ${show(e4)}, got ${show(a24)}`
183
190
  });
184
191
  if (diffs.length >= limit) {
185
192
  throw new LimitReached();
186
193
  }
187
194
  },
188
- same: (e3, a16) => valuesEqual(e3, a16, tolerance)
195
+ same: (e4, a24) => valuesEqual(e4, a24, tolerance)
189
196
  };
190
197
  try {
191
198
  compareGraphs(expected, actual, ctx);
@@ -241,9 +248,9 @@ function compareTopology(expected, actual, diff) {
241
248
  }
242
249
  const el = expected.edgeList();
243
250
  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]}`);
251
+ for (let e4 = 0; e4 < expected.edgeCount; e4++) {
252
+ if (el.src[e4] !== al.src[e4] || el.dst[e4] !== al.dst[e4]) {
253
+ diff(`edge[${e4}]`, `${el.src[e4]}->${el.dst[e4]}`, `${al.src[e4]}->${al.dst[e4]}`);
247
254
  }
248
255
  }
249
256
  }
@@ -270,23 +277,23 @@ function compareWeights(expected, actual, ctx) {
270
277
  );
271
278
  }
272
279
  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);
280
+ const aw2 = actual.edgeList().weights;
281
+ for (let e4 = 0; e4 < expected.edgeCount; e4++) {
282
+ const ev = ew === null ? 1 : ew[e4];
283
+ const av2 = aw2 === null ? 1 : aw2[e4];
284
+ if (!ctx.same(ev, av2)) {
285
+ ctx.diff(`weight[${e4}]`, ev, av2);
279
286
  }
280
287
  }
281
288
  }
282
289
  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);
290
+ for (let e4 = 0; e4 < edgeCount; e4++) {
291
+ const eSet = expected.isSet(e4);
292
+ const aSet = actual.isSet(e4);
286
293
  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));
294
+ ctx.diff(`weightExplicit[${e4}]`, eSet, aSet);
295
+ } else if (eSet && aSet && !ctx.same(expected.value(e4), actual.value(e4))) {
296
+ ctx.diff(`weight[${e4}]`, expected.value(e4), actual.value(e4));
290
297
  }
291
298
  }
292
299
  }
@@ -343,36 +350,36 @@ function compareColumn(path, column, other, ctx) {
343
350
  ctx.diff(`${path}.length`, column.length, other.length);
344
351
  return;
345
352
  }
346
- for (let r2 = 0; r2 < column.length; r2++) {
347
- const eSet = column.isSet(r2);
348
- const aSet = other.isSet(r2);
353
+ for (let r3 = 0; r3 < column.length; r3++) {
354
+ const eSet = column.isSet(r3);
355
+ const aSet = other.isSet(r3);
349
356
  if (eSet !== aSet) {
350
- ctx.diff(`${path}[${r2}]`, eSet ? column.value(r2) : void 0, aSet ? other.value(r2) : void 0);
357
+ ctx.diff(`${path}[${r3}]`, eSet ? column.value(r3) : void 0, aSet ? other.value(r3) : void 0);
351
358
  } 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);
359
+ const ev = cellValue(column, r3);
360
+ const av2 = cellValue(other, r3);
361
+ if (!ctx.same(ev, av2)) {
362
+ ctx.diff(`${path}[${r3}]`, ev, av2);
356
363
  }
357
364
  }
358
365
  }
359
366
  }
360
367
  function compareDeclaration(path, column, other, ctx) {
361
368
  const { options, diff } = ctx;
362
- const e3 = column.meta;
363
- const a16 = other.meta;
369
+ const e4 = column.meta;
370
+ const a24 = other.meta;
364
371
  if (options.dtypes !== false) {
365
372
  for (const key of ["dtype", "itemDtype", "components"]) {
366
- if (e3[key] !== a16[key]) {
367
- diff(`${path}.${key}`, e3[key], a16[key]);
373
+ if (e4[key] !== a24[key]) {
374
+ diff(`${path}.${key}`, e4[key], a24[key]);
368
375
  }
369
376
  }
370
377
  }
371
- if (options.roles !== false && e3.role !== a16.role) {
372
- diff(`${path}.role`, e3.role, a16.role);
378
+ if (options.roles !== false && e4.role !== a24.role) {
379
+ diff(`${path}.role`, e4.role, a24.role);
373
380
  }
374
- const eType = e3.origin?.type ?? null;
375
- const aType = a16.origin?.type ?? null;
381
+ const eType = e4.origin?.type ?? null;
382
+ const aType = a24.origin?.type ?? null;
376
383
  if (options.originType === true && eType !== aType) {
377
384
  diff(`${path}.origin.type`, eType, aType);
378
385
  }
@@ -389,38 +396,38 @@ function cellValue(column, row) {
389
396
  }
390
397
  }
391
398
  }
392
- function valuesEqual(e3, a16, tolerance) {
393
- if (typeof e3 === "number" && typeof a16 === "number") {
394
- if (Object.is(e3, a16)) {
399
+ function valuesEqual(e4, a24, tolerance) {
400
+ if (typeof e4 === "number" && typeof a24 === "number") {
401
+ if (Object.is(e4, a24)) {
395
402
  return true;
396
403
  }
397
- return Number.isFinite(e3) && Number.isFinite(a16) && Math.abs(e3 - a16) <= tolerance;
404
+ return Number.isFinite(e4) && Number.isFinite(a24) && Math.abs(e4 - a24) <= tolerance;
398
405
  }
399
- if (Array.isArray(e3) || ArrayBuffer.isView(e3)) {
400
- const ea = Array.from(e3);
401
- if (!(Array.isArray(a16) || ArrayBuffer.isView(a16))) {
406
+ if (Array.isArray(e4) || ArrayBuffer.isView(e4)) {
407
+ const ea = Array.from(e4);
408
+ if (!(Array.isArray(a24) || ArrayBuffer.isView(a24))) {
402
409
  return false;
403
410
  }
404
- const aa2 = Array.from(a16);
405
- return ea.length === aa2.length && ea.every((v2, i4) => valuesEqual(v2, aa2[i4], tolerance));
411
+ const aa3 = Array.from(a24);
412
+ return ea.length === aa3.length && ea.every((v2, i4) => valuesEqual(v2, aa3[i4], tolerance));
406
413
  }
407
- if (typeof e3 === "object" && e3 !== null && typeof a16 === "object" && a16 !== null) {
408
- const eo = e3;
409
- const ao = a16;
414
+ if (typeof e4 === "object" && e4 !== null && typeof a24 === "object" && a24 !== null) {
415
+ const eo = e4;
416
+ const ao = a24;
410
417
  const keys = Object.keys(eo);
411
418
  if (keys.length !== Object.keys(ao).length) {
412
419
  return false;
413
420
  }
414
- return keys.every((k2) => Object.hasOwn(ao, k2) && valuesEqual(eo[k2], ao[k2], tolerance));
421
+ return keys.every((k3) => Object.hasOwn(ao, k3) && valuesEqual(eo[k3], ao[k3], tolerance));
415
422
  }
416
- return Object.is(e3, a16);
423
+ return Object.is(e4, a24);
417
424
  }
418
- function typedEqual(a16, b14) {
419
- if (a16.length !== b14.length) {
425
+ function typedEqual(a24, b8) {
426
+ if (a24.length !== b8.length) {
420
427
  return false;
421
428
  }
422
- for (let i4 = 0; i4 < a16.length; i4++) {
423
- if (a16[i4] !== b14[i4]) {
429
+ for (let i4 = 0; i4 < a24.length; i4++) {
430
+ if (a24[i4] !== b8[i4]) {
424
431
  return false;
425
432
  }
426
433
  }
@@ -439,7 +446,7 @@ function show(v2) {
439
446
  }
440
447
  }
441
448
  function describeDiffs(diffs) {
442
- return diffs.length === 0 ? "no differences" : diffs.map((d4) => ` - ${d4.message}`).join("\n");
449
+ return diffs.length === 0 ? "no differences" : diffs.map((d6) => ` - ${d6.message}`).join("\n");
443
450
  }
444
451
  const TOO_MANY_EMPTY_CELLS_CODE = "E_TOO_MANY_EMPTY_CELLS";
445
452
  const DEFAULT_MAX_EMPTY_CELLS = 2 ** 24;
@@ -591,6 +598,7 @@ const FUNCTION_OPTIONS = /* @__PURE__ */ new Set([
591
598
  "sanitizeIds",
592
599
  "selfLoops",
593
600
  "signal",
601
+ "styles",
594
602
  "weightDtype",
595
603
  "weightFrom"
596
604
  ]);
@@ -600,7 +608,8 @@ const REGISTRY_KEYS = /* @__PURE__ */ new Set([
600
608
  "mimeType",
601
609
  "builder",
602
610
  "freeze",
603
- "maxEmptyCells"
611
+ "maxEmptyCells",
612
+ "styles"
604
613
  ]);
605
614
  class FormatRegistry {
606
615
  constructor() {
@@ -731,7 +740,7 @@ class FormatRegistry {
731
740
  const { importer } = chosen;
732
741
  if ((opts.graphIndex !== void 0 || opts.graphName !== void 0) && importer.importAll !== void 0 && importer.listGraphs === void 0) {
733
742
  const all = await this.readAll(chosen, opts);
734
- const names = all.map((r2) => r2.snapshot.meta.name);
743
+ const names = all.map((r3) => r3.snapshot.meta.name);
735
744
  return all[chooseGraph(names, opts, new ImportReportBuilder(importer.format, 0))];
736
745
  }
737
746
  let builder;
@@ -939,7 +948,38 @@ class FormatRegistry {
939
948
  * @returns the encoded chunks
940
949
  */
941
950
  exportGraph(snapshot, format, options) {
942
- return this.exporter(format).export(snapshot, options);
951
+ const styled = this.styled(snapshot, format, options);
952
+ if (styled === null) {
953
+ return this.exporter(format).export(snapshot, options);
954
+ }
955
+ if (styled.refusal !== null) {
956
+ return refuse(styled.refusal);
957
+ }
958
+ return styled.exporter.export(styled.snapshot, styled.options);
959
+ }
960
+ /**
961
+ * An export with styles worked out, or null when no styles were given (the export is then exactly as before).
962
+ * @param snapshot - the graph
963
+ * @param format - the format name
964
+ * @param options - the caller's options
965
+ * @returns the exporter, the snapshot and options to hand it, the style losses and any refusal
966
+ */
967
+ styled(snapshot, format, options) {
968
+ const styles = options?.styles;
969
+ if (styles === void 0 || styles === null) {
970
+ return null;
971
+ }
972
+ const exporter = this.exporter(format);
973
+ const { styles: _given, ...rest } = options;
974
+ const prepared = prepareStyleExport(snapshot, exporter, styles, rest);
975
+ return {
976
+ exporter,
977
+ snapshot: prepared.snapshot,
978
+ options: prepared.input === null ? rest : { ...rest, styles: prepared.input },
979
+ plain: rest,
980
+ notes: prepared.notes,
981
+ refusal: prepared.refusal
982
+ };
943
983
  }
944
984
  /**
945
985
  * Write a snapshot in a format, as one string.
@@ -949,7 +989,14 @@ class FormatRegistry {
949
989
  * @returns the whole document
950
990
  */
951
991
  async exportGraphToString(snapshot, format, options) {
952
- return this.exporter(format).exportToString(snapshot, options);
992
+ const styled = this.styled(snapshot, format, options);
993
+ if (styled === null) {
994
+ return this.exporter(format).exportToString(snapshot, options);
995
+ }
996
+ if (styled.refusal !== null) {
997
+ throw refusalError(styled.refusal);
998
+ }
999
+ return styled.exporter.exportToString(styled.snapshot, styled.options);
953
1000
  }
954
1001
  /**
955
1002
  * Write a snapshot in a format as one buffer of UTF-8 bytes; see the top-level
@@ -975,7 +1022,7 @@ class FormatRegistry {
975
1022
  for await (const chunk of this.exportGraph(snapshot, format, options)) {
976
1023
  parts.push(chunk);
977
1024
  }
978
- const info = this.listFormats().find((f3) => f3.format === format);
1025
+ const info = this.listFormats().find((f4) => f4.format === format);
979
1026
  return new Blob(parts, { type: info?.mimeTypes[0] ?? "application/octet-stream" });
980
1027
  }
981
1028
  /**
@@ -986,7 +1033,22 @@ class FormatRegistry {
986
1033
  * @returns the loss notes, empty when the export is exact
987
1034
  */
988
1035
  checkExport(snapshot, format, options) {
989
- const notes = this.exporter(format).check(snapshot, options);
1036
+ const styled = this.styled(snapshot, format, options);
1037
+ let notes;
1038
+ if (styled === null) {
1039
+ notes = this.exporter(format).check(snapshot, options);
1040
+ } else if (styled.refusal === null) {
1041
+ const key = (n3) => `${n3.code}\0${n3.style?.target ?? ""}\0${n3.style?.property ?? ""}`;
1042
+ const reported = new Set(styled.notes.filter((n3) => n3.style !== void 0).map(key));
1043
+ notes = [
1044
+ ...styled.exporter.check(styled.snapshot, styled.options).filter(
1045
+ (n3) => n3.style === void 0 || !reported.has(key(n3)) && !isKeptGraphtyProperty(n3, styled.exporter)
1046
+ ),
1047
+ ...styled.notes
1048
+ ];
1049
+ } else {
1050
+ notes = [...styled.exporter.check(snapshot, styled.plain), styled.refusal];
1051
+ }
990
1052
  const unknown = this.unknownOptions(options);
991
1053
  if (unknown.length === 0) {
992
1054
  return notes;
@@ -1042,7 +1104,7 @@ class FormatRegistry {
1042
1104
  }
1043
1105
  const { filename, ...rest } = options;
1044
1106
  const blob = await this.exportGraphToBlob(snapshot, format, rest);
1045
- const extension = this.listFormats().find((f3) => f3.format === format)?.extensions[0] ?? `.${format}`;
1107
+ const extension = this.listFormats().find((f4) => f4.format === format)?.extensions[0] ?? `.${format}`;
1046
1108
  const href = URL.createObjectURL(blob);
1047
1109
  const anchor = document.createElement("a");
1048
1110
  anchor.href = href;
@@ -1067,7 +1129,7 @@ class FormatRegistry {
1067
1129
  mimeTypes: importer?.mimeTypes ?? exporter?.mimeTypes ?? [],
1068
1130
  canImport: importer !== void 0,
1069
1131
  canExport: exporter !== void 0,
1070
- capabilities: exporter?.capabilities ?? null
1132
+ capabilities: capabilitiesOf(exporter)
1071
1133
  });
1072
1134
  });
1073
1135
  }
@@ -1200,16 +1262,25 @@ function result(chosen, builder, report, options) {
1200
1262
  throw freezeFailure(err, report);
1201
1263
  }
1202
1264
  const { warnings } = chosen;
1265
+ const wanted = options.styles;
1266
+ let styles;
1267
+ if (wanted !== void 0 && wanted !== false) {
1268
+ styles = extractStyles(chosen.importer, frozen.snapshot, report, {
1269
+ signal: options.signal,
1270
+ toolDefaults: typeof wanted === "object" ? wanted.toolDefaults : void 0
1271
+ });
1272
+ }
1273
+ const read = styles !== void 0 && chosen.importer.styles !== void 0 ? withoutStylesNotImported(report) : report;
1203
1274
  const result2 = {
1204
1275
  format: chosen.importer.format,
1205
1276
  sniff: chosen.sniff,
1206
1277
  snapshot: frozen.snapshot,
1207
1278
  report: withFreezeWarnings(
1208
1279
  weightNotFound(
1209
- warnings.length === 0 ? report : Object.freeze({
1210
- ...report,
1211
- issues: Object.freeze([...warnings, ...report.issues]),
1212
- warningCount: report.warningCount + warnings.length
1280
+ warnings.length === 0 ? read : Object.freeze({
1281
+ ...read,
1282
+ issues: Object.freeze([...warnings, ...read.issues]),
1283
+ warningCount: read.warningCount + warnings.length
1213
1284
  }),
1214
1285
  frozen.snapshot,
1215
1286
  options.weightFrom
@@ -1217,9 +1288,40 @@ function result(chosen, builder, report, options) {
1217
1288
  frozen.report
1218
1289
  )
1219
1290
  };
1291
+ if (styles !== void 0) {
1292
+ Object.assign(result2, { styles });
1293
+ }
1220
1294
  Object.defineProperty(result2, "freeze", { value: frozen.report, enumerable: false });
1221
1295
  return Object.freeze(result2);
1222
1296
  }
1297
+ function withoutStylesNotImported(report) {
1298
+ const issues = report.issues.filter((i4) => i4.code !== STYLES_NOT_IMPORTED_CODE);
1299
+ if (issues.length === report.issues.length) {
1300
+ return report;
1301
+ }
1302
+ return Object.freeze({
1303
+ ...report,
1304
+ issues: Object.freeze(issues),
1305
+ warningCount: report.warningCount - (report.issues.length - issues.length)
1306
+ });
1307
+ }
1308
+ function refusalError(note) {
1309
+ return new GraphFormatError("E_UNSUPPORTED", note.message, { code: note.code });
1310
+ }
1311
+ function refuse(note) {
1312
+ return {
1313
+ [Symbol.asyncIterator]: () => ({ next: () => Promise.reject(refusalError(note)) })
1314
+ };
1315
+ }
1316
+ function capabilitiesOf(exporter) {
1317
+ if (exporter === void 0) {
1318
+ return null;
1319
+ }
1320
+ if (exporter.styles === void 0) {
1321
+ return exporter.capabilities;
1322
+ }
1323
+ return Object.freeze({ ...exporter.capabilities, styles: exporter.styles.capabilities });
1324
+ }
1223
1325
  function unknownOptionText(name) {
1224
1326
  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
1327
  }
@@ -1339,10 +1441,10 @@ async function peekHead(input, bytes, signal) {
1339
1441
  return { head: joinHead(buffered, bytes), input: replayed, close: () => replayed.close() };
1340
1442
  }
1341
1443
  function joinHead(chunks, bytes) {
1342
- if (chunks.every((c3) => c3 instanceof Uint8Array)) {
1444
+ if (chunks.every((c6) => c6 instanceof Uint8Array)) {
1343
1445
  const total = Math.min(
1344
1446
  bytes,
1345
- chunks.reduce((sum, c3) => sum + c3.byteLength, 0)
1447
+ chunks.reduce((sum, c6) => sum + c6.byteLength, 0)
1346
1448
  );
1347
1449
  const head = new Uint8Array(total);
1348
1450
  let offset = 0;
@@ -1436,172 +1538,184 @@ function readerIterator(stream, signal) {
1436
1538
  };
1437
1539
  }
1438
1540
  export {
1439
- ae as AMBIGUOUS_GRAPH_NAME_CODE,
1440
- Y as ASPECT_ORDER_CODE,
1441
- V as BAD_ASPECT_BLOCK_CODE,
1541
+ a2 as AMBIGUOUS_GRAPH_NAME_CODE,
1542
+ Q as ASPECT_ORDER_CODE,
1543
+ K as BAD_ASPECT_BLOCK_CODE,
1442
1544
  B as BAD_DEFAULT_CODE,
1443
1545
  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,
1546
+ ae as BAD_OPTIONS_CODE,
1547
+ Y as BAD_VALUE_CODE,
1548
+ a9 as COLUMN_AS_PROPERTY_VALUE_CODE,
1549
+ as as COLUMN_DROPPED_CODE,
1448
1550
  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,
1551
+ at as COLUMN_RENAMED_LOSS_CODE,
1552
+ x as COLUMN_TYPE_CODE,
1553
+ au as CONTROL_CHARACTER_CODE,
1554
+ h as COUNT_HINT_CODE,
1555
+ g as COUNT_MISMATCH_CODE,
1454
1556
  CSV_CAPABILITIES,
1455
1557
  CSV_ISSUE,
1456
1558
  CSV_LOSS,
1457
1559
  C4 as CX2_CAPABILITIES,
1458
1560
  C5 as CX2_ISSUE,
1459
- a8 as CX2_LOSS,
1561
+ a14 as CX2_LOSS,
1460
1562
  C3 as CX_CAPABILITIES,
1461
- a7 as CX_ISSUE,
1462
- b as CX_LOSS,
1563
+ a13 as CX_ISSUE,
1564
+ b2 as CX_LOSS,
1463
1565
  C6 as CYS_CAPABILITIES,
1464
- a9 as CYS_ISSUE,
1465
- b10 as CYS_LOSS,
1566
+ a15 as CYS_ISSUE,
1567
+ b3 as CYS_LOSS,
1466
1568
  C2 as ChildrenCsr,
1467
- i as DANGLING_REFERENCE_CODE,
1569
+ f as DANGLING_REFERENCE_CODE,
1468
1570
  D2 as DEFAULT_CHUNK_BYTES,
1469
- b1 as DEFAULT_ERROR_LIMIT,
1470
- b2 as DIRECTED_COLUMN,
1471
- b3 as DIRECTION_DROPPED_CODE,
1571
+ X2 as DEFAULT_ERROR_LIMIT,
1572
+ Y2 as DIRECTED_COLUMN,
1573
+ av as DIRECTION_DROPPED_CODE,
1472
1574
  D as DIRECTION_FORCED_CODE,
1473
- d as DIRECTION_REFUSED_CODE,
1575
+ b as DIRECTION_REFUSED_CODE,
1474
1576
  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,
1577
+ a16 as DOT_LOSS,
1578
+ S2 as DOT_STYLE_BLOCK_ATTRIBUTE,
1579
+ b4 as DOT_STYLE_CAPABILITIES,
1580
+ l as DUPLICATE_ATTRIBUTE_CODE,
1581
+ aw as DUPLICATE_EDGE_CODE,
1582
+ j as DUPLICATE_EDGE_ID_CODE,
1583
+ q as DUPLICATE_KEY_CODE,
1584
+ k as DUPLICATE_NODE_CODE,
1481
1585
  DirectionResolver,
1482
1586
  EDGES_MERGED_CODE,
1483
- F as ELEMENT_ISSUE,
1484
- b5 as EMPTY_COLUMN_DROPPED_CODE,
1587
+ y as ELEMENT_ISSUE,
1588
+ ax as EMPTY_COLUMN_DROPPED_CODE,
1485
1589
  EMPTY_INPUT_CODE,
1486
- v as ENCODING_CONFLICT_CODE,
1487
- x as ENCODING_FALLBACK_CODE,
1488
- b6 as EQUATION_AS_TEXT_CODE,
1590
+ r as ENCODING_CONFLICT_CODE,
1591
+ t as ENCODING_FALLBACK_CODE,
1592
+ ay as EQUATION_AS_TEXT_CODE,
1489
1593
  FETCH_CODE,
1490
- b7 as FOREIGN_FORMAT_CODE,
1594
+ az as FOREIGN_FORMAT_CODE,
1491
1595
  FormatRegistry,
1492
1596
  GEXF_1_2_CAPABILITIES,
1493
1597
  GEXF_ISSUE,
1494
1598
  GEXF_LOSS,
1599
+ j4 as GEXF_STYLE_CAPABILITIES,
1495
1600
  GML_ISSUE,
1496
1601
  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,
1602
+ GML_STYLE_BLOCK_KEY,
1603
+ GML_STYLE_CAPABILITIES,
1604
+ G4 as GRAPHML_ISSUE,
1605
+ a20 as GRAPHML_LOSS,
1606
+ G5 as GRAPHML_STYLE_CAPABILITIES,
1607
+ a23 as GRAPHTY_XML_NAMESPACE,
1608
+ ag as GRAPH_COLUMN_AS_METADATA_CODE,
1609
+ G3 as GRAPH_FORMATS,
1610
+ a3 as GRAPH_NOT_FOUND_CODE,
1502
1611
  GraphBuilder2 as GraphBuilder,
1503
1612
  GraphFormatError2 as GraphFormatError,
1504
1613
  H as HYPEREDGE_CODE,
1505
1614
  I as ID_MERGED_CODE,
1506
1615
  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,
1616
+ aA as ID_TEXT_COLLISION_CODE,
1617
+ A as ID_TEXT_TYPE_CODE,
1618
+ z as INPUT_ISSUE,
1619
+ aB as INTEGRAL_F64_CODE,
1620
+ u as INVALID_ENCODING_CODE,
1512
1621
  INVALID_INDEX2 as INVALID_INDEX,
1513
- z as INVALID_UTF8_CODE,
1514
- ba as ISSUES_SUPPRESSED_CODE,
1622
+ v as INVALID_UTF8_CODE,
1623
+ aC as ISSUES_SUPPRESSED_CODE,
1515
1624
  IdCoercer,
1516
1625
  ImportError,
1517
1626
  ImportReportBuilder,
1518
1627
  J2 as JSON_DIALECTS,
1519
- a11 as JSON_ISSUE,
1520
- b11 as JSON_LOSS,
1521
- a2 as JSON_NONSTANDARD_NUMBER_CODE,
1628
+ a17 as JSON_ISSUE,
1629
+ b5 as JSON_LOSS,
1630
+ W as JSON_NONSTANDARD_NUMBER_CODE,
1522
1631
  LABELS_COLUMN,
1523
- L as LOSS,
1632
+ L2 as LOSS,
1524
1633
  LineReader,
1525
- s as MISSING_ENDPOINT_CODE,
1526
- t as MISSING_ID_CODE,
1634
+ M2 as MAX_XML_DEPTH,
1635
+ n as MISSING_ENDPOINT_CODE,
1636
+ o as MISSING_ID_CODE,
1527
1637
  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,
1638
+ i as MULTIPLE_GRAPHS_CODE,
1639
+ L as MULTI_ASPECT_FRAGMENT_CODE,
1640
+ J as MUTUAL_AS_UNDIRECTED_CODE,
1641
+ Z as MUTUAL_COLUMN,
1642
+ aD as MUTUAL_EXPANDED_CODE,
1533
1643
  NEO4J_CAPABILITIES,
1534
1644
  NEO4J_ISSUE,
1535
1645
  NEO4J_LOSS,
1536
- aA as NODE_ORDER_CODE,
1537
- bd as NONFINITE_AS_NULL_CODE,
1538
- be as NO_CAPABILITIES,
1646
+ af as NODE_ORDER_CODE,
1647
+ aE as NONFINITE_AS_NULL_CODE,
1648
+ _ as NO_CAPABILITIES,
1539
1649
  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,
1650
+ O2 as OBO_CAPABILITIES,
1651
+ a18 as OBO_ISSUE,
1652
+ b6 as OBO_LOSS,
1653
+ aF as OPTIONS_GAINED_CODE,
1544
1654
  OPTION_IGNORED_CODE,
1545
1655
  ORIGINAL_ID_COLUMN,
1546
- bg as PAIR_COLUMN,
1656
+ $2 as PAIR_COLUMN,
1547
1657
  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,
1658
+ a19 as PAJEK_LOSS,
1659
+ b7 as PAJEK_STYLE_CAPABILITIES,
1660
+ c4 as PAJEK_STYLE_COMMENT,
1661
+ G as PARENTS_DROPPED_CODE,
1662
+ a6 as PARENT_CYCLE_CODE,
1663
+ aG as PARSE_ERROR_CODE,
1552
1664
  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,
1665
+ ai as RELATION_ASSUMED_CODE,
1666
+ R2 as RENAMED_CODE,
1667
+ aa as ROLE_ASSUMED_CODE,
1668
+ F as ROLE_DROPPED_CODE,
1557
1669
  R as ROLE_TAKEN_CODE,
1558
1670
  SELF_LOOPS_DROPPED_CODE,
1559
- bi as SELF_LOOP_CODE,
1560
- ag as SINGLE_OBJECT_ASPECT_CODE,
1671
+ aH as SELF_LOOP_CODE,
1672
+ a4 as SINGLE_OBJECT_ASPECT_CODE,
1561
1673
  S as SINK_OPTION_CODE,
1562
1674
  SNIFF_FAILED_CODE,
1563
1675
  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,
1676
+ T as STATUS_FAILED_CODE,
1677
+ V as STATUS_WARNING_CODE,
1678
+ aI as STORAGE_CLASS_CODE,
1679
+ c as STRAY_TEXT_CODE,
1680
+ STYLES_NOT_IMPORTED_CODE,
1681
+ a8 as SYNTAX_CODE,
1682
+ aJ as TEMPORAL_DROPPED_CODE,
1683
+ aK as TEMPORAL_TEXT_DROPPED_CODE,
1684
+ aL as TEXT_INFERRED_CODE,
1685
+ a1 as TOO_LARGE_CODE,
1686
+ ah as TYPEDEF_NODES_CODE,
1575
1687
  TYPE_COLUMN,
1576
1688
  TextCellWriter,
1577
1689
  U as UNKNOWN_ATTR_TYPE_CODE,
1578
- g as UNKNOWN_ELEMENT_CODE,
1579
- w as UNKNOWN_ENCODING_CODE,
1690
+ d as UNKNOWN_ELEMENT_CODE,
1691
+ s as UNKNOWN_ENCODING_CODE,
1580
1692
  UNKNOWN_FORMAT_CODE,
1581
1693
  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,
1694
+ m as UNKNOWN_PARENT_CODE,
1695
+ a02 as UNKNOWN_TYPE_CODE,
1696
+ e as UNKNOWN_XML_ATTRIBUTE_CODE,
1697
+ aM as WEIGHTS_DROPPED_CODE,
1698
+ aN as WEIGHT_KEY_CLASH_CODE,
1587
1699
  WEIGHT_NOT_FOUND_CODE,
1588
- aj as WIDENED_CODE,
1700
+ a7 as WIDENED_CODE,
1589
1701
  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,
1702
+ X3 as XGMML_ISSUE,
1703
+ a21 as XGMML_LOSS,
1704
+ ac as XML_ILLEGAL_CHAR_CODE,
1705
+ X as XML_NESTING_CODE,
1706
+ w as XML_SYNTAX_CODE,
1707
+ d5 as XmlNestingError,
1708
+ c5 as XmlSyntaxError,
1709
+ f3 as XmlTokenizer,
1710
+ a12 as canonicalId,
1711
+ c2 as capabilities,
1598
1712
  a as checkCapabilities,
1599
1713
  checkExport,
1600
- c2 as childrenCsr,
1601
- a6 as childrenFromColumn,
1714
+ c3 as childrenCsr,
1715
+ a11 as childrenFromColumn,
1602
1716
  chooseGraph,
1603
- bq as coerceId,
1604
- aI as coerceIdText,
1717
+ a22 as coerceId,
1718
+ a32 as coerceIdText,
1605
1719
  collectBytes,
1606
1720
  compareSnapshots,
1607
1721
  createRegistry,
@@ -1613,36 +1727,36 @@ export {
1613
1727
  cxImporter,
1614
1728
  cysExporter,
1615
1729
  cysImporter,
1616
- br as declareCompanion,
1617
- a1 as declareResolved,
1618
- d2 as decodeChunks,
1619
- bs as decodeEntryName,
1730
+ y2 as declareCompanion,
1731
+ d2 as declareResolved,
1732
+ d3 as decodeChunks,
1733
+ a42 as decodeEntryName,
1620
1734
  defineLineFormat,
1621
1735
  describeDiffs,
1622
- d3 as dialectCapabilities,
1736
+ d4 as dialectCapabilities,
1623
1737
  dotExporter,
1624
1738
  dotImporter,
1625
1739
  downloadGraph,
1626
- bt as edgeWeights,
1627
- e2 as encodeChunks,
1628
- e as explicitWeights,
1740
+ a5 as edgeWeights,
1741
+ e3 as encodeChunks,
1742
+ e2 as explicitWeights,
1629
1743
  exportGraph,
1630
1744
  exportGraphToBlob,
1631
1745
  exportGraphToBytes,
1632
1746
  exportGraphToString,
1633
1747
  exportNeo4jFiles,
1634
1748
  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,
1749
+ a62 as forDecodedText,
1750
+ aO as formatDecimal,
1751
+ $ as formatF32,
1752
+ a0 as formatF64,
1753
+ aP as formatGmlReal,
1754
+ ad as formatInteger,
1641
1755
  gexfExporter,
1642
1756
  gexfImporter,
1643
1757
  gmlExporter,
1644
1758
  gmlImporter,
1645
- ap as graphChosen,
1759
+ k2 as graphChosen,
1646
1760
  graphmlExporter,
1647
1761
  graphmlImporter,
1648
1762
  h3 as hasIllegalXmlChar,
@@ -1650,23 +1764,24 @@ export {
1650
1764
  importAllGraphs,
1651
1765
  importGraph,
1652
1766
  i2 as inferTextDtype,
1653
- bw as inputLength,
1767
+ a72 as inputLength,
1654
1768
  isAbortError,
1655
- bx as isCanonicalIntegerText,
1656
- by as isImportInput,
1657
- bz as isNmtoken,
1658
- a5 as isNumericText,
1659
- aJ as isWeightField,
1769
+ O as isCanonicalIntegerText,
1770
+ a82 as isImportInput,
1771
+ a92 as isNmtoken,
1772
+ a10 as isNumericText,
1773
+ o2 as isWeightField,
1660
1774
  j2 as joinText,
1661
1775
  j3 as jsonCapabilities,
1662
1776
  jsonExporter,
1663
1777
  jsonImporter,
1664
1778
  f2 as jsonShapeOf,
1779
+ aQ as keptForStyles,
1665
1780
  listFormats,
1666
1781
  listGraphs,
1667
1782
  loadFromFile,
1668
1783
  loadFromUrl,
1669
- bA as mangleNmtoken,
1784
+ aa2 as mangleNmtoken,
1670
1785
  neo4jExporter,
1671
1786
  neo4jImporter,
1672
1787
  n2 as normalizeMimeType,
@@ -1678,21 +1793,21 @@ export {
1678
1793
  p2 as parseTextCell,
1679
1794
  parseWeightText,
1680
1795
  rankFormats,
1681
- bB as readText,
1682
- bC as refusedSave,
1796
+ ab as readText,
1797
+ ac2 as refusedSave,
1683
1798
  registry,
1684
1799
  reportSinkOptions,
1685
1800
  reportUnusedOptions,
1686
- r as resolveExportOptions,
1801
+ r2 as resolveExportOptions,
1687
1802
  resolveImportOptions,
1688
- aE as sanitizeIds,
1803
+ G2 as sanitizeIds,
1689
1804
  sniff,
1690
1805
  s2 as sniffFormat,
1691
1806
  i3 as sniffJsonDialectHead,
1692
- a4 as textChunks,
1807
+ t2 as textChunks,
1693
1808
  throwIfAborted,
1694
- t2 as toReadableStream,
1695
- t3 as tokenizeXml,
1809
+ t3 as toReadableStream,
1810
+ t4 as tokenizeXml,
1696
1811
  xgmmlExporter,
1697
1812
  xgmmlImporter,
1698
1813
  x2 as xmlIllegalTextNotes