@graphty/graph-io 0.3.45 → 0.3.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{approximations-DJMHdDvv.js → approximations-wWjCRzKj.js} +2 -2
- package/dist/chunks/{approximations-DJMHdDvv.js.map → approximations-wWjCRzKj.js.map} +1 -1
- package/dist/chunks/{block-CPCHkX42.js → block-DiGq58c3.js} +9 -3
- package/dist/chunks/block-DiGq58c3.js.map +1 -0
- package/dist/chunks/{emit-DZy6JgdA.js → emit-CwU8cUmG.js} +2 -2
- package/dist/chunks/{emit-DZy6JgdA.js.map → emit-CwU8cUmG.js.map} +1 -1
- package/dist/chunks/{exporter-DFqJhBnj.js → exporter-CJgfhF-l.js} +4 -4
- package/dist/chunks/{exporter-DFqJhBnj.js.map → exporter-CJgfhF-l.js.map} +1 -1
- package/dist/chunks/{exporter-C-9cgZKa.js → exporter-CrDWIyiq.js} +4 -4
- package/dist/chunks/{exporter-C-9cgZKa.js.map → exporter-CrDWIyiq.js.map} +1 -1
- package/dist/chunks/{exporter-DteVeJki.js → exporter-DndFlGSa.js} +3 -3
- package/dist/chunks/{exporter-DteVeJki.js.map → exporter-DndFlGSa.js.map} +1 -1
- package/dist/chunks/{generic-BGO71QBv.js → generic-Dq1ntt9q.js} +3 -3
- package/dist/chunks/{generic-BGO71QBv.js.map → generic-Dq1ntt9q.js.map} +1 -1
- package/dist/chunks/{importer-B-9Rc1zO.js → importer-BSvfrX_h.js} +4 -4
- package/dist/chunks/{importer-B-9Rc1zO.js.map → importer-BSvfrX_h.js.map} +1 -1
- package/dist/chunks/{importer-BVVR740x.js → importer-CMmeMWlC.js} +3 -3
- package/dist/chunks/{importer-BVVR740x.js.map → importer-CMmeMWlC.js.map} +1 -1
- package/dist/chunks/{importer-C7pvJe1L.js → importer-COTK9Tsl.js} +5 -5
- package/dist/chunks/{importer-C7pvJe1L.js.map → importer-COTK9Tsl.js.map} +1 -1
- package/dist/chunks/{importer-ClwoVx3O.js → importer-DiZRmOQG.js} +4 -4
- package/dist/chunks/{importer-ClwoVx3O.js.map → importer-DiZRmOQG.js.map} +1 -1
- package/dist/chunks/{importer-EHQk1jbM.js → importer-e6LGpqHB.js} +5 -5
- package/dist/chunks/importer-e6LGpqHB.js.map +1 -0
- package/dist/chunks/{importer-C0AjA3Ax.js → importer-iFYPEKaJ.js} +4 -4
- package/dist/chunks/{importer-C0AjA3Ax.js.map → importer-iFYPEKaJ.js.map} +1 -1
- package/dist/chunks/{importer-D0sC_6bO.js → importer-yh_aBCU6.js} +2 -2
- package/dist/chunks/{importer-D0sC_6bO.js.map → importer-yh_aBCU6.js.map} +1 -1
- package/dist/chunks/{lexicon-WMsNddyU.js → lexicon-CT69Kd87.js} +2 -2
- package/dist/chunks/{lexicon-WMsNddyU.js.map → lexicon-CT69Kd87.js.map} +1 -1
- package/dist/chunks/{styles-zNTmz5R7.js → styles-BQnsga7p.js} +3 -3
- package/dist/chunks/{styles-zNTmz5R7.js.map → styles-BQnsga7p.js.map} +1 -1
- package/dist/chunks/{styles-DvoFBKCK.js → styles-D3fRphrO.js} +3 -3
- package/dist/chunks/{styles-DvoFBKCK.js.map → styles-D3fRphrO.js.map} +1 -1
- package/dist/chunks/{styles-yed-Cz9rLBCP.js → styles-yed-BF5x3_Y5.js} +3 -3
- package/dist/chunks/{styles-yed-Cz9rLBCP.js.map → styles-yed-BF5x3_Y5.js.map} +1 -1
- package/dist/chunks/{writer-gQ8kx99H.js → writer-DMKvthQE.js} +2 -2
- package/dist/chunks/{writer-gQ8kx99H.js.map → writer-DMKvthQE.js.map} +1 -1
- package/dist/cx.js +1 -1
- package/dist/cx2.js +2 -2
- package/dist/cys.js +1 -1
- package/dist/dot.js +2 -2
- package/dist/gexf.js +2 -2
- package/dist/gml.js +6 -6
- package/dist/graph-io.js +23 -23
- package/dist/graphml.js +2 -2
- package/dist/json.js +1 -1
- package/dist/pajek.js +1 -1
- package/dist/src/formats/pajek/styles.d.ts +1 -1
- package/dist/src/formats/pajek/styles.d.ts.map +1 -1
- package/dist/src/formats/pajek/styles.js +4 -3
- package/dist/src/formats/pajek/styles.js.map +1 -1
- package/dist/src/styles/canon/color-tables.d.ts +2 -1
- package/dist/src/styles/canon/color-tables.d.ts.map +1 -1
- package/dist/src/styles/canon/color-tables.js +7 -2
- package/dist/src/styles/canon/color-tables.js.map +1 -1
- package/dist/src/styles/defaults.d.ts.map +1 -1
- package/dist/src/styles/defaults.js +7 -0
- package/dist/src/styles/defaults.js.map +1 -1
- package/dist/styles.js +6 -6
- package/dist/xgmml.js +3 -3
- package/package.json +2 -2
- package/src/formats/pajek/styles.ts +4 -3
- package/src/styles/canon/color-tables.ts +7 -2
- package/src/styles/defaults.ts +8 -0
- package/dist/chunks/block-CPCHkX42.js.map +0 -1
- package/dist/chunks/importer-EHQk1jbM.js.map +0 -1
|
@@ -5,9 +5,9 @@ import { p as plural, a as agree, _ as idText, ab as formatNumber, aO as formatD
|
|
|
5
5
|
import { i as inferTextDtype, W as WIDENING_UNSUPPORTED_CODE, a as isNumericText, T as TextCellWriter } from "./text-CzJNFOS9.js";
|
|
6
6
|
import { j as joinText, e as encodeChunks } from "./writer-DxjgHwSe.js";
|
|
7
7
|
import { i as importChosenGraph } from "./choose--jM0yYCo.js";
|
|
8
|
-
import { w as writeStyleBlock, c as styleBlockLosses, t as StyleNotes, p as plainCell, u as parseStyleBlock, s as styleFingerprint, v as blockStyles, r as resolveStyles, o as canonText, l as canonEnum, h as canonNumber, g as canonColor, x as colorOpacity, D as DVIPS_COLORS } from "./block-
|
|
9
|
-
import { S as StyleApproximations } from "./approximations-
|
|
10
|
-
import { v as valueColumns } from "./styles-yed-
|
|
8
|
+
import { w as writeStyleBlock, c as styleBlockLosses, t as StyleNotes, p as plainCell, u as parseStyleBlock, s as styleFingerprint, v as blockStyles, r as resolveStyles, o as canonText, l as canonEnum, h as canonNumber, g as canonColor, x as colorOpacity, D as DVIPS_COLORS } from "./block-DiGq58c3.js";
|
|
9
|
+
import { S as StyleApproximations } from "./approximations-wWjCRzKj.js";
|
|
10
|
+
import { v as valueColumns } from "./styles-yed-BF5x3_Y5.js";
|
|
11
11
|
const LABEL_COLUMN = "label";
|
|
12
12
|
const POSITION_COLUMN = "position";
|
|
13
13
|
const SHAPE_COLUMN = "shape";
|
|
@@ -545,7 +545,7 @@ function vertexParams(get, approximate) {
|
|
|
545
545
|
];
|
|
546
546
|
for (const [property, key] of colors) {
|
|
547
547
|
const v = get(property);
|
|
548
|
-
if (typeof v === "string" &&
|
|
548
|
+
if (typeof v === "string" && (property === "fill" || v !== "#000000")) {
|
|
549
549
|
out.set(key, pajekColorText(v));
|
|
550
550
|
}
|
|
551
551
|
}
|
|
@@ -3176,4 +3176,4 @@ export {
|
|
|
3176
3176
|
pajekImporter as d,
|
|
3177
3177
|
pajekExporter as p
|
|
3178
3178
|
};
|
|
3179
|
-
//# sourceMappingURL=importer-
|
|
3179
|
+
//# sourceMappingURL=importer-e6LGpqHB.js.map
|