aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generate_json.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/generate_json.js b/generate_json.js
index fd20ae4..9649443 100644
--- a/generate_json.js
+++ b/generate_json.js
@@ -91,8 +91,10 @@ db.all(queryNodes, (_, nodes) =>
db.all(queryTags, (_, tags) => {
graphdata.data.nodes = nodes.map(node => {
const splitTags = node.tags?.split(',') ?? [null];
+ const olp = node.olp?.replace(/\(\"|\"\)/g, '').split(' ') ?? null;
return{
...node,
+ olp,
tags: splitTags,
file: getFilename(node.file),
properties: parseProperties(node.properties),