@graphty/graph-io 0.3.17 → 0.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +29 -3
- package/dist/chunks/{escape-scjHxjpr.js → escape-D-gZWO26.js} +3 -2
- package/dist/chunks/{escape-scjHxjpr.js.map → escape-D-gZWO26.js.map} +1 -1
- package/dist/chunks/{importer-Xg07gk7p.js → importer-Br_QeAeE.js} +4 -3
- package/dist/chunks/{importer-Xg07gk7p.js.map → importer-Br_QeAeE.js.map} +1 -1
- package/dist/chunks/{importer-ruMWWvVs.js → importer-DHagxvDD.js} +4 -3
- package/dist/chunks/{importer-ruMWWvVs.js.map → importer-DHagxvDD.js.map} +1 -1
- package/dist/chunks/{importer-B6rKRxzv.js → importer-Du5crN9l.js} +509 -25
- package/dist/chunks/importer-Du5crN9l.js.map +1 -0
- package/dist/chunks/importer-aNJfe0qu.js +1614 -0
- package/dist/chunks/importer-aNJfe0qu.js.map +1 -0
- package/dist/chunks/{importer-BmOl9gLW.js → importer-d0uQxFp6.js} +4 -3
- package/dist/chunks/{importer-BmOl9gLW.js.map → importer-d0uQxFp6.js.map} +1 -1
- package/dist/chunks/ontology-BnrJ4I98.js +113 -0
- package/dist/chunks/ontology-BnrJ4I98.js.map +1 -0
- package/dist/chunks/{records-DSpbTE5s.js → records-Bk9jgodz.js} +2 -2
- package/dist/chunks/{records-DSpbTE5s.js.map → records-Bk9jgodz.js.map} +1 -1
- package/dist/chunks/{writer-DHHfHn11.js → report-BOk0p5y8.js} +97 -919
- package/dist/chunks/report-BOk0p5y8.js.map +1 -0
- package/dist/chunks/writer-GAdltGmC.js +827 -0
- package/dist/chunks/writer-GAdltGmC.js.map +1 -0
- package/dist/csv.js +4 -3
- package/dist/csv.js.map +1 -1
- package/dist/dot.js +1 -1
- package/dist/gexf.js +3 -2
- package/dist/gexf.js.map +1 -1
- package/dist/gml.js +3 -2
- package/dist/gml.js.map +1 -1
- package/dist/graph-io.js +160 -141
- package/dist/graph-io.js.map +1 -1
- package/dist/graphml.js +1 -1
- package/dist/json.js +1 -1
- package/dist/neo4j.js +4 -3
- package/dist/neo4j.js.map +1 -1
- package/dist/obo.d.ts +1 -0
- package/dist/obo.js +6 -0
- package/dist/obo.js.map +1 -0
- package/dist/pajek.js +1 -1
- package/dist/src/common/ontology.d.ts +59 -0
- package/dist/src/common/ontology.d.ts.map +1 -0
- package/dist/src/common/ontology.js +147 -0
- package/dist/src/common/ontology.js.map +1 -0
- package/dist/src/formats/json/dialect.d.ts +8 -6
- package/dist/src/formats/json/dialect.d.ts.map +1 -1
- package/dist/src/formats/json/dialect.js +26 -3
- package/dist/src/formats/json/dialect.js.map +1 -1
- package/dist/src/formats/json/importer.d.ts +324 -7
- package/dist/src/formats/json/importer.d.ts.map +1 -1
- package/dist/src/formats/json/importer.js +153 -22
- package/dist/src/formats/json/importer.js.map +1 -1
- package/dist/src/formats/json/obographs.d.ts +21 -0
- package/dist/src/formats/json/obographs.d.ts.map +1 -0
- package/dist/src/formats/json/obographs.js +476 -0
- package/dist/src/formats/json/obographs.js.map +1 -0
- package/dist/src/formats/obo/importer.d.ts +90 -0
- package/dist/src/formats/obo/importer.d.ts.map +1 -0
- package/dist/src/formats/obo/importer.js +1248 -0
- package/dist/src/formats/obo/importer.js.map +1 -0
- package/dist/src/formats/obo/index.d.ts +7 -0
- package/dist/src/formats/obo/index.d.ts.map +1 -0
- package/dist/src/formats/obo/index.js +7 -0
- package/dist/src/formats/obo/index.js.map +1 -0
- package/dist/src/formats/obo/syntax.d.ts +121 -0
- package/dist/src/formats/obo/syntax.d.ts.map +1 -0
- package/dist/src/formats/obo/syntax.js +424 -0
- package/dist/src/formats/obo/syntax.js.map +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/registry.d.ts.map +1 -1
- package/dist/src/registry.js +3 -1
- package/dist/src/registry.js.map +1 -1
- package/dist/src/sniff.d.ts +1 -1
- package/dist/src/sniff.d.ts.map +1 -1
- package/dist/src/sniff.js +23 -3
- package/dist/src/sniff.js.map +1 -1
- package/package.json +6 -1
- package/src/common/ontology.ts +169 -0
- package/src/formats/json/dialect.ts +37 -7
- package/src/formats/json/importer.ts +204 -27
- package/src/formats/json/obographs.ts +563 -0
- package/src/formats/obo/importer.ts +1695 -0
- package/src/formats/obo/index.ts +7 -0
- package/src/formats/obo/syntax.ts +466 -0
- package/src/index.ts +1 -0
- package/src/registry.ts +3 -1
- package/src/sniff.ts +35 -5
- package/dist/chunks/importer-B6rKRxzv.js.map +0 -1
- package/dist/chunks/writer-DHHfHn11.js.map +0 -1
package/dist/graph-io.js
CHANGED
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
import { I as ImportReportBuilder, a as throwIfAborted } from "./chunks/
|
|
2
|
-
import { A, b, B, c, d, e, C, f, g, h, D, i, j, k, l, m, n, o, p, q,
|
|
1
|
+
import { I as ImportReportBuilder, a as throwIfAborted } from "./chunks/report-BOk0p5y8.js";
|
|
2
|
+
import { A, b, B, c, d, e, C, f, g, h, D, i, j, k, l, m, n, o, p, q, E, r, s, u, G, H, v, w, x, y, z, F, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, t } from "./chunks/report-BOk0p5y8.js";
|
|
3
3
|
import { C as C2, c as c2, a } from "./chunks/children-CL3Cy0ez.js";
|
|
4
4
|
import { GraphFormatError, GraphBuilder } from "@graphty/graph-format";
|
|
5
5
|
import { csvImporter, csvExporter } from "./csv.js";
|
|
6
6
|
import { CSV_CAPABILITIES, CSV_ISSUE, CSV_LOSS } from "./csv.js";
|
|
7
|
-
import { b as dotImporter, d as dotExporter } from "./chunks/importer-
|
|
8
|
-
import { D as D2, a as a10 } from "./chunks/importer-
|
|
7
|
+
import { b as dotImporter, d as dotExporter } from "./chunks/importer-Br_QeAeE.js";
|
|
8
|
+
import { D as D2, a as a10 } from "./chunks/importer-Br_QeAeE.js";
|
|
9
9
|
import { gexfImporter, gexfExporter } from "./gexf.js";
|
|
10
10
|
import { GEXF_1_2_CAPABILITIES, GEXF_ISSUE, GEXF_LOSS } from "./gexf.js";
|
|
11
11
|
import { gmlImporter, gmlExporter } from "./gml.js";
|
|
12
12
|
import { GML_ISSUE, GML_LOSS } from "./gml.js";
|
|
13
|
-
import { b as graphmlImporter, g as graphmlExporter } from "./chunks/importer-
|
|
14
|
-
import { G as G2, a as a11 } from "./chunks/importer-
|
|
15
|
-
import { s as sniffJsonDialect, e as jsonImporter, c as jsonExporter } from "./chunks/importer-
|
|
16
|
-
import { J as J2, a as a12, b as b2, d as d2, j as j2 } from "./chunks/importer-
|
|
13
|
+
import { b as graphmlImporter, g as graphmlExporter } from "./chunks/importer-DHagxvDD.js";
|
|
14
|
+
import { G as G2, a as a11 } from "./chunks/importer-DHagxvDD.js";
|
|
15
|
+
import { s as sniffJsonDialect, e as jsonImporter, c as jsonExporter } from "./chunks/importer-Du5crN9l.js";
|
|
16
|
+
import { J as J2, a as a12, b as b2, d as d2, j as j2 } from "./chunks/importer-Du5crN9l.js";
|
|
17
17
|
import { neo4jImporter, neo4jExporter } from "./neo4j.js";
|
|
18
18
|
import { ID_SPACE_COLUMN, LABELS_COLUMN, NEO4J_CAPABILITIES, NEO4J_ISSUE, NEO4J_LOSS, ORIGINAL_ID_COLUMN, TYPE_COLUMN } from "./neo4j.js";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
19
|
+
import { o as oboImporter } from "./chunks/importer-aNJfe0qu.js";
|
|
20
|
+
import { O as O2 } from "./chunks/importer-aNJfe0qu.js";
|
|
21
|
+
import { b as pajekImporter, p as pajekExporter } from "./chunks/importer-d0uQxFp6.js";
|
|
22
|
+
import { P as P2, a as a13 } from "./chunks/importer-d0uQxFp6.js";
|
|
23
|
+
import { D as D3, L as L2, N as N2, c as c3, a as a14, b as b3, d as d3, e as e2, f as f2, g as g2, h as h2, i as i2, j as j3, k as k2, l as l2, m as m2, n as n2, o as o2, p as p2, s as s2, t as t2 } from "./chunks/writer-GAdltGmC.js";
|
|
24
|
+
import { T as T2, W as W2, i as i3, a as a15, p as p3 } from "./chunks/text-Dr0Ifpag.js";
|
|
25
|
+
import { X as X2, a as a16, h as h3, t as t3, x as x2 } from "./chunks/escape-D-gZWO26.js";
|
|
23
26
|
const GRAPH_FORMATS = Object.freeze([
|
|
24
27
|
"json",
|
|
25
28
|
"graphml",
|
|
@@ -28,7 +31,8 @@ const GRAPH_FORMATS = Object.freeze([
|
|
|
28
31
|
"gml",
|
|
29
32
|
"dot",
|
|
30
33
|
"pajek",
|
|
31
|
-
"neo4j"
|
|
34
|
+
"neo4j",
|
|
35
|
+
"obo"
|
|
32
36
|
]);
|
|
33
37
|
const SNIFF_HEAD_BYTES = 8192;
|
|
34
38
|
function extensionOf(filename) {
|
|
@@ -60,8 +64,8 @@ function rankFormats(hints, importers) {
|
|
|
60
64
|
const candidates = [];
|
|
61
65
|
let rank = 0;
|
|
62
66
|
for (const importer of importers) {
|
|
63
|
-
const extensionMatch = extension !== null && importer.extensions.some((
|
|
64
|
-
const mimeMatch = mime !== null && importer.mimeTypes.some((
|
|
67
|
+
const extensionMatch = extension !== null && importer.extensions.some((e3) => e3.toLowerCase() === extension);
|
|
68
|
+
const mimeMatch = mime !== null && importer.mimeTypes.some((m3) => m3.toLowerCase() === mime);
|
|
65
69
|
let content = 0;
|
|
66
70
|
if (head !== null && head.byteLength > 0 && typeof importer.sniff === "function") {
|
|
67
71
|
content = clamp(importer.sniff(head));
|
|
@@ -85,8 +89,8 @@ function rankFormats(hints, importers) {
|
|
|
85
89
|
});
|
|
86
90
|
candidates.push({ result: result2, rank: rank++ });
|
|
87
91
|
}
|
|
88
|
-
candidates.sort((
|
|
89
|
-
return candidates.map((
|
|
92
|
+
candidates.sort((a17, b4) => b4.result.confidence - a17.result.confidence || a17.rank - b4.rank);
|
|
93
|
+
return candidates.map((c4) => c4.result);
|
|
90
94
|
}
|
|
91
95
|
function sniffFormat(hints, importers) {
|
|
92
96
|
const ranked = rankFormats(hints, importers);
|
|
@@ -124,9 +128,19 @@ function skeletonOf(text) {
|
|
|
124
128
|
case "options":
|
|
125
129
|
root[key] = objectOf(keys.get(key));
|
|
126
130
|
break;
|
|
127
|
-
case "graphs":
|
|
128
|
-
|
|
131
|
+
case "graphs": {
|
|
132
|
+
const nodes = keys.get("graphs[0].nodes[]");
|
|
133
|
+
const edges = keys.get("graphs[0].edges[]");
|
|
134
|
+
const graph = {};
|
|
135
|
+
if (nodes !== void 0) {
|
|
136
|
+
graph.nodes = [objectOf(nodes)];
|
|
137
|
+
}
|
|
138
|
+
if (edges !== void 0) {
|
|
139
|
+
graph.edges = [objectOf(edges)];
|
|
140
|
+
}
|
|
141
|
+
root[key] = nodes === void 0 && edges === void 0 ? [] : [graph];
|
|
129
142
|
break;
|
|
143
|
+
}
|
|
130
144
|
case "nodes":
|
|
131
145
|
case "edges":
|
|
132
146
|
case "links": {
|
|
@@ -168,6 +182,9 @@ function scanKeys(text) {
|
|
|
168
182
|
if (depth === 2 && kinds[0] === "object" && kinds[1] === "object") {
|
|
169
183
|
return labels[1] === "graph" || labels[1] === "options" ? labels[1] : null;
|
|
170
184
|
}
|
|
185
|
+
if (depth === 5 && kinds.join() === "object,array,object,array,object" && labels[1] === "graphs" && labels[2] === "0" && (labels[3] === "nodes" || labels[3] === "edges")) {
|
|
186
|
+
return labels[3] === "nodes" ? "graphs[0].nodes[]" : "graphs[0].edges[]";
|
|
187
|
+
}
|
|
171
188
|
if (depth === 3 && kinds[0] === "object" && kinds[1] === "array" && kinds[2] === "object") {
|
|
172
189
|
const section = labels[1];
|
|
173
190
|
if ((section === "nodes" || section === "edges" || section === "links") && labels[2] === "0") {
|
|
@@ -176,17 +193,17 @@ function scanKeys(text) {
|
|
|
176
193
|
}
|
|
177
194
|
return null;
|
|
178
195
|
};
|
|
179
|
-
let
|
|
180
|
-
const
|
|
181
|
-
while (
|
|
182
|
-
const ch = text[
|
|
196
|
+
let i4 = 0;
|
|
197
|
+
const n3 = text.length;
|
|
198
|
+
while (i4 < n3) {
|
|
199
|
+
const ch = text[i4];
|
|
183
200
|
if (ch === '"') {
|
|
184
|
-
const end = scanString(text,
|
|
201
|
+
const end = scanString(text, i4 + 1);
|
|
185
202
|
if (end < 0) {
|
|
186
203
|
break;
|
|
187
204
|
}
|
|
188
|
-
const literal = text.slice(
|
|
189
|
-
|
|
205
|
+
const literal = text.slice(i4 + 1, end);
|
|
206
|
+
i4 = end + 1;
|
|
190
207
|
if (expectingKey) {
|
|
191
208
|
pendingKey = decodeKey(literal);
|
|
192
209
|
expectingKey = false;
|
|
@@ -229,22 +246,22 @@ function scanKeys(text) {
|
|
|
229
246
|
}
|
|
230
247
|
pendingKey = null;
|
|
231
248
|
}
|
|
232
|
-
|
|
249
|
+
i4++;
|
|
233
250
|
}
|
|
234
251
|
return found;
|
|
235
252
|
}
|
|
236
253
|
function scanString(text, from) {
|
|
237
|
-
let
|
|
238
|
-
while (
|
|
239
|
-
const ch = text[
|
|
254
|
+
let i4 = from;
|
|
255
|
+
while (i4 < text.length) {
|
|
256
|
+
const ch = text[i4];
|
|
240
257
|
if (ch === "\\") {
|
|
241
|
-
|
|
258
|
+
i4 += 2;
|
|
242
259
|
continue;
|
|
243
260
|
}
|
|
244
261
|
if (ch === '"') {
|
|
245
|
-
return
|
|
262
|
+
return i4;
|
|
246
263
|
}
|
|
247
|
-
|
|
264
|
+
i4++;
|
|
248
265
|
}
|
|
249
266
|
return -1;
|
|
250
267
|
}
|
|
@@ -425,7 +442,7 @@ class FormatRegistry {
|
|
|
425
442
|
await chosen.peeked?.close();
|
|
426
443
|
throw err;
|
|
427
444
|
}
|
|
428
|
-
return reports.map((report,
|
|
445
|
+
return reports.map((report, i4) => result(chosen, builders[i4], report, options));
|
|
429
446
|
}
|
|
430
447
|
/**
|
|
431
448
|
* The graphs of an input that can hold several, without importing them (a Cytoscape session's
|
|
@@ -500,7 +517,7 @@ class FormatRegistry {
|
|
|
500
517
|
}
|
|
501
518
|
}
|
|
502
519
|
function createRegistry() {
|
|
503
|
-
return new FormatRegistry().registerImporter(jsonImporter).registerExporter(jsonExporter).registerImporter(graphmlImporter).registerExporter(graphmlExporter).registerImporter(gexfImporter).registerExporter(gexfExporter).registerImporter(csvImporter).registerExporter(csvExporter).registerImporter(gmlImporter).registerExporter(gmlExporter).registerImporter(dotImporter).registerExporter(dotExporter).registerImporter(pajekImporter).registerExporter(pajekExporter).registerImporter(neo4jImporter).registerExporter(neo4jExporter);
|
|
520
|
+
return new FormatRegistry().registerImporter(jsonImporter).registerExporter(jsonExporter).registerImporter(graphmlImporter).registerExporter(graphmlExporter).registerImporter(gexfImporter).registerExporter(gexfExporter).registerImporter(csvImporter).registerExporter(csvExporter).registerImporter(gmlImporter).registerExporter(gmlExporter).registerImporter(dotImporter).registerExporter(dotExporter).registerImporter(pajekImporter).registerExporter(pajekExporter).registerImporter(neo4jImporter).registerExporter(neo4jExporter).registerImporter(oboImporter);
|
|
504
521
|
}
|
|
505
522
|
const registry = createRegistry();
|
|
506
523
|
function importGraph(input, options) {
|
|
@@ -604,10 +621,10 @@ async function peekHead(input, bytes, signal) {
|
|
|
604
621
|
return { head: joinHead(buffered, bytes), input: replayed, close: () => replayed.close() };
|
|
605
622
|
}
|
|
606
623
|
function joinHead(chunks, bytes) {
|
|
607
|
-
if (chunks.every((
|
|
624
|
+
if (chunks.every((c4) => c4 instanceof Uint8Array)) {
|
|
608
625
|
const total = Math.min(
|
|
609
626
|
bytes,
|
|
610
|
-
chunks.reduce((sum,
|
|
627
|
+
chunks.reduce((sum, c4) => sum + c4.byteLength, 0)
|
|
611
628
|
);
|
|
612
629
|
const head = new Uint8Array(total);
|
|
613
630
|
let offset = 0;
|
|
@@ -708,22 +725,22 @@ export {
|
|
|
708
725
|
CSV_LOSS,
|
|
709
726
|
C2 as ChildrenCsr,
|
|
710
727
|
D as DANGLING_REFERENCE_CODE,
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
728
|
+
D3 as DEFAULT_CHUNK_BYTES,
|
|
729
|
+
i as DEFAULT_ERROR_LIMIT,
|
|
730
|
+
j as DIRECTED_COLUMN,
|
|
731
|
+
k as DIRECTION_FORCED_CODE,
|
|
732
|
+
l as DIRECTION_REFUSED_CODE,
|
|
716
733
|
D2 as DOT_ISSUE,
|
|
717
734
|
a10 as DOT_LOSS,
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
735
|
+
m as DUPLICATE_ATTRIBUTE_CODE,
|
|
736
|
+
n as DUPLICATE_EDGE_ID_CODE,
|
|
737
|
+
o as DUPLICATE_KEY_CODE,
|
|
738
|
+
p as DUPLICATE_NODE_CODE,
|
|
739
|
+
q as DirectionResolver,
|
|
723
740
|
E as EMPTY_COLUMN_DROPPED_CODE,
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
741
|
+
r as EMPTY_INPUT_CODE,
|
|
742
|
+
s as ENCODING_FALLBACK_CODE,
|
|
743
|
+
u as EQUATION_AS_TEXT_CODE,
|
|
727
744
|
FormatRegistry,
|
|
728
745
|
GEXF_1_2_CAPABILITIES,
|
|
729
746
|
GEXF_ISSUE,
|
|
@@ -735,152 +752,154 @@ export {
|
|
|
735
752
|
GRAPH_FORMATS,
|
|
736
753
|
G as GRAPH_NOT_FOUND_CODE,
|
|
737
754
|
H as HYPEREDGE_CODE,
|
|
738
|
-
|
|
755
|
+
v as ID_MERGED_CODE,
|
|
739
756
|
ID_SPACE_COLUMN,
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
757
|
+
w as ID_TEXT_COLLISION_CODE,
|
|
758
|
+
x as ID_TEXT_TYPE_CODE,
|
|
759
|
+
y as INTEGRAL_F64_CODE,
|
|
760
|
+
z as INVALID_ENCODING_CODE,
|
|
761
|
+
F as INVALID_UTF8_CODE,
|
|
762
|
+
J as IdCoercer,
|
|
763
|
+
K as ImportError,
|
|
747
764
|
ImportReportBuilder,
|
|
748
765
|
J2 as JSON_DIALECTS,
|
|
749
766
|
a12 as JSON_ISSUE,
|
|
750
767
|
b2 as JSON_LOSS,
|
|
751
768
|
LABELS_COLUMN,
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
769
|
+
L2 as LOSS,
|
|
770
|
+
L as LineReader,
|
|
771
|
+
M as MISSING_ENDPOINT_CODE,
|
|
772
|
+
N as MISSING_ID_CODE,
|
|
773
|
+
O as MIXED_DIRECTION_CODE,
|
|
774
|
+
P as MULTIPLE_GRAPHS_CODE,
|
|
775
|
+
Q as MUTUAL_AS_UNDIRECTED_CODE,
|
|
776
|
+
R as MUTUAL_COLUMN,
|
|
777
|
+
S as MUTUAL_EXPANDED_CODE,
|
|
761
778
|
NEO4J_CAPABILITIES,
|
|
762
779
|
NEO4J_ISSUE,
|
|
763
780
|
NEO4J_LOSS,
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
781
|
+
N2 as NO_CAPABILITIES,
|
|
782
|
+
T as NO_GRAPH_CODE,
|
|
783
|
+
O2 as OBO_ISSUE,
|
|
784
|
+
U as OPTIONS_GAINED_CODE,
|
|
785
|
+
V as OPTION_IGNORED_CODE,
|
|
768
786
|
ORIGINAL_ID_COLUMN,
|
|
769
|
-
|
|
787
|
+
W as PAIR_COLUMN,
|
|
770
788
|
P2 as PAJEK_ISSUE,
|
|
771
789
|
a13 as PAJEK_LOSS,
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
790
|
+
X as PARENTS_DROPPED_CODE,
|
|
791
|
+
Y as PARENT_CYCLE_CODE,
|
|
792
|
+
Z as PARSE_ERROR_CODE,
|
|
793
|
+
_ as PRECISION_CODE,
|
|
794
|
+
$ as RENAMED_CODE,
|
|
795
|
+
a0 as ROLE_ASSUMED_CODE,
|
|
796
|
+
a1 as ROLE_DROPPED_CODE,
|
|
797
|
+
a2 as ROLE_TAKEN_CODE,
|
|
798
|
+
a3 as SINK_OPTION_CODE,
|
|
781
799
|
SNIFF_HEAD_BYTES,
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
800
|
+
a4 as STATUS_FAILED_CODE,
|
|
801
|
+
a5 as STATUS_WARNING_CODE,
|
|
802
|
+
a6 as STORAGE_CLASS_CODE,
|
|
803
|
+
a7 as STRAY_TEXT_CODE,
|
|
804
|
+
a8 as STYLES_NOT_IMPORTED_CODE,
|
|
805
|
+
a9 as SYNTAX_CODE,
|
|
806
|
+
aa as TEMPORAL_DROPPED_CODE,
|
|
807
|
+
ab as TEMPORAL_TEXT_DROPPED_CODE,
|
|
808
|
+
ac as TEXT_INFERRED_CODE,
|
|
809
|
+
ad as TOO_LARGE_CODE,
|
|
792
810
|
TYPE_COLUMN,
|
|
793
811
|
T2 as TextCellWriter,
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
812
|
+
ae as UNKNOWN_ATTR_TYPE_CODE,
|
|
813
|
+
af as UNKNOWN_ELEMENT_CODE,
|
|
814
|
+
ag as UNKNOWN_ENCODING_CODE,
|
|
797
815
|
UNKNOWN_FORMAT_CODE,
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
816
|
+
ah as UNKNOWN_PARENT_CODE,
|
|
817
|
+
ai as UNKNOWN_TYPE_CODE,
|
|
818
|
+
aj as WEIGHT_KEY_CLASH_CODE,
|
|
819
|
+
ak as WIDENED_CODE,
|
|
802
820
|
W2 as WIDENING_UNSUPPORTED_CODE,
|
|
803
|
-
|
|
804
|
-
|
|
821
|
+
al as XML_ILLEGAL_CHAR_CODE,
|
|
822
|
+
am as XML_SYNTAX_CODE,
|
|
805
823
|
X2 as XmlSyntaxError,
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
824
|
+
a16 as XmlTokenizer,
|
|
825
|
+
an as canonicalId,
|
|
826
|
+
c3 as capabilities,
|
|
827
|
+
a14 as checkCapabilities,
|
|
810
828
|
checkExport,
|
|
811
829
|
c2 as childrenCsr,
|
|
812
830
|
a as childrenFromColumn,
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
831
|
+
ao as chooseGraph,
|
|
832
|
+
ap as coerceId,
|
|
833
|
+
aq as coerceIdText,
|
|
834
|
+
b3 as collectBytes,
|
|
817
835
|
createRegistry,
|
|
818
836
|
csvExporter,
|
|
819
837
|
csvImporter,
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
838
|
+
ar as declareCompanion,
|
|
839
|
+
as as declareResolved,
|
|
840
|
+
d3 as decodeChunks,
|
|
841
|
+
at as decodeEntryName,
|
|
824
842
|
d2 as dialectCapabilities,
|
|
825
843
|
dotExporter,
|
|
826
844
|
dotImporter,
|
|
827
|
-
|
|
828
|
-
|
|
845
|
+
e2 as encodeChunks,
|
|
846
|
+
f2 as explicitWeights,
|
|
829
847
|
exportGraph,
|
|
830
848
|
exportGraphToString,
|
|
831
849
|
extensionOf,
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
850
|
+
g2 as formatDecimal,
|
|
851
|
+
h2 as formatF32,
|
|
852
|
+
i2 as formatF64,
|
|
853
|
+
j3 as formatGmlReal,
|
|
854
|
+
k2 as formatInteger,
|
|
837
855
|
gexfExporter,
|
|
838
856
|
gexfImporter,
|
|
839
857
|
gmlExporter,
|
|
840
858
|
gmlImporter,
|
|
841
859
|
graphmlExporter,
|
|
842
860
|
graphmlImporter,
|
|
843
|
-
|
|
861
|
+
h3 as hasIllegalXmlChar,
|
|
844
862
|
headBytes,
|
|
845
863
|
importAllGraphs,
|
|
846
864
|
importGraph,
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
865
|
+
i3 as inferTextDtype,
|
|
866
|
+
au as inputLength,
|
|
867
|
+
av as isAbortError,
|
|
868
|
+
aw as isCanonicalIntegerText,
|
|
869
|
+
ax as isImportInput,
|
|
870
|
+
l2 as isNmtoken,
|
|
871
|
+
a15 as isNumericText,
|
|
872
|
+
m2 as isWeightField,
|
|
873
|
+
n2 as joinText,
|
|
856
874
|
j2 as jsonCapabilities,
|
|
857
875
|
jsonExporter,
|
|
858
876
|
jsonImporter,
|
|
859
877
|
listGraphs,
|
|
860
|
-
|
|
878
|
+
o2 as mangleNmtoken,
|
|
861
879
|
neo4jExporter,
|
|
862
880
|
neo4jImporter,
|
|
863
881
|
normalizeMimeType,
|
|
864
|
-
|
|
882
|
+
oboImporter,
|
|
883
|
+
ay as pairFolding,
|
|
865
884
|
pajekExporter,
|
|
866
885
|
pajekImporter,
|
|
867
|
-
|
|
868
|
-
|
|
886
|
+
p3 as parseTextCell,
|
|
887
|
+
p2 as parseWeightText,
|
|
869
888
|
rankFormats,
|
|
870
|
-
|
|
889
|
+
az as readText,
|
|
871
890
|
registry,
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
891
|
+
aA as reportSinkOptions,
|
|
892
|
+
aB as reportUnusedOptions,
|
|
893
|
+
aC as resolveExportOptions,
|
|
894
|
+
aD as resolveImportOptions,
|
|
895
|
+
s2 as sanitizeIds,
|
|
877
896
|
sniff,
|
|
878
897
|
sniffFormat,
|
|
879
898
|
sniffJsonDialectHead,
|
|
880
899
|
t as textChunks,
|
|
881
900
|
throwIfAborted,
|
|
882
|
-
|
|
883
|
-
|
|
901
|
+
t2 as toReadableStream,
|
|
902
|
+
t3 as tokenizeXml,
|
|
884
903
|
x2 as xmlIllegalTextNotes
|
|
885
904
|
};
|
|
886
905
|
//# sourceMappingURL=graph-io.js.map
|