Build card being converted into build tree

Still need to be able to delete fillers
This commit is contained in:
Stefan Zermatten
2022-05-02 12:32:14 +02:00
parent 8dbcae1060
commit abb8890070
7 changed files with 378 additions and 13 deletions

View File

@@ -2,7 +2,7 @@ export default function walkDown(tree, callback){
let stack = [...tree];
while(stack.length){
let node = stack.pop();
callback(node);
callback(node, stack);
stack.push(...node.children);
}
}