Lines Matching refs:Node

2 import { Node, DiffNode, toPlainObject } from "./utils/tree.js";
4 const treeOne = new Node({ id: 1 }, [
5 new Node({ id: 2 }, []),
6 new Node({ id: 3 }, []),
7 new Node({ id: 4 }, []),
9 const treeTwo = new Node({ id: 1 }, [
10 new Node({ id: 2 }, []),
11 new Node({ id: 3 }, [
12 new Node({ id: 5 }, []),
14 new Node({ id: 4 }, []),
65 const newTree = new Node({ id: 1 }, [
66 new Node({ id: 2 }, []),
67 new Node({ id: 3 }, []),
68 new Node({ id: 4 }, [
69 new Node({ id: 5 }, []),
89 const oldTree = new Node({ id: 1, data: "xyz" }, [
90 new Node({ id: 2, data: "abc" }, []),
91 new Node({ id: 3, data: "123" }, []),
94 const newTree = new Node({ id: 1, data: "xyz" }, [
95 new Node({ id: 2, data: "def" }, []),
96 new Node({ id: 3, data: "123" }, []),
117 const oldTree = new Node({ id: 1 }, [
118 new Node({ id: 2 }, []),
119 new Node({ id: 3 }, [
120 new Node({ id: 4 }, []),
124 const newTree = new Node({ id: 1 }, [
125 new Node({ id: 2 }, [
126 new Node({ id: 4 }, [
127 new Node({ id: 5 }, []),
130 new Node({ id: 3 }, []),
150 const oldTree = new Node({ id: 1 }, [
151 new Node({ id: 2 }, []),
152 new Node({ id: 3 }, []),
155 const newTree = new Node({ id: 1 }, [
156 new Node({ id: 3 }, []),
157 new Node({ id: 2 }, []),
171 const oldTree = new Node({ id: 1 }, [
172 new Node({ id: 2 }, []),
173 new Node({ id: 3 }, []),
176 const newTree = new Node({ id: 1 }, [
177 new Node({ id: 2 }, []),
178 new Node({ id: 4 }, []),
179 new Node({ id: 3 }, []),
194 const oldTree = new Node({ id: 1 }, [
195 new Node({ id: 2 }, []),
196 new Node({ id: 3 }, []),
197 new Node({ id: 4 }, []),
200 const newTree = new Node({ id: 1 }, [
201 new Node({ id: 2 }, []),
202 new Node({ id: 4 }, []),
217 const oldTree = new Node({ id: 1 }, [
218 new Node({ id: 2 }, [
219 new Node({ id: 3 }, [
220 new Node({ id: 4 }, []),
225 const newTree = new Node({ id: 1 }, [
226 new Node({ id: 2 }, []),
227 new Node({ id: 3 }, [
228 new Node({ id: 4 }, []),