@basic-genomics/hivtrace-viz 1.2.5 → 1.2.6
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/embed/index.html +3 -3
- package/package.json +1 -1
package/dist/embed/index.html
CHANGED
|
@@ -1083,7 +1083,7 @@
|
|
|
1083
1083
|
position: { x: clusterInfo.x, y: clusterInfo.y },
|
|
1084
1084
|
state: { expanded: clusterInfo.expanded, fixed: clusterInfo.fixed },
|
|
1085
1085
|
node_ids: Array.isArray(clusterInfo.nodes)
|
|
1086
|
-
? clusterInfo.nodes.
|
|
1086
|
+
? clusterInfo.nodes.map(function (n) { return n.id; }).filter(Boolean)
|
|
1087
1087
|
: []
|
|
1088
1088
|
}
|
|
1089
1089
|
}, '*');
|
|
@@ -1353,7 +1353,7 @@
|
|
|
1353
1353
|
},
|
|
1354
1354
|
// 只提取节点ID列表,避免传递复杂对象
|
|
1355
1355
|
node_ids: Array.isArray(clusterInfo?.nodes)
|
|
1356
|
-
? clusterInfo.nodes.
|
|
1356
|
+
? clusterInfo.nodes.map(node => node?.id).filter(Boolean)
|
|
1357
1357
|
: []
|
|
1358
1358
|
};
|
|
1359
1359
|
|
|
@@ -1498,7 +1498,7 @@
|
|
|
1498
1498
|
position: { x: clusterInfo.x, y: clusterInfo.y },
|
|
1499
1499
|
state: { expanded: clusterInfo.expanded, fixed: clusterInfo.fixed },
|
|
1500
1500
|
node_ids: Array.isArray(clusterInfo.nodes)
|
|
1501
|
-
? clusterInfo.nodes.
|
|
1501
|
+
? clusterInfo.nodes.map(function (n) { return n.id; }).filter(Boolean)
|
|
1502
1502
|
: []
|
|
1503
1503
|
}
|
|
1504
1504
|
}, '*');
|