Skip to content

Commit cfbdea2

Browse files
committed
Mark experimental
1 parent 369ca02 commit cfbdea2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,8 +1110,8 @@ const showBug = function (_evt) {
11101110
cy.edges(`[interaction = "${parentRel}"]`).style("display", "none");
11111111
};
11121112

1113-
1114-
function flattenForest({ elements: { nodes, edges }, ...rest }, isContainment, isTreeNode, isLeaf) {
1113+
// EXPERIMENTAL!!!!!!!!!!!!!
1114+
var homogenizeForest = (isContainment, isTreeNode, isLeaf) => ({ elements: { nodes, edges }, ...rest }) => {
11151115

11161116
// Map each node by id for quick lookup.
11171117
const nodeMap = new Map(nodes.map(n => [n.data.id, n]));

0 commit comments

Comments
 (0)