From 055e81b02acc9135ffc5d7c405484401173653a1 Mon Sep 17 00:00:00 2001 From: SethTrowbridge Date: Tue, 11 May 2021 06:26:18 -0400 Subject: [PATCH] misc renaming --- index.html | 83 +++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 57 insertions(+), 26 deletions(-) diff --git a/index.html b/index.html index 5077f7b..7152f15 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,5 @@
+ @@ -135,6 +144,8 @@ N.Disconnect(a, c, "parent"); var Pivot = { Leaves:{}, + Root:{}, + Init(inRows) { Pivot.Leaves = inRows.map(r => N.Create({Row:r})); @@ -189,7 +200,7 @@ var Pivot = { iterator = child => Pivot.Pivot(child, inColumnIndicies, inSumIndicies, depth+1); } - N.Flow(inParent, "Hierarchy").forEach(iterator); + N.Step(inParent, "Hierarchy").forEach(iterator); return inParent; }, Create(inColumnIndicies, inSumIndicies) @@ -205,7 +216,7 @@ var Pivot = let gatherDown = n => { N.Connect(inNode, n, "ModifyDown"); - N.Flow(n, "Hierarchy").length == 0 ? leaves.push(n) : null; + N.Step(n, "Hierarchy").length == 0 ? leaves.push(n) : null; }; let gatherOut = n => N.Connect(inNode, n, "ModifyOut"); @@ -225,9 +236,11 @@ var Pivot =