@graphty/graph-io 0.3.42 → 0.3.43
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/{exporter-CpRyHZ3H.js → exporter-RVtXVetw.js} +3 -2
- package/dist/chunks/exporter-RVtXVetw.js.map +1 -0
- package/dist/gexf.js +3 -2
- package/dist/gexf.js.map +1 -1
- package/dist/graph-io.js +2 -2
- package/dist/json.js +1 -1
- package/dist/src/formats/gexf/exporter.d.ts.map +1 -1
- package/dist/src/formats/gexf/exporter.js +3 -2
- package/dist/src/formats/gexf/exporter.js.map +1 -1
- package/dist/src/formats/json/importer.d.ts.map +1 -1
- package/dist/src/formats/json/importer.js +2 -1
- package/dist/src/formats/json/importer.js.map +1 -1
- package/package.json +2 -2
- package/src/formats/gexf/exporter.ts +3 -2
- package/src/formats/json/importer.ts +2 -1
- package/dist/chunks/exporter-CpRyHZ3H.js.map +0 -1
package/dist/gexf.js
CHANGED
|
@@ -3236,8 +3236,9 @@ function collectAttributes(snapshot, domain, roles, tables, version, note) {
|
|
|
3236
3236
|
const table = domain === "node" ? snapshot.nodes : snapshot.edges;
|
|
3237
3237
|
const reserved = domain === "node" ? RESERVED_NODE_NAMES : RESERVED_EDGE_NAMES;
|
|
3238
3238
|
const roleColumns = /* @__PURE__ */ new Set();
|
|
3239
|
-
|
|
3240
|
-
|
|
3239
|
+
const { companions: _companions, ...columns } = roles;
|
|
3240
|
+
for (const value of Object.values(columns)) {
|
|
3241
|
+
if (value !== null) {
|
|
3241
3242
|
roleColumns.add(value);
|
|
3242
3243
|
}
|
|
3243
3244
|
}
|