Skip to content

Instantly share code, notes, and snippets.

@wanderer
Forked from d3noob/.block
Last active August 7, 2017 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wanderer/ef97581da2104959a933d01a43cd4ee0 to your computer and use it in GitHub Desktop.
Save wanderer/ef97581da2104959a933d01a43cd4ee0 to your computer and use it in GitHub Desktop.
D3.js tree diagram generated from external (JSON) data

This is a simple d3.js tree diagram that loads an external data file as used as an example in the book D3 Tips and Tricks.

It is derived from the Mike Bostock Collapsible tree example but it is a VERY cut down version without the ability to update (collapse).

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Collapsible Tree Example</title>
<style>
.node circle {
fill: #fff;
stroke: steelblue;
stroke-width: 3px;
}
.node text { font: 12px sans-serif; }
.link {
fill: none;
stroke: #ccc;
stroke-width: 2px;
}
</style>
</head>
<body>
<!-- load the d3.js library -->
<script src="http://d3js.org/d3.v3.min.js"></script>
<script>
// ************** Generate the tree diagram *****************
var margin = {top: 20, right: 120, bottom: 20, left: 120},
width = 960 - margin.right - margin.left,
height = 500 - margin.top - margin.bottom;
var i = 0;
var tree = d3.layout.tree()
.size([height, width]);
var diagonal = d3.svg.diagonal()
.projection(function(d) { return [d.y, d.x]; });
var svg = d3.select("body").append("svg")
.attr("width", width + margin.right + margin.left)
.attr("height", height + margin.top + margin.bottom)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
// load the external data
d3.json("treeData.json", function(error, treeData) {
root = treeData[0];
update(root);
});
function update(source) {
// Compute the new tree layout.
var nodes = tree.nodes(root).reverse(),
links = tree.links(nodes);
// Normalize for fixed-depth.
nodes.forEach(function(d) { d.y = d.depth * 180; });
// Declare the nodes…
var node = svg.selectAll("g.node")
.data(nodes, function(d) { return d.id || (d.id = ++i); });
// Enter the nodes.
var nodeEnter = node.enter().append("g")
.attr("class", "node")
.attr("transform", function(d) {
return "translate(" + d.y + "," + d.x + ")"; });
nodeEnter.append("circle")
.attr("r", 10)
.style("fill", "#fff");
nodeEnter.append("text")
.attr("x", function(d) {
return d.children || d._children ? -13 : 13; })
.attr("dy", ".35em")
.attr("text-anchor", function(d) {
return d.children || d._children ? "end" : "start"; })
.text(function(d) { return d.name; })
.style("fill-opacity", 1);
// Declare the links…
var link = svg.selectAll("path.link")
.data(links, function(d) { return d.target.id; });
// Enter the links.
link.enter().insert("path", "g")
.attr("class", "link")
.attr("d", diagonal);
}
</script>
</body>
</html>
[
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
24,
51,
183,
42,
121,
20,
107,
172,
34,
6,
196,
3,
152,
240,
81,
214,
203,
148,
50,
199,
33,
240,
255,
86,
41,
133,
233,
111,
165,
65,
159,
0
]
},
65
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
83,
244,
117,
42,
195,
233,
66,
51,
105,
10,
255,
166,
188,
114,
133,
250,
44,
229,
48,
70,
221,
64,
41,
110,
21,
174,
9,
120,
217,
26,
57,
0
]
},
61
]
},
{
"type": "Buffer",
"data": [
6,
1
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
68,
154,
20,
164,
255,
125,
121,
187,
122,
27,
111,
61,
72,
142,
186,
57,
124,
54,
239,
37,
99,
76,
17,
27,
73,
186,
243,
98,
81,
26,
252
]
},
80
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
55,
100,
156,
206,
67,
242,
114,
145,
56,
231,
44,
195,
21,
32,
112,
87,
172,
130,
89,
154,
89,
190,
114,
118,
90,
71,
127,
34,
209,
74,
84
]
},
57
]
},
{
"type": "Buffer",
"data": [
7,
1
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
88,
220,
209,
5,
125,
62,
174,
127,
125,
95,
120,
33,
103,
226,
75,
97,
21,
60,
1,
85,
20,
80,
166,
40,
206,
231,
34,
80,
159,
101,
41
]
},
53
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
138,
121,
2,
203,
78,
246,
151,
186,
11,
103,
89,
197,
14,
140,
16,
41,
127,
245,
143,
148,
34,
67,
222,
25,
185,
132,
132,
27,
254,
31,
115
]
},
77
]
},
{
"type": "Buffer",
"data": [
7,
0
]
}
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
2,
192,
66,
246,
201,
195,
38,
196,
130,
24,
133,
232,
5,
85,
255,
76,
47,
50,
245,
198,
74,
114,
126,
183,
197,
63,
213,
244,
240,
83,
127,
28
]
},
48
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
2,
232,
42,
31,
141,
131,
226,
128,
207,
222,
141,
237,
59,
37,
74,
93,
69,
160,
157,
130,
253,
158,
174,
108,
46,
120,
87,
18,
25,
234,
161,
18
]
},
79
]
},
{
"type": "Buffer",
"data": [
5,
6
]
}
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
6,
125,
249,
28,
175,
203,
204,
47,
64,
54,
63,
60,
219,
92,
77,
35,
214,
254,
11,
93,
202,
231,
199,
189,
217,
187,
109,
166,
1,
119,
117,
39,
0
]
},
22
]
}
]
}
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
1,
228,
1,
14,
88,
155,
211,
154,
134,
197,
77,
195,
129,
87,
51,
149,
37,
206,
109,
233,
124,
183,
198,
174,
242,
215,
33,
46,
206,
26,
237,
52
]
},
84
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
1,
229,
57,
6,
33,
2,
64,
208,
163,
61,
40,
45,
115,
197,
122,
132,
125,
200,
124,
54,
120,
118,
42,
227,
86,
11,
202,
78,
234,
147,
120,
29
]
},
43
]
},
{
"type": "Buffer",
"data": [
6,
1
]
}
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
6,
186,
221,
140,
189,
152,
42,
71,
133,
254,
140,
107,
90,
237,
241,
140,
200,
50,
190,
28,
97,
191,
174,
165,
247,
142,
129,
195,
136,
83,
232,
226,
0
]
},
82
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
1,
226,
101,
57,
106,
79,
174,
245,
123,
124,
86,
117,
39,
171,
244,
48,
214,
207,
69,
149,
157,
142,
56,
252,
189,
152,
182,
152,
78,
239,
207,
0
]
},
19
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
231,
188,
116,
76,
188,
44,
220,
193,
127,
178,
226,
22,
55,
187,
6,
2,
56,
15,
176,
109,
139,
63,
32,
181,
117,
204,
220,
216,
39,
86,
107,
0
]
},
2
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
156,
65,
32,
27,
98,
219,
133,
17,
146,
102,
92,
80,
75,
53,
15,
249,
140,
107,
69,
251,
98,
168,
162,
22,
31,
120,
182,
83,
77,
141,
233
]
},
78
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
148,
76,
111,
240,
141,
198,
244,
61,
162,
233,
200,
36,
102,
155,
125,
146,
125,
209,
250,
151,
111,
173,
199,
180,
86,
136,
31,
81,
191,
92,
204
]
},
85
]
},
{
"type": "Buffer",
"data": [
7,
0
]
}
]
}
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
6,
126,
64,
24,
133,
116,
118,
135,
168,
9,
252,
228,
141,
88,
117,
199,
159,
240,
143,
203,
157,
186,
36,
211,
54,
179,
98,
122,
150,
195,
210,
86,
1
]
},
99
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
6,
136,
9,
201,
52,
75,
135,
220,
73,
80,
126,
239,
198,
40,
40,
3,
40,
52,
216,
179,
46,
154,
217,
90,
102,
59,
192,
191,
121,
239,
147,
141,
2
]
},
8
]
},
{
"type": "Buffer",
"data": [
7,
0
]
}
]
}
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
210,
11,
189,
126,
57,
74,
213,
153,
154,
76,
235,
171,
172,
150,
25,
115,
44,
52,
58,
76,
172,
153,
71,
12,
3,
226,
59,
162,
189,
194,
188
]
},
55
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
65,
100,
150,
9,
248,
140,
205,
42,
10,
91,
35,
58,
7,
165,
56,
236,
49,
63,
246,
173,
246,
149,
170,
68,
169,
105,
219,
202,
57,
246,
125
]
},
92
]
}
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
107,
192,
210,
210,
163,
207,
57,
83,
73,
110,
2,
167,
158,
119,
247,
155,
136,
44,
98,
243,
59,
131,
68,
41,
23,
250,
109,
217,
166,
50,
182,
1
]
},
24
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
49,
170,
180,
17,
150,
33,
90,
58,
66,
248,
166,
184,
177,
72,
70,
79,
43,
131,
131,
73,
157,
46,
55,
224,
53,
114,
181,
117,
84,
150,
127,
1
]
},
68
]
},
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
1,
132,
247,
135,
59,
168,
224,
8,
42,
198,
252,
5,
183,
80,
104,
104,
211,
183,
181,
127,
160,
237,
247,
131,
229,
34,
246,
33,
177,
177,
99,
107
]
},
58
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
1,
37,
176,
98,
198,
206,
197,
253,
183,
120,
68,
182,
23,
235,
2,
233,
214,
117,
55,
82,
237,
43,
48,
52,
144,
13,
182,
52,
44,
231,
73,
122
]
},
30
]
}
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
156,
156,
24,
12,
98,
121,
176,
176,
42,
189,
106,
24,
1,
199,
192,
64,
130,
207,
72,
110,
192,
39,
170,
19,
81,
94,
79,
56,
132,
187,
107
]
},
32
]
}
]
}
]
},
{
"type": "Buffer",
"data": [
7,
0
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
5,
34,
226,
174,
176,
17,
34,
64,
125,
64,
119,
128,
204,
41,
226,
10,
6,
19,
12,
20,
124,
16,
151,
125,
242,
144,
154,
105,
53,
127,
237,
168,
6
]
},
10
]
},
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
202,
196,
178,
28,
226,
59,
33,
138,
160,
217,
128,
170,
232,
90,
112,
80,
28,
61,
219,
154,
227,
152,
189,
185,
220,
1,
227,
171,
79,
233,
214,
1
]
},
50
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
157,
68,
75,
161,
222,
76,
38,
213,
195,
33,
179,
109,
20,
62,
98,
242,
120,
48,
67,
91,
91,
203,
59,
38,
167,
116,
222,
164,
20,
156,
57,
0
]
},
63
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
180,
37,
229,
23,
153,
218,
71,
11,
197,
214,
225,
143,
140,
255,
11,
128,
26,
152,
174,
70,
164,
66,
41,
92,
218,
253,
237,
251,
66,
204,
197,
0
]
},
66
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
194,
106,
111,
2,
124,
251,
93,
29,
220,
255,
93,
153,
231,
226,
157,
64,
106,
111,
118,
31,
22,
35,
91,
249,
82,
108,
184,
199,
172,
86,
74,
0
]
},
37
]
}
]
}
]
}
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
203,
3,
146,
202,
12,
195,
98,
84,
60,
23,
106,
170,
26,
9,
237,
141,
167,
181,
243,
254,
170,
84,
44,
175,
252,
11,
176,
148,
129,
154,
223,
1
]
},
34
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
231,
89,
175,
40,
149,
166,
40,
32,
155,
115,
32,
91,
30,
238,
238,
42,
250,
1,
188,
244,
147,
71,
13,
68,
170,
235,
65,
188,
254,
208,
40,
1
]
},
33
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
23,
131,
88,
132,
4,
171,
190,
42,
168,
216,
236,
195,
249,
133,
18,
119,
252,
14,
228,
227,
170,
248,
214,
5,
48,
66,
18,
26,
173,
217,
54,
0
]
},
64
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
83,
244,
203,
48,
175,
101,
236,
30,
249,
228,
214,
150,
196,
36,
10,
243,
135,
113,
167,
6,
32,
21,
82,
37,
2,
250,
110,
195,
250,
22,
183,
1
]
},
15
]
}
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
13,
60,
36,
235,
29,
151,
184,
189,
207,
123,
230,
195,
6,
253,
117,
140,
143,
142,
144,
57,
76,
236,
145,
117,
90,
81,
165,
85,
119,
49,
200,
0
]
},
73
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
177,
73,
86,
117,
149,
250,
209,
35,
82,
142,
59,
212,
235,
112,
33,
28,
44,
103,
26,
75,
233,
45,
164,
237,
33,
17,
227,
45,
25,
96,
35,
1
]
},
97
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
1,
68,
219,
119,
169,
170,
44,
49,
104,
132,
127,
124,
74,
145,
26,
65,
98,
194,
40,
62,
245,
62,
82,
79,
115,
60,
128,
214,
99,
126,
68,
51
]
},
56
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
1,
82,
132,
67,
236,
120,
225,
116,
152,
139,
42,
161,
68,
200,
214,
192,
35,
79,
113,
142,
18,
90,
153,
138,
103,
169,
162,
32,
112,
40,
153,
52
]
},
36
]
},
{
"type": "Buffer",
"data": [
6,
1
]
}
]
}
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
46,
180,
149,
191,
124,
46,
190,
136,
22,
89,
89,
199,
121,
27,
72,
251,
12,
170,
78,
153,
26,
161,
185,
147,
244,
116,
246,
181,
179,
191,
62,
0
]
},
49
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
2,
114,
214,
167,
240,
64,
180,
221,
104,
192,
20,
155,
75,
130,
70,
6,
111,
225,
73,
150,
108,
85,
47,
26,
70,
160,
130,
80,
177,
127,
180,
18
]
},
18
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
2,
1,
80,
161,
152,
239,
246,
34,
152,
115,
65,
176,
247,
243,
120,
171,
197,
173,
8,
140,
101,
31,
248,
7,
217,
130,
223,
81,
10,
237,
167,
51
]
},
3
]
},
{
"type": "Buffer",
"data": [
6,
2
]
}
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
83,
67,
100,
136,
151,
215,
77,
124,
212,
132,
127,
217,
48,
118,
186,
2,
231,
254,
46,
62,
67,
222,
185,
177,
198,
230,
44,
229,
224,
233,
225,
0
]
},
38
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
128,
2,
14,
57,
24,
228,
249,
236,
104,
222,
59,
136,
241,
128,
30,
201,
72,
32,
250,
117,
136,
156,
84,
16,
199,
3,
234,
137,
71,
181,
154,
0
]
},
93
]
}
]
}
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
5,
241,
176,
244,
219,
204,
243,
129,
124,
116,
116,
29,
60,
110,
210,
221,
100,
102,
54,
47,
157,
218,
90,
50,
90,
201,
206,
44,
186,
249,
13,
231,
2
]
},
59
]
}
]
}
]
}
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
1,
92,
208,
159,
75,
116,
60,
190,
41,
127,
13,
195,
94,
80,
33,
91,
120,
239,
77,
135,
100,
224,
201,
171,
240,
131,
228,
77,
82,
107,
74,
69
]
},
62
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
1,
11,
195,
86,
141,
115,
165,
239,
110,
144,
238,
1,
185,
85,
213,
117,
99,
18,
55,
26,
157,
117,
232,
14,
208,
95,
98,
224,
21,
120,
8,
54
]
},
45
]
},
{
"type": "Buffer",
"data": [
7,
1
]
}
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
158,
129,
163,
229,
163,
79,
96,
139,
170,
110,
73,
218,
8,
3,
54,
155,
78,
226,
20,
126,
116,
254,
221,
238,
200,
110,
182,
60,
12,
192,
187,
0
]
},
52
]
},
{
"type": "Buffer",
"data": [
7,
0
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
72,
144,
86,
224,
145,
109,
89,
254,
58,
221,
121,
230,
63,
9,
90,
243,
255,
184,
22,
4,
105,
31,
33,
202,
212,
66,
168,
92,
123,
230,
23
]
},
47
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
126,
246,
209,
156,
122,
91,
30,
232,
59,
144,
124,
89,
85,
38,
220,
177,
235,
6,
219,
130,
39,
214,
80,
213,
221,
160,
169,
244,
206,
140,
217
]
},
16
]
}
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
220,
139,
70,
129,
183,
53,
49,
203,
238,
99,
122,
166,
111,
88,
236,
27,
148,
201,
242,
168,
197,
194,
230,
169,
92,
114,
105,
220,
148,
8,
172,
1
]
},
44
]
},
{
"type": "Buffer",
"data": [
7,
1
]
}
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
6,
69,
3,
178,
215,
135,
201,
4,
86,
198,
253,
230,
100,
223,
206,
10,
73,
169,
168,
24,
75,
243,
80,
96,
76,
207,
8,
70,
253,
146,
167,
33,
3
]
},
67
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
182,
25,
206,
4,
183,
171,
1,
10,
178,
222,
155,
60,
43,
125,
96,
28,
86,
142,
60,
219,
77,
176,
15,
223,
127,
36,
115,
67,
128,
213,
206,
0
]
},
98
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
234,
57,
79,
118,
220,
204,
52,
135,
85,
218,
170,
195,
101,
151,
199,
102,
122,
22,
1,
158,
44,
45,
137,
244,
220,
91,
132,
88,
204,
111,
198,
0
]
},
90
]
}
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
176,
60,
78,
188,
249,
218,
1,
254,
57,
202,
23,
64,
142,
206,
75,
207,
142,
215,
56,
116,
215,
87,
203,
223,
7,
238,
135,
3,
246,
106,
111,
1
]
},
9
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
194,
47,
13,
170,
59,
114,
236,
207,
34,
132,
203,
120,
174,
215,
37,
34,
147,
155,
54,
171,
214,
41,
122,
79,
153,
200,
185,
199,
218,
2,
180,
0
]
},
28
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
244,
61,
131,
33,
221,
207,
109,
233,
191,
227,
33,
26,
198,
134,
194,
19,
48,
160,
137,
142,
189,
88,
31,
61,
53,
75,
44,
47,
126,
0,
147,
1
]
},
60
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
4,
210,
54,
201,
89,
20,
29,
141,
246,
119,
139,
2,
228,
202,
46,
208,
215,
68,
138,
213,
48,
62,
237,
74,
76,
181,
147,
16,
54,
72,
162,
0
]
},
7
]
}
]
}
]
}
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
79,
80,
35,
197,
73,
38,
210,
160,
254,
101,
148,
67,
86,
138,
120,
39,
237,
63,
119,
1,
57,
118,
60,
124,
181,
139,
79,
234,
242,
61,
195,
0
]
},
14
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
70,
168,
30,
42,
8,
154,
47,
32,
24,
144,
106,
208,
183,
252,
222,
169,
51,
35,
176,
30,
28,
255,
225,
179,
52,
31,
81,
118,
204,
115,
199,
1
]
},
17
]
}
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
6,
240,
59,
192,
89,
242,
151,
221,
96,
128,
180,
12,
47,
48,
96,
45,
40,
226,
250,
177,
70,
156,
2,
44,
131,
234,
240,
9,
108,
12,
111,
49,
0
]
},
46
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
6,
123,
58,
71,
123,
67,
255,
17,
6,
23,
101,
189,
148,
245,
226,
83,
213,
56,
2,
112,
114,
93,
23,
212,
135,
108,
197,
27,
94,
250,
71,
15,
0
]
},
40
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
38,
180,
84,
217,
132,
113,
34,
105,
25,
102,
231,
241,
138,
117,
46,
66,
37,
228,
32,
156,
193,
194,
75,
152,
225,
125,
248,
251,
93,
137,
177,
0
]
},
29
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
149,
113,
238,
145,
66,
173,
213,
239,
77,
112,
73,
95,
106,
235,
134,
143,
63,
48,
200,
80,
41,
102,
2,
240,
90,
194,
123,
68,
179,
65,
86,
0
]
},
20
]
}
]
}
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
6,
195,
249,
130,
142,
220,
75,
129,
90,
41,
237,
186,
65,
55,
10,
5,
19,
61,
184,
204,
136,
103,
82,
148,
123,
45,
132,
103,
121,
145,
208,
107,
1
]
},
89
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
6,
34,
253,
103,
6,
109,
189,
0,
244,
13,
111,
249,
213,
78,
245,
123,
204,
122,
253,
138,
202,
207,
35,
176,
102,
35,
57,
174,
27,
222,
127,
160,
2
]
},
95
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
6,
148,
110,
52,
62,
230,
63,
170,
33,
225,
43,
156,
127,
142,
43,
179,
153,
132,
175,
222,
222,
70,
151,
148,
72,
86,
89,
75,
227,
214,
169,
35,
0
]
},
91
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
145,
79,
147,
72,
201,
204,
15,
248,
167,
151,
22,
112,
11,
159,
205,
77,
47,
62,
113,
22,
8,
0,
78,
184,
241,
56,
188,
186,
127,
20,
217
]
},
41
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
210,
211,
175,
58,
90,
18,
19,
73,
125,
79,
31,
123,
252,
218,
137,
130,
116,
254,
156,
181,
64,
27,
188,
1,
144,
136,
86,
100,
112,
143,
194
]
},
87
]
},
{
"type": "Buffer",
"data": [
7,
0
]
}
]
}
]
}
]
}
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
54,
148,
234,
51,
252,
134,
21,
36,
223,
144,
158,
129,
194,
53,
250,
120,
143,
0,
144,
68,
61,
128,
6,
110,
71,
129,
249,
186,
86,
55,
84,
1
]
},
51
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
152,
54,
181,
202,
41,
200,
214,
122,
35,
107,
1,
100,
148,
175,
60,
253,
145,
229,
87,
224,
105,
85,
131,
93,
202,
50,
249,
130,
28,
27,
172,
1
]
},
86
]
}
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
6,
91,
19,
83,
103,
121,
2,
32,
142,
16,
42,
99,
122,
136,
31,
182,
91,
126,
148,
206,
11,
58,
170,
108,
123,
121,
162,
66,
174,
54,
20,
148,
0
]
},
94
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
1,
11,
101,
142,
46,
110,
84,
115,
103,
102,
254,
242,
199,
157,
66,
160,
114,
32,
119,
17,
123,
140,
7,
92,
74,
73,
72,
160,
168,
217,
234,
24
]
},
81
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
1,
175,
209,
6,
191,
146,
110,
197,
164,
248,
169,
179,
188,
57,
39,
100,
148,
48,
132,
232,
10,
109,
168,
162,
235,
191,
157,
160,
66,
236,
123,
72
]
},
23
]
},
{
"type": "Buffer",
"data": [
6,
1
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
71,
92,
180,
10,
86,
142,
141,
168,
160,
69,
206,
209,
16,
19,
126,
21,
159,
137,
10,
196,
218,
136,
59,
107,
23,
220,
101,
27,
58,
128,
73
]
},
42
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
105,
203,
137,
252,
98,
126,
102,
137,
135,
0,
125,
18,
30,
209,
234,
205,
192,
29,
185,
226,
143,
139,
178,
111,
53,
139,
125,
140,
79,
8,
172
]
},
75
]
},
{
"type": "Buffer",
"data": [
7,
1
]
}
]
}
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
145,
137,
67,
223,
9,
98,
188,
122,
24,
36,
192,
85,
90,
56,
147,
71,
180,
254,
189,
199,
207,
157,
18,
84,
64,
109,
128,
206,
68,
227,
249
]
},
39
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
148,
11,
231,
251,
120,
170,
166,
182,
86,
125,
215,
163,
152,
121,
150,
148,
116,
96,
223,
28,
102,
142,
105,
142,
185,
44,
167,
126,
66,
83,
73
]
},
88
]
}
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
68,
238,
238,
168,
187,
63,
140,
57,
222,
16,
159,
144,
200,
58,
4,
104,
163,
67,
166,
251,
101,
24,
97,
23,
171,
98,
248,
89,
181,
127,
21,
1
]
},
4
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
1,
67,
217,
185,
127,
26,
254,
240,
206,
53,
64,
167,
127,
173,
159,
171,
163,
86,
82,
117,
209,
151,
142,
36,
96,
15,
169,
238,
219,
195,
173,
37
]
},
1
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
1,
40,
234,
152,
239,
174,
63,
10,
14,
95,
103,
230,
123,
207,
239,
30,
236,
176,
97,
90,
131,
207,
133,
8,
51,
13,
159,
119,
214,
221,
84,
12
]
},
12
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
3,
172,
201,
215,
106,
221,
12,
196,
85,
12,
129,
1,
66,
116,
78,
249,
86,
7,
157,
61,
85,
49,
118,
111,
142,
194,
104,
148,
35,
47,
71,
7
]
},
74
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
3,
99,
6,
29,
117,
35,
109,
175,
174,
80,
203,
254,
183,
153,
247,
151,
111,
215,
251,
147,
210,
146,
69,
157,
221,
3,
251,
53,
164,
190,
244,
1
]
},
31
]
},
{
"type": "Buffer",
"data": [
6,
2
]
}
]
},
{
"type": "Buffer",
"data": [
7,
1
]
}
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
115,
203,
86,
25,
0,
173,
167,
24,
229,
49,
150,
86,
91,
85,
172,
148,
2,
6,
236,
226,
64,
36,
122,
15,
96,
95,
37,
185,
167,
19,
250,
0
]
},
83
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
52,
78,
30,
181,
124,
29,
59,
83,
15,
248,
57,
83,
190,
169,
101,
172,
27,
142,
221,
46,
96,
245,
117,
109,
179,
164,
75,
17,
120,
203,
136,
1
]
},
96
]
},
{
"type": "Buffer",
"data": [
7,
1
]
}
]
}
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
69,
194,
196,
8,
66,
252,
186,
103,
61,
251,
242,
211,
192,
211,
20,
219,
29,
179,
54,
77,
93,
164,
189,
57,
200,
55,
7,
90,
193,
253,
189,
1
]
},
72
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
185,
108,
213,
196,
27,
29,
121,
221,
188,
161,
5,
132,
21,
23,
65,
161,
219,
116,
240,
140,
107,
151,
243,
101,
91,
193,
163,
224,
239,
180,
136,
1
]
},
69
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
6,
113,
205,
151,
64,
65,
86,
34,
110,
80,
121,
115,
242,
171,
131,
48,
211,
2,
44,
169,
110,
12,
147,
189,
189,
179,
32,
196,
26,
220,
175
]
},
27
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
246,
192,
17,
119,
110,
141,
183,
205,
51,
11,
84,
23,
79,
215,
111,
125,
2,
22,
182,
18,
56,
122,
95,
252,
251,
129,
230,
240,
145,
150,
131
]
},
6
]
},
{
"type": "Buffer",
"data": [
7,
1
]
}
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
75,
209,
230,
154,
239,
62,
88,
136,
218,
108,
54,
201,
40,
97,
108,
181,
234,
214,
68,
241,
254,
47,
217,
3,
119,
223,
170,
100,
207,
107,
210,
0
]
},
25
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
157,
244,
125,
227,
93,
76,
51,
198,
23,
242,
122,
189,
241,
57,
255,
83,
187,
73,
41,
237,
44,
2,
149,
13,
89,
254,
81,
226,
80,
179,
0,
1
]
},
76
]
},
{
"type": "Buffer",
"data": [
7,
1
]
}
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
6,
33,
175,
152,
184,
46,
31,
73,
27,
50,
58,
237,
143,
99,
93,
200,
140,
158,
47,
51,
179,
185,
236,
203,
24,
176,
32,
92,
40,
20,
184,
227,
2
]
},
11
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
148,
105,
218,
108,
173,
48,
226,
4,
156,
1,
213,
142,
101,
192,
213,
196,
190,
27,
118,
81,
82,
202,
35,
78,
225,
170,
218,
114,
28,
53,
220,
0
]
},
54
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
75,
102,
18,
18,
95,
179,
160,
218,
236,
210,
121,
157,
253,
108,
156,
41,
148,
36,
253,
146,
15,
155,
48,
129,
16,
162,
193,
251,
216,
244,
67
]
},
21
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
45,
18,
125,
227,
123,
148,
43,
170,
208,
97,
69,
229,
75,
12,
97,
154,
31,
34,
50,
123,
46,
187,
207,
190,
199,
143,
85,
100,
175,
227,
157
]
},
5
]
}
]
}
]
}
]
},
{
"children": [
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
41,
4,
180,
224,
13,
182,
96,
200,
253,
70,
214,
103,
105,
35,
167,
53,
209,
219,
47,
166,
111,
114,
202,
255,
113,
78,
254,
103,
199,
146,
166,
0
]
},
35
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
5,
95,
55,
251,
71,
126,
195,
201,
150,
194,
99,
107,
75,
99,
203,
19,
222,
22,
206,
233,
118,
138,
164,
61,
75,
185,
214,
57,
217,
191,
74,
7
]
},
0
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
5,
84,
130,
101,
100,
165,
187,
74,
143,
208,
128,
33,
55,
75,
2,
1,
243,
19,
13,
174,
8,
29,
234,
217,
75,
119,
188,
52,
23,
34,
82,
6
]
},
26
]
},
{
"type": "Buffer",
"data": [
3,
24
]
}
]
}
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
7,
182,
71,
191,
8,
184,
25,
141,
82,
12,
147,
37,
121,
241,
235,
168,
196,
174,
34,
96,
228,
82,
19,
130,
197,
238,
201,
225,
202,
3,
197,
241,
0
]
},
13
]
},
{
"children": [
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
34,
83,
215,
226,
40,
178,
42,
8,
189,
161,
240,
156,
81,
111,
111,
234,
216,
29,
246,
83,
110,
176,
47,
169,
145,
163,
75,
179,
141,
155,
232
]
},
71
]
},
{
"children": [
null,
null,
{
"type": "Buffer",
"data": [
0,
90,
26,
224,
18,
175,
165,
212,
200,
137,
197,
10,
212,
39,
170,
245,
69,
211,
26,
79,
172,
4,
255,
193,
196,
208,
61,
64,
59,
164,
37,
10
]
},
70
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment