@figtreejs/core 0.0.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/eslint.config.js +9 -0
  3. package/package.json +76 -0
  4. package/src/@custom-types/normalize-svg-path.d.ts +13 -0
  5. package/src/@custom-types/parse-svg-path.d.ts +8 -0
  6. package/src/@custom-types/svg-path-types.d.ts +37 -0
  7. package/src/bauble-makers/makers.ts +112 -0
  8. package/src/bauble-makers/set-up-baubles.ts +197 -0
  9. package/src/bauble-makers/utils.ts +61 -0
  10. package/src/components/baubles/bauble.tsx +61 -0
  11. package/src/components/baubles/branches.tsx +13 -0
  12. package/src/components/baubles/clades/cartoon.tsx +68 -0
  13. package/src/components/baubles/clades/highlight.tsx +96 -0
  14. package/src/components/baubles/clades/index.ts +1 -0
  15. package/src/components/baubles/clades.tsx +45 -0
  16. package/src/components/baubles/helpers.tsx +62 -0
  17. package/src/components/baubles/index.ts +16 -0
  18. package/src/components/baubles/labels.tsx +38 -0
  19. package/src/components/baubles/nodes.tsx +51 -0
  20. package/src/components/baubles/shapes/branch.tsx +53 -0
  21. package/src/components/baubles/shapes/circle.tsx +64 -0
  22. package/src/components/baubles/shapes/index.ts +9 -0
  23. package/src/components/baubles/shapes/label.tsx +104 -0
  24. package/src/components/baubles/shapes/rectangle.tsx +83 -0
  25. package/src/components/baubles/types.ts +99 -0
  26. package/src/components/decorations/axis/axis-types.ts +123 -0
  27. package/src/components/decorations/axis/axis.tsx +21 -0
  28. package/src/components/decorations/axis/index.ts +2 -0
  29. package/src/components/decorations/axis/polar-axis-bars.tsx +102 -0
  30. package/src/components/decorations/axis/polar-axis.tsx +175 -0
  31. package/src/components/decorations/axis/rectangular-axis-bars.tsx +53 -0
  32. package/src/components/decorations/axis/rectangular-axis.tsx +151 -0
  33. package/src/components/decorations/index.ts +2 -0
  34. package/src/components/decorations/legend/discrete-legend.tsx +93 -0
  35. package/src/components/decorations/legend/index.ts +1 -0
  36. package/src/components/decorations/legend/legend.tsx +1 -0
  37. package/src/components/figtree/figtree-types.ts +69 -0
  38. package/src/components/figtree/figtree.tsx +136 -0
  39. package/src/components/figtree/index.ts +3 -0
  40. package/src/components/hoc/index.ts +7 -0
  41. package/src/components/hoc/with-branch.tsx +148 -0
  42. package/src/components/hoc/with-branches.tsx +54 -0
  43. package/src/components/hoc/with-clades.tsx +47 -0
  44. package/src/components/hoc/with-node.tsx +183 -0
  45. package/src/components/hoc/with-nodes.tsx +45 -0
  46. package/src/components/index.ts +4 -0
  47. package/src/context/aminated-context.ts +3 -0
  48. package/src/context/dimension-context.ts +22 -0
  49. package/src/context/layout-context.ts +20 -0
  50. package/src/context/scale-context.ts +12 -0
  51. package/src/evo/index.ts +1 -0
  52. package/src/evo/tree/index.ts +5 -0
  53. package/src/evo/tree/mcc-tree.ts +0 -0
  54. package/src/evo/tree/normalized-tree/immutable-tree-helpers.ts +136 -0
  55. package/src/evo/tree/normalized-tree/immutable-tree.test.ts +158 -0
  56. package/src/evo/tree/normalized-tree/immutable-tree.ts +1365 -0
  57. package/src/evo/tree/normalized-tree/index.ts +3 -0
  58. package/src/evo/tree/parsers/annotation-parser.ts +276 -0
  59. package/src/evo/tree/parsers/index.ts +3 -0
  60. package/src/evo/tree/parsers/newick-character-parser.ts +246 -0
  61. package/src/evo/tree/parsers/newick-parsing.ts +22 -0
  62. package/src/evo/tree/parsers/nexus-parser.ts +12 -0
  63. package/src/evo/tree/parsers/nexus-parsing.ts +68 -0
  64. package/src/evo/tree/parsers/parsing.test.ts +289 -0
  65. package/src/evo/tree/parsers/stream-reader/index.ts +1 -0
  66. package/src/evo/tree/parsers/stream-reader/newick-importer.txt +395 -0
  67. package/src/evo/tree/parsers/stream-reader/nexus-importer.test.ts +99 -0
  68. package/src/evo/tree/parsers/stream-reader/nexus-importer.ts +293 -0
  69. package/src/evo/tree/parsers/stream-reader/nexus-tokenizer.ts +77 -0
  70. package/src/evo/tree/parsers/stream-reader/nexus-transform-stream.txt +109 -0
  71. package/src/evo/tree/taxa/helper-functions.ts +46 -0
  72. package/src/evo/tree/taxa/index.ts +1 -0
  73. package/src/evo/tree/taxa/taxon.ts +116 -0
  74. package/src/evo/tree/traversals/index.ts +1 -0
  75. package/src/evo/tree/traversals/preorder-traversal.ts +89 -0
  76. package/src/evo/tree/traversals/traversal-types.ts +6 -0
  77. package/src/evo/tree/tree-types.ts +197 -0
  78. package/src/evo/tree/utilities.ts +44 -0
  79. package/src/index.ts +6 -0
  80. package/src/layouts/functional/index.ts +2 -0
  81. package/src/layouts/functional/radial-layout.ts +150 -0
  82. package/src/layouts/functional/rectangular-layout.ts +71 -0
  83. package/src/layouts/index.ts +3 -0
  84. package/src/layouts/layout-interface.ts +90 -0
  85. package/src/layouts/types.ts +32 -0
  86. package/src/path.helpers.ts +81 -0
  87. package/src/store/polar-scale.ts +145 -0
  88. package/src/store/store.ts +144 -0
  89. package/src/tests/baubles/__snapshots__/branch-labels.test.tsx.snap +901 -0
  90. package/src/tests/baubles/__snapshots__/node-labels.test.tsx.snap +1516 -0
  91. package/src/tests/baubles/branch-labels.test.tsx +103 -0
  92. package/src/tests/baubles/label.svg +131 -0
  93. package/src/tests/baubles/node-labels.test.tsx +126 -0
  94. package/src/tests/clades/__snapshots__/cartoon.test.tsx.snap +327 -0
  95. package/src/tests/clades/__snapshots__/highlight.test.tsx.snap +337 -0
  96. package/src/tests/clades/cartoon.test.tsx +65 -0
  97. package/src/tests/clades/highlight.test.tsx +66 -0
  98. package/src/tests/figtree/__snapshots__/figtree.test.tsx.snap +761 -0
  99. package/src/tests/figtree/figtree.test.tsx +123 -0
  100. package/src/tests/figtree/simple.svg +47 -0
  101. package/src/tests/layouts/radiallayout.test.ts +23 -0
  102. package/src/tests/layouts/rectangularlayout.test.ts +65 -0
  103. package/src/tests/shapes/branch.test.tsx +40 -0
  104. package/src/tests/shapes/circle.test.tsx +47 -0
  105. package/src/tests/shapes/label.test.tsx +101 -0
  106. package/src/tests/shapes/rectangle.test.tsx +67 -0
  107. package/src/tests/shapes/types.ts +1 -0
  108. package/src/utils.ts +57 -0
  109. package/tsconfig.json +12 -0
  110. package/vite.config.ts +34 -0
  111. package/vitetest.config.ts +11 -0
@@ -0,0 +1,901 @@
1
+ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
+
3
+ exports[`Branch labels > renders a tree branchlabels - polar 1`] = `
4
+ {
5
+ "asFragment": [Function],
6
+ "baseElement": <body>
7
+ <div>
8
+ <svg
9
+ data-testid="figure"
10
+ height="400px"
11
+ width="400px"
12
+ xmlns="http://www.w3.org/2000/svg"
13
+ >
14
+ <g>
15
+ <g
16
+ transform="translate(10,10)"
17
+ >
18
+ <g
19
+ class="branch-layer"
20
+ >
21
+ <path
22
+ d="M 191.0442564366689 190 C191.0442564366689,190 186.399298787742,253.16276972672102 184.07681996327852,284.7441545900815 C184.07681996327852,284.7441545900815 182.9155805510468,300.5348470217618 182.33496084493095,308.4301932376019 C182.33496084493095,308.4301932376019 182.04465099187303,312.37786634552197 181.89949606534407,314.351702899482 C181.89949606534407,314.351702899482 181.82691860207956,315.338621176462 181.79062987044733,315.832080314952 C181.79062987044733,315.832080314952 181.77248550463122,316.078809884197 181.76341332172314,316.20217466881957 C181.76341332172314,316.20217466881957 181.75434113881508,316.32553945344205 181.75434113881508,316.32553945344205 "
23
+ fill="none"
24
+ stroke="black"
25
+ stroke-width="2"
26
+ />
27
+ <path
28
+ d="M 181.75434113881508 316.32553945344205 C247.8501082366655,321.1861882228226 306.51906010557065,274.27508823362695 316.31858118777706,208.729335348547 C316.31858118777706,208.729335348547 347.6371623755541,213.41166918568376 363.2964529694426,215.75283610425214 C363.2964529694426,215.75283610425214 371.12609826638686,216.92341956353633 375.040920914859,217.5087112931784 C375.040920914859,217.5087112931784 376.998332239095,217.80135715799946 377.97703790121307,217.94768009041 C377.97703790121307,217.94768009041 378.4663907322721,218.02084155661527 378.7110671478016,218.0574222897179 C378.7110671478016,218.0574222897179 378.9557435633311,218.09400302282052 378.9557435633311,218.09400302282052 "
29
+ fill="none"
30
+ stroke="black"
31
+ stroke-width="2"
32
+ />
33
+ <path
34
+ d="M 181.75434113881508 316.32553945344205 C115.65857404096461,311.4648906840615 64.4833022968594,256.4759029000588 64.37775041784722,190.20173603608833 C64.37775041784722,190.20173603608833 32.7111239131418,190.2521700451104 16.877810660789084,190.27738704962144 C16.877810660789084,190.27738704962144 8.961154034612727,190.28999555187698 5.002825721524549,190.29629980300473 C5.002825721524549,190.29629980300473 3.02366156498046,190.2994519285686 2.034079486708415,190.30102799135057 C2.034079486708415,190.30102799135057 1.539288447572393,190.30181602274155 1.2918929280043818,190.302210038437 C1.2918929280043818,190.302210038437 1.0444974084363707,190.3026040541325 1.0444974084363707,190.3026040541325 "
35
+ fill="none"
36
+ stroke="black"
37
+ stroke-width="2"
38
+ />
39
+ <path
40
+ d="M 191.0442564366689 190 C191.0442564366689,190 222.3477640962031,185.21793078393245 237.9995179259702,182.82689617589867 C237.9995179259702,182.82689617589867 245.82539484085373,181.6313788718818 249.73833329829552,181.03362021987334 C249.73833329829552,181.03362021987334 251.6948025270164,180.73474089386912 252.67303714137685,180.585301230867 C252.67303714137685,180.585301230867 253.1621544485571,180.51058139936595 253.4067131021472,180.47322148361542 C253.4067131021472,180.47322148361542 253.52899242894225,180.45454152574015 253.5901320923398,180.44520154680254 C253.5901320923398,180.44520154680254 253.6512717557373,180.4358615678649 253.6512717557373,180.4358615678649 "
41
+ fill="none"
42
+ stroke="black"
43
+ stroke-width="2"
44
+ />
45
+ </g>
46
+ <g
47
+ class="branch-layer"
48
+ >
49
+ <g>
50
+ <text
51
+ alignment-baseline="baseline"
52
+ text-anchor="middle"
53
+ transform="translate(180.41545744521054,252.722721107349) rotate(-85.79406886544032)"
54
+ >
55
+ Label!
56
+ </text>
57
+ </g>
58
+ <g>
59
+ <text
60
+ alignment-baseline="baseline"
61
+ text-anchor="middle"
62
+ transform="translate(353.5712093374487,212.52449014285784) rotate(8.503114598040845)"
63
+ >
64
+ Label!
65
+ </text>
66
+ </g>
67
+ <g>
68
+ <text
69
+ alignment-baseline="baseline"
70
+ text-anchor="middle"
71
+ transform="translate(32.701567995642876,184.25217765474517) rotate(-0.0912523289214846)"
72
+ >
73
+ Label!
74
+ </text>
75
+ </g>
76
+ <g>
77
+ <text
78
+ alignment-baseline="baseline"
79
+ text-anchor="middle"
80
+ transform="translate(221.44168782368504,179.28673985896808) rotate(351.31438074411614)"
81
+ >
82
+ Label!
83
+ </text>
84
+ </g>
85
+ </g>
86
+ </g>
87
+ </g>
88
+ </svg>
89
+ </div>
90
+ </body>,
91
+ "container": <div>
92
+ <svg
93
+ data-testid="figure"
94
+ height="400px"
95
+ width="400px"
96
+ xmlns="http://www.w3.org/2000/svg"
97
+ >
98
+ <g>
99
+ <g
100
+ transform="translate(10,10)"
101
+ >
102
+ <g
103
+ class="branch-layer"
104
+ >
105
+ <path
106
+ d="M 191.0442564366689 190 C191.0442564366689,190 186.399298787742,253.16276972672102 184.07681996327852,284.7441545900815 C184.07681996327852,284.7441545900815 182.9155805510468,300.5348470217618 182.33496084493095,308.4301932376019 C182.33496084493095,308.4301932376019 182.04465099187303,312.37786634552197 181.89949606534407,314.351702899482 C181.89949606534407,314.351702899482 181.82691860207956,315.338621176462 181.79062987044733,315.832080314952 C181.79062987044733,315.832080314952 181.77248550463122,316.078809884197 181.76341332172314,316.20217466881957 C181.76341332172314,316.20217466881957 181.75434113881508,316.32553945344205 181.75434113881508,316.32553945344205 "
107
+ fill="none"
108
+ stroke="black"
109
+ stroke-width="2"
110
+ />
111
+ <path
112
+ d="M 181.75434113881508 316.32553945344205 C247.8501082366655,321.1861882228226 306.51906010557065,274.27508823362695 316.31858118777706,208.729335348547 C316.31858118777706,208.729335348547 347.6371623755541,213.41166918568376 363.2964529694426,215.75283610425214 C363.2964529694426,215.75283610425214 371.12609826638686,216.92341956353633 375.040920914859,217.5087112931784 C375.040920914859,217.5087112931784 376.998332239095,217.80135715799946 377.97703790121307,217.94768009041 C377.97703790121307,217.94768009041 378.4663907322721,218.02084155661527 378.7110671478016,218.0574222897179 C378.7110671478016,218.0574222897179 378.9557435633311,218.09400302282052 378.9557435633311,218.09400302282052 "
113
+ fill="none"
114
+ stroke="black"
115
+ stroke-width="2"
116
+ />
117
+ <path
118
+ d="M 181.75434113881508 316.32553945344205 C115.65857404096461,311.4648906840615 64.4833022968594,256.4759029000588 64.37775041784722,190.20173603608833 C64.37775041784722,190.20173603608833 32.7111239131418,190.2521700451104 16.877810660789084,190.27738704962144 C16.877810660789084,190.27738704962144 8.961154034612727,190.28999555187698 5.002825721524549,190.29629980300473 C5.002825721524549,190.29629980300473 3.02366156498046,190.2994519285686 2.034079486708415,190.30102799135057 C2.034079486708415,190.30102799135057 1.539288447572393,190.30181602274155 1.2918929280043818,190.302210038437 C1.2918929280043818,190.302210038437 1.0444974084363707,190.3026040541325 1.0444974084363707,190.3026040541325 "
119
+ fill="none"
120
+ stroke="black"
121
+ stroke-width="2"
122
+ />
123
+ <path
124
+ d="M 191.0442564366689 190 C191.0442564366689,190 222.3477640962031,185.21793078393245 237.9995179259702,182.82689617589867 C237.9995179259702,182.82689617589867 245.82539484085373,181.6313788718818 249.73833329829552,181.03362021987334 C249.73833329829552,181.03362021987334 251.6948025270164,180.73474089386912 252.67303714137685,180.585301230867 C252.67303714137685,180.585301230867 253.1621544485571,180.51058139936595 253.4067131021472,180.47322148361542 C253.4067131021472,180.47322148361542 253.52899242894225,180.45454152574015 253.5901320923398,180.44520154680254 C253.5901320923398,180.44520154680254 253.6512717557373,180.4358615678649 253.6512717557373,180.4358615678649 "
125
+ fill="none"
126
+ stroke="black"
127
+ stroke-width="2"
128
+ />
129
+ </g>
130
+ <g
131
+ class="branch-layer"
132
+ >
133
+ <g>
134
+ <text
135
+ alignment-baseline="baseline"
136
+ text-anchor="middle"
137
+ transform="translate(180.41545744521054,252.722721107349) rotate(-85.79406886544032)"
138
+ >
139
+ Label!
140
+ </text>
141
+ </g>
142
+ <g>
143
+ <text
144
+ alignment-baseline="baseline"
145
+ text-anchor="middle"
146
+ transform="translate(353.5712093374487,212.52449014285784) rotate(8.503114598040845)"
147
+ >
148
+ Label!
149
+ </text>
150
+ </g>
151
+ <g>
152
+ <text
153
+ alignment-baseline="baseline"
154
+ text-anchor="middle"
155
+ transform="translate(32.701567995642876,184.25217765474517) rotate(-0.0912523289214846)"
156
+ >
157
+ Label!
158
+ </text>
159
+ </g>
160
+ <g>
161
+ <text
162
+ alignment-baseline="baseline"
163
+ text-anchor="middle"
164
+ transform="translate(221.44168782368504,179.28673985896808) rotate(351.31438074411614)"
165
+ >
166
+ Label!
167
+ </text>
168
+ </g>
169
+ </g>
170
+ </g>
171
+ </g>
172
+ </svg>
173
+ </div>,
174
+ "debug": [Function],
175
+ "findAllByAltText": [Function],
176
+ "findAllByDisplayValue": [Function],
177
+ "findAllByLabelText": [Function],
178
+ "findAllByPlaceholderText": [Function],
179
+ "findAllByRole": [Function],
180
+ "findAllByTestId": [Function],
181
+ "findAllByText": [Function],
182
+ "findAllByTitle": [Function],
183
+ "findByAltText": [Function],
184
+ "findByDisplayValue": [Function],
185
+ "findByLabelText": [Function],
186
+ "findByPlaceholderText": [Function],
187
+ "findByRole": [Function],
188
+ "findByTestId": [Function],
189
+ "findByText": [Function],
190
+ "findByTitle": [Function],
191
+ "getAllByAltText": [Function],
192
+ "getAllByDisplayValue": [Function],
193
+ "getAllByLabelText": [Function],
194
+ "getAllByPlaceholderText": [Function],
195
+ "getAllByRole": [Function],
196
+ "getAllByTestId": [Function],
197
+ "getAllByText": [Function],
198
+ "getAllByTitle": [Function],
199
+ "getByAltText": [Function],
200
+ "getByDisplayValue": [Function],
201
+ "getByLabelText": [Function],
202
+ "getByPlaceholderText": [Function],
203
+ "getByRole": [Function],
204
+ "getByTestId": [Function],
205
+ "getByText": [Function],
206
+ "getByTitle": [Function],
207
+ "queryAllByAltText": [Function],
208
+ "queryAllByDisplayValue": [Function],
209
+ "queryAllByLabelText": [Function],
210
+ "queryAllByPlaceholderText": [Function],
211
+ "queryAllByRole": [Function],
212
+ "queryAllByTestId": [Function],
213
+ "queryAllByText": [Function],
214
+ "queryAllByTitle": [Function],
215
+ "queryByAltText": [Function],
216
+ "queryByDisplayValue": [Function],
217
+ "queryByLabelText": [Function],
218
+ "queryByPlaceholderText": [Function],
219
+ "queryByRole": [Function],
220
+ "queryByTestId": [Function],
221
+ "queryByText": [Function],
222
+ "queryByTitle": [Function],
223
+ "rerender": [Function],
224
+ "unmount": [Function],
225
+ }
226
+ `;
227
+
228
+ exports[`Branch labels > renders a tree node labels 1`] = `
229
+ {
230
+ "asFragment": [Function],
231
+ "baseElement": <body>
232
+ <div>
233
+ <svg
234
+ data-testid="figure"
235
+ height="400px"
236
+ width="400px"
237
+ xmlns="http://www.w3.org/2000/svg"
238
+ >
239
+ <g>
240
+ <g
241
+ transform="translate(10,10)"
242
+ >
243
+ <g
244
+ class="branch-layer"
245
+ >
246
+ <path
247
+ d="M 0.001 237.5 C0.001,237.5 0,95 0,95 C0,95 126.66666666666666,95.0005 190,95.00075000000001 C190,95.00075000000001 221.66666666666666,95.00087500000001 237.5,95.0009375 C237.5,95.0009375 245.41666666666666,95.00096875 249.375,95.000984375 C249.375,95.000984375 251.35416666666666,95.0009921875 252.34375,95.00099609375 C252.34375,95.00099609375 253.33333333333331,95.001 253.33333333333331,95.001 "
248
+ fill="none"
249
+ stroke="black"
250
+ stroke-width="2"
251
+ />
252
+ <path
253
+ d="M 253.33433333333332 95 C253.33433333333332,95 253.33333333333331,0 253.33333333333331,0 C253.33333333333331,0 316.66666666666663,0.0005 348.3333333333333,0.00075 C348.3333333333333,0.00075 364.16666666666663,0.000875 372.0833333333333,0.0009375 C372.0833333333333,0.0009375 376.04166666666663,0.00096875 378.0208333333333,0.000984375 C378.0208333333333,0.000984375 379.01041666666663,0.0009921875 379.5052083333333,0.00099609375 C379.5052083333333,0.00099609375 380,0.001 380,0.001 "
254
+ fill="none"
255
+ stroke="black"
256
+ stroke-width="2"
257
+ />
258
+ <path
259
+ d="M 253.33433333333332 95 C253.33433333333332,95 253.33333333333331,190 253.33333333333331,190 C253.33333333333331,190 316.66666666666663,190.0005 348.3333333333333,190.00074999999998 C348.3333333333333,190.00074999999998 364.16666666666663,190.000875 372.0833333333333,190.00093750000002 C372.0833333333333,190.00093750000002 376.04166666666663,190.00096875000003 378.0208333333333,190.00098437500003 C378.0208333333333,190.00098437500003 379.01041666666663,190.0009921875 379.5052083333333,190.00099609375002 C379.5052083333333,190.00099609375002 380,190.001 380,190.001 "
260
+ fill="none"
261
+ stroke="black"
262
+ stroke-width="2"
263
+ />
264
+ <path
265
+ d="M 0.001 237.5 C0.001,237.5 0,380 0,380 C0,380 63.33333333333333,380.0005 95,380.00075 C95,380.00075 110.83333333333333,380.00087499999995 118.75,380.00093749999996 C118.75,380.00093749999996 122.70833333333333,380.00096874999997 124.6875,380.000984375 C124.6875,380.000984375 125.67708333333333,380.00099218749995 126.171875,380.00099609374996 C126.171875,380.00099609374996 126.66666666666666,380.001 126.66666666666666,380.001 "
266
+ fill="none"
267
+ stroke="black"
268
+ stroke-width="2"
269
+ />
270
+ </g>
271
+ <g
272
+ class="branch-layer"
273
+ >
274
+ <g>
275
+ <text
276
+ alignment-baseline="baseline"
277
+ text-anchor="middle"
278
+ transform="translate(126.66666666666666,89) rotate(0)"
279
+ >
280
+ Label!
281
+ </text>
282
+ </g>
283
+ <g>
284
+ <text
285
+ alignment-baseline="baseline"
286
+ text-anchor="middle"
287
+ transform="translate(316.66666666666663,-6) rotate(0)"
288
+ >
289
+ Label!
290
+ </text>
291
+ </g>
292
+ <g>
293
+ <text
294
+ alignment-baseline="baseline"
295
+ text-anchor="middle"
296
+ transform="translate(316.66666666666663,184) rotate(0)"
297
+ >
298
+ Label!
299
+ </text>
300
+ </g>
301
+ <g>
302
+ <text
303
+ alignment-baseline="baseline"
304
+ text-anchor="middle"
305
+ transform="translate(63.33333333333333,374) rotate(0)"
306
+ >
307
+ Label!
308
+ </text>
309
+ </g>
310
+ </g>
311
+ </g>
312
+ </g>
313
+ </svg>
314
+ </div>
315
+ </body>,
316
+ "container": <div>
317
+ <svg
318
+ data-testid="figure"
319
+ height="400px"
320
+ width="400px"
321
+ xmlns="http://www.w3.org/2000/svg"
322
+ >
323
+ <g>
324
+ <g
325
+ transform="translate(10,10)"
326
+ >
327
+ <g
328
+ class="branch-layer"
329
+ >
330
+ <path
331
+ d="M 0.001 237.5 C0.001,237.5 0,95 0,95 C0,95 126.66666666666666,95.0005 190,95.00075000000001 C190,95.00075000000001 221.66666666666666,95.00087500000001 237.5,95.0009375 C237.5,95.0009375 245.41666666666666,95.00096875 249.375,95.000984375 C249.375,95.000984375 251.35416666666666,95.0009921875 252.34375,95.00099609375 C252.34375,95.00099609375 253.33333333333331,95.001 253.33333333333331,95.001 "
332
+ fill="none"
333
+ stroke="black"
334
+ stroke-width="2"
335
+ />
336
+ <path
337
+ d="M 253.33433333333332 95 C253.33433333333332,95 253.33333333333331,0 253.33333333333331,0 C253.33333333333331,0 316.66666666666663,0.0005 348.3333333333333,0.00075 C348.3333333333333,0.00075 364.16666666666663,0.000875 372.0833333333333,0.0009375 C372.0833333333333,0.0009375 376.04166666666663,0.00096875 378.0208333333333,0.000984375 C378.0208333333333,0.000984375 379.01041666666663,0.0009921875 379.5052083333333,0.00099609375 C379.5052083333333,0.00099609375 380,0.001 380,0.001 "
338
+ fill="none"
339
+ stroke="black"
340
+ stroke-width="2"
341
+ />
342
+ <path
343
+ d="M 253.33433333333332 95 C253.33433333333332,95 253.33333333333331,190 253.33333333333331,190 C253.33333333333331,190 316.66666666666663,190.0005 348.3333333333333,190.00074999999998 C348.3333333333333,190.00074999999998 364.16666666666663,190.000875 372.0833333333333,190.00093750000002 C372.0833333333333,190.00093750000002 376.04166666666663,190.00096875000003 378.0208333333333,190.00098437500003 C378.0208333333333,190.00098437500003 379.01041666666663,190.0009921875 379.5052083333333,190.00099609375002 C379.5052083333333,190.00099609375002 380,190.001 380,190.001 "
344
+ fill="none"
345
+ stroke="black"
346
+ stroke-width="2"
347
+ />
348
+ <path
349
+ d="M 0.001 237.5 C0.001,237.5 0,380 0,380 C0,380 63.33333333333333,380.0005 95,380.00075 C95,380.00075 110.83333333333333,380.00087499999995 118.75,380.00093749999996 C118.75,380.00093749999996 122.70833333333333,380.00096874999997 124.6875,380.000984375 C124.6875,380.000984375 125.67708333333333,380.00099218749995 126.171875,380.00099609374996 C126.171875,380.00099609374996 126.66666666666666,380.001 126.66666666666666,380.001 "
350
+ fill="none"
351
+ stroke="black"
352
+ stroke-width="2"
353
+ />
354
+ </g>
355
+ <g
356
+ class="branch-layer"
357
+ >
358
+ <g>
359
+ <text
360
+ alignment-baseline="baseline"
361
+ text-anchor="middle"
362
+ transform="translate(126.66666666666666,89) rotate(0)"
363
+ >
364
+ Label!
365
+ </text>
366
+ </g>
367
+ <g>
368
+ <text
369
+ alignment-baseline="baseline"
370
+ text-anchor="middle"
371
+ transform="translate(316.66666666666663,-6) rotate(0)"
372
+ >
373
+ Label!
374
+ </text>
375
+ </g>
376
+ <g>
377
+ <text
378
+ alignment-baseline="baseline"
379
+ text-anchor="middle"
380
+ transform="translate(316.66666666666663,184) rotate(0)"
381
+ >
382
+ Label!
383
+ </text>
384
+ </g>
385
+ <g>
386
+ <text
387
+ alignment-baseline="baseline"
388
+ text-anchor="middle"
389
+ transform="translate(63.33333333333333,374) rotate(0)"
390
+ >
391
+ Label!
392
+ </text>
393
+ </g>
394
+ </g>
395
+ </g>
396
+ </g>
397
+ </svg>
398
+ </div>,
399
+ "debug": [Function],
400
+ "findAllByAltText": [Function],
401
+ "findAllByDisplayValue": [Function],
402
+ "findAllByLabelText": [Function],
403
+ "findAllByPlaceholderText": [Function],
404
+ "findAllByRole": [Function],
405
+ "findAllByTestId": [Function],
406
+ "findAllByText": [Function],
407
+ "findAllByTitle": [Function],
408
+ "findByAltText": [Function],
409
+ "findByDisplayValue": [Function],
410
+ "findByLabelText": [Function],
411
+ "findByPlaceholderText": [Function],
412
+ "findByRole": [Function],
413
+ "findByTestId": [Function],
414
+ "findByText": [Function],
415
+ "findByTitle": [Function],
416
+ "getAllByAltText": [Function],
417
+ "getAllByDisplayValue": [Function],
418
+ "getAllByLabelText": [Function],
419
+ "getAllByPlaceholderText": [Function],
420
+ "getAllByRole": [Function],
421
+ "getAllByTestId": [Function],
422
+ "getAllByText": [Function],
423
+ "getAllByTitle": [Function],
424
+ "getByAltText": [Function],
425
+ "getByDisplayValue": [Function],
426
+ "getByLabelText": [Function],
427
+ "getByPlaceholderText": [Function],
428
+ "getByRole": [Function],
429
+ "getByTestId": [Function],
430
+ "getByText": [Function],
431
+ "getByTitle": [Function],
432
+ "queryAllByAltText": [Function],
433
+ "queryAllByDisplayValue": [Function],
434
+ "queryAllByLabelText": [Function],
435
+ "queryAllByPlaceholderText": [Function],
436
+ "queryAllByRole": [Function],
437
+ "queryAllByTestId": [Function],
438
+ "queryAllByText": [Function],
439
+ "queryAllByTitle": [Function],
440
+ "queryByAltText": [Function],
441
+ "queryByDisplayValue": [Function],
442
+ "queryByLabelText": [Function],
443
+ "queryByPlaceholderText": [Function],
444
+ "queryByRole": [Function],
445
+ "queryByTestId": [Function],
446
+ "queryByText": [Function],
447
+ "queryByTitle": [Function],
448
+ "rerender": [Function],
449
+ "unmount": [Function],
450
+ }
451
+ `;
452
+
453
+ exports[`Branch labels > renders a tree node labels in radial layout 1`] = `
454
+ {
455
+ "asFragment": [Function],
456
+ "baseElement": <body>
457
+ <div>
458
+ <svg
459
+ data-testid="figure"
460
+ height="400px"
461
+ width="400px"
462
+ xmlns="http://www.w3.org/2000/svg"
463
+ >
464
+ <g>
465
+ <g
466
+ transform="translate(10,10)"
467
+ >
468
+ <g
469
+ class="branch-layer"
470
+ >
471
+ <path
472
+ d="M 303.9999492243224 284.97489210109876 C303.9999492243224,284.97489210109876 227.99989844864467,189.9497842021975 227.99989844864467,189.9497842021975 C227.99989844864467,189.9497842021975 189.9998730608058,142.43723025274684 170.99986036688637,118.68095327802152 C170.99986036688637,118.68095327802152 161.49985401992666,106.80281479065886 156.7498508464468,100.86374554697753 C156.7498508464468,100.86374554697753 154.37484925970688,97.89421092513686 153.1873484663369,96.40944361421654 C153.1873484663369,96.40944361421654 152.59359806965193,95.66705995875637 152.29672287130944,95.29586813102628 C152.29672287130944,95.29586813102628 151.99984767296695,94.92467630329621 151.99984767296695,94.92467630329621 "
473
+ fill="none"
474
+ stroke="black"
475
+ stroke-width="2"
476
+ />
477
+ <path
478
+ d="M 151.99984767296695 94.92467630329621 C151.99984767296695,94.92467630329621 190.12010533393422,47.462338151648105 190.12010533393422,47.462338151648105 C190.12010533393422,47.462338151648105 209.18023416441787,23.731169075824052 218.71029857965968,11.865584537912026 C218.71029857965968,11.865584537912026 223.4753307872806,5.932792268956013 225.85784689109104,2.9663961344780065 C225.85784689109104,2.9663961344780065 227.04910494299628,1.4831980672390033 227.64473396894888,0.7415990336195016 C227.64473396894888,0.7415990336195016 227.9425484819252,0.3707995168097508 228.09145573841334,0.1853997584048754 C228.09145573841334,0.1853997584048754 228.2403629949015,0 228.2403629949015,0 "
479
+ fill="none"
480
+ stroke="black"
481
+ stroke-width="2"
482
+ />
483
+ <path
484
+ d="M 151.99984767296695 94.92467630329621 C151.99984767296695,94.92467630329621 75.99992383648348,95.0249491830781 75.99992383648348,95.0249491830781 C75.99992383648348,95.0249491830781 37.99996191824174,95.07508562296906 18.99998095912087,95.10015384291452 C18.99998095912087,95.10015384291452 9.499990479560434,95.11268795288726 4.749995239780217,95.11895500787364 C4.749995239780217,95.11895500787364 2.3749976198901086,95.12208853536683 1.1874988099450543,95.12365529911341 C1.1874988099450543,95.12365529911341 0.5937494049725272,95.12443868098671 0.2968747024862636,95.12483037192337 C0.2968747024862636,95.12483037192337 0,95.12522206286 0,95.12522206286 "
485
+ fill="none"
486
+ stroke="black"
487
+ stroke-width="2"
488
+ />
489
+ <path
490
+ d="M 303.9999492243224 284.97489210109876 C303.9999492243224,284.97489210109876 341.99997461216117,332.48744605054935 341.99997461216117,332.48744605054935 C341.99997461216117,332.48744605054935 360.9999873060806,356.2437230252747 370.4999936530403,368.12186151263734 C370.4999936530403,368.12186151263734 375.24999682652015,374.06093075631867 377.6249984132601,377.0304653781593 C377.6249984132601,377.0304653781593 378.81249920663004,378.51523268907965 379.406249603315,379.2576163445398 C379.406249603315,379.2576163445398 379.7031248016575,379.62880817226994 379.85156240082875,379.81440408613497 C379.85156240082875,379.81440408613497 380,380 380,380 "
491
+ fill="none"
492
+ stroke="black"
493
+ stroke-width="2"
494
+ />
495
+ </g>
496
+ <g
497
+ class="branch-layer"
498
+ >
499
+ <g>
500
+ <text
501
+ alignment-baseline="baseline"
502
+ text-anchor="middle"
503
+ transform="translate(227.99989844864467,183.9497842021975) rotate(0)"
504
+ >
505
+ Label!
506
+ </text>
507
+ </g>
508
+ <g>
509
+ <text
510
+ alignment-baseline="baseline"
511
+ text-anchor="middle"
512
+ transform="translate(190.12010533393422,41.462338151648105) rotate(0)"
513
+ >
514
+ Label!
515
+ </text>
516
+ </g>
517
+ <g>
518
+ <text
519
+ alignment-baseline="baseline"
520
+ text-anchor="middle"
521
+ transform="translate(75.99992383648348,89.0249491830781) rotate(0)"
522
+ >
523
+ Label!
524
+ </text>
525
+ </g>
526
+ <g>
527
+ <text
528
+ alignment-baseline="baseline"
529
+ text-anchor="middle"
530
+ transform="translate(341.99997461216117,326.48744605054935) rotate(0)"
531
+ >
532
+ Label!
533
+ </text>
534
+ </g>
535
+ </g>
536
+ </g>
537
+ </g>
538
+ </svg>
539
+ </div>
540
+ </body>,
541
+ "container": <div>
542
+ <svg
543
+ data-testid="figure"
544
+ height="400px"
545
+ width="400px"
546
+ xmlns="http://www.w3.org/2000/svg"
547
+ >
548
+ <g>
549
+ <g
550
+ transform="translate(10,10)"
551
+ >
552
+ <g
553
+ class="branch-layer"
554
+ >
555
+ <path
556
+ d="M 303.9999492243224 284.97489210109876 C303.9999492243224,284.97489210109876 227.99989844864467,189.9497842021975 227.99989844864467,189.9497842021975 C227.99989844864467,189.9497842021975 189.9998730608058,142.43723025274684 170.99986036688637,118.68095327802152 C170.99986036688637,118.68095327802152 161.49985401992666,106.80281479065886 156.7498508464468,100.86374554697753 C156.7498508464468,100.86374554697753 154.37484925970688,97.89421092513686 153.1873484663369,96.40944361421654 C153.1873484663369,96.40944361421654 152.59359806965193,95.66705995875637 152.29672287130944,95.29586813102628 C152.29672287130944,95.29586813102628 151.99984767296695,94.92467630329621 151.99984767296695,94.92467630329621 "
557
+ fill="none"
558
+ stroke="black"
559
+ stroke-width="2"
560
+ />
561
+ <path
562
+ d="M 151.99984767296695 94.92467630329621 C151.99984767296695,94.92467630329621 190.12010533393422,47.462338151648105 190.12010533393422,47.462338151648105 C190.12010533393422,47.462338151648105 209.18023416441787,23.731169075824052 218.71029857965968,11.865584537912026 C218.71029857965968,11.865584537912026 223.4753307872806,5.932792268956013 225.85784689109104,2.9663961344780065 C225.85784689109104,2.9663961344780065 227.04910494299628,1.4831980672390033 227.64473396894888,0.7415990336195016 C227.64473396894888,0.7415990336195016 227.9425484819252,0.3707995168097508 228.09145573841334,0.1853997584048754 C228.09145573841334,0.1853997584048754 228.2403629949015,0 228.2403629949015,0 "
563
+ fill="none"
564
+ stroke="black"
565
+ stroke-width="2"
566
+ />
567
+ <path
568
+ d="M 151.99984767296695 94.92467630329621 C151.99984767296695,94.92467630329621 75.99992383648348,95.0249491830781 75.99992383648348,95.0249491830781 C75.99992383648348,95.0249491830781 37.99996191824174,95.07508562296906 18.99998095912087,95.10015384291452 C18.99998095912087,95.10015384291452 9.499990479560434,95.11268795288726 4.749995239780217,95.11895500787364 C4.749995239780217,95.11895500787364 2.3749976198901086,95.12208853536683 1.1874988099450543,95.12365529911341 C1.1874988099450543,95.12365529911341 0.5937494049725272,95.12443868098671 0.2968747024862636,95.12483037192337 C0.2968747024862636,95.12483037192337 0,95.12522206286 0,95.12522206286 "
569
+ fill="none"
570
+ stroke="black"
571
+ stroke-width="2"
572
+ />
573
+ <path
574
+ d="M 303.9999492243224 284.97489210109876 C303.9999492243224,284.97489210109876 341.99997461216117,332.48744605054935 341.99997461216117,332.48744605054935 C341.99997461216117,332.48744605054935 360.9999873060806,356.2437230252747 370.4999936530403,368.12186151263734 C370.4999936530403,368.12186151263734 375.24999682652015,374.06093075631867 377.6249984132601,377.0304653781593 C377.6249984132601,377.0304653781593 378.81249920663004,378.51523268907965 379.406249603315,379.2576163445398 C379.406249603315,379.2576163445398 379.7031248016575,379.62880817226994 379.85156240082875,379.81440408613497 C379.85156240082875,379.81440408613497 380,380 380,380 "
575
+ fill="none"
576
+ stroke="black"
577
+ stroke-width="2"
578
+ />
579
+ </g>
580
+ <g
581
+ class="branch-layer"
582
+ >
583
+ <g>
584
+ <text
585
+ alignment-baseline="baseline"
586
+ text-anchor="middle"
587
+ transform="translate(227.99989844864467,183.9497842021975) rotate(0)"
588
+ >
589
+ Label!
590
+ </text>
591
+ </g>
592
+ <g>
593
+ <text
594
+ alignment-baseline="baseline"
595
+ text-anchor="middle"
596
+ transform="translate(190.12010533393422,41.462338151648105) rotate(0)"
597
+ >
598
+ Label!
599
+ </text>
600
+ </g>
601
+ <g>
602
+ <text
603
+ alignment-baseline="baseline"
604
+ text-anchor="middle"
605
+ transform="translate(75.99992383648348,89.0249491830781) rotate(0)"
606
+ >
607
+ Label!
608
+ </text>
609
+ </g>
610
+ <g>
611
+ <text
612
+ alignment-baseline="baseline"
613
+ text-anchor="middle"
614
+ transform="translate(341.99997461216117,326.48744605054935) rotate(0)"
615
+ >
616
+ Label!
617
+ </text>
618
+ </g>
619
+ </g>
620
+ </g>
621
+ </g>
622
+ </svg>
623
+ </div>,
624
+ "debug": [Function],
625
+ "findAllByAltText": [Function],
626
+ "findAllByDisplayValue": [Function],
627
+ "findAllByLabelText": [Function],
628
+ "findAllByPlaceholderText": [Function],
629
+ "findAllByRole": [Function],
630
+ "findAllByTestId": [Function],
631
+ "findAllByText": [Function],
632
+ "findAllByTitle": [Function],
633
+ "findByAltText": [Function],
634
+ "findByDisplayValue": [Function],
635
+ "findByLabelText": [Function],
636
+ "findByPlaceholderText": [Function],
637
+ "findByRole": [Function],
638
+ "findByTestId": [Function],
639
+ "findByText": [Function],
640
+ "findByTitle": [Function],
641
+ "getAllByAltText": [Function],
642
+ "getAllByDisplayValue": [Function],
643
+ "getAllByLabelText": [Function],
644
+ "getAllByPlaceholderText": [Function],
645
+ "getAllByRole": [Function],
646
+ "getAllByTestId": [Function],
647
+ "getAllByText": [Function],
648
+ "getAllByTitle": [Function],
649
+ "getByAltText": [Function],
650
+ "getByDisplayValue": [Function],
651
+ "getByLabelText": [Function],
652
+ "getByPlaceholderText": [Function],
653
+ "getByRole": [Function],
654
+ "getByTestId": [Function],
655
+ "getByText": [Function],
656
+ "getByTitle": [Function],
657
+ "queryAllByAltText": [Function],
658
+ "queryAllByDisplayValue": [Function],
659
+ "queryAllByLabelText": [Function],
660
+ "queryAllByPlaceholderText": [Function],
661
+ "queryAllByRole": [Function],
662
+ "queryAllByTestId": [Function],
663
+ "queryAllByText": [Function],
664
+ "queryAllByTitle": [Function],
665
+ "queryByAltText": [Function],
666
+ "queryByDisplayValue": [Function],
667
+ "queryByLabelText": [Function],
668
+ "queryByPlaceholderText": [Function],
669
+ "queryByRole": [Function],
670
+ "queryByTestId": [Function],
671
+ "queryByText": [Function],
672
+ "queryByTitle": [Function],
673
+ "rerender": [Function],
674
+ "unmount": [Function],
675
+ }
676
+ `;
677
+
678
+ exports[`Branch labels > renders a tree with aligned Node labels and a function for text 1`] = `
679
+ {
680
+ "asFragment": [Function],
681
+ "baseElement": <body>
682
+ <div>
683
+ <svg
684
+ data-testid="figure"
685
+ height="400px"
686
+ width="400px"
687
+ xmlns="http://www.w3.org/2000/svg"
688
+ >
689
+ <g>
690
+ <g
691
+ transform="translate(10,10)"
692
+ >
693
+ <g
694
+ class="branch-layer"
695
+ >
696
+ <path
697
+ d="M 0.001 237.5 C0.001,237.5 0,95 0,95 C0,95 126.66666666666666,95.0005 190,95.00075000000001 C190,95.00075000000001 221.66666666666666,95.00087500000001 237.5,95.0009375 C237.5,95.0009375 245.41666666666666,95.00096875 249.375,95.000984375 C249.375,95.000984375 251.35416666666666,95.0009921875 252.34375,95.00099609375 C252.34375,95.00099609375 253.33333333333331,95.001 253.33333333333331,95.001 "
698
+ fill="none"
699
+ stroke="black"
700
+ stroke-width="2"
701
+ />
702
+ <path
703
+ d="M 253.33433333333332 95 C253.33433333333332,95 253.33333333333331,0 253.33333333333331,0 C253.33333333333331,0 316.66666666666663,0.0005 348.3333333333333,0.00075 C348.3333333333333,0.00075 364.16666666666663,0.000875 372.0833333333333,0.0009375 C372.0833333333333,0.0009375 376.04166666666663,0.00096875 378.0208333333333,0.000984375 C378.0208333333333,0.000984375 379.01041666666663,0.0009921875 379.5052083333333,0.00099609375 C379.5052083333333,0.00099609375 380,0.001 380,0.001 "
704
+ fill="none"
705
+ stroke="black"
706
+ stroke-width="2"
707
+ />
708
+ <path
709
+ d="M 253.33433333333332 95 C253.33433333333332,95 253.33333333333331,190 253.33333333333331,190 C253.33333333333331,190 316.66666666666663,190.0005 348.3333333333333,190.00074999999998 C348.3333333333333,190.00074999999998 364.16666666666663,190.000875 372.0833333333333,190.00093750000002 C372.0833333333333,190.00093750000002 376.04166666666663,190.00096875000003 378.0208333333333,190.00098437500003 C378.0208333333333,190.00098437500003 379.01041666666663,190.0009921875 379.5052083333333,190.00099609375002 C379.5052083333333,190.00099609375002 380,190.001 380,190.001 "
710
+ fill="none"
711
+ stroke="black"
712
+ stroke-width="2"
713
+ />
714
+ <path
715
+ d="M 0.001 237.5 C0.001,237.5 0,380 0,380 C0,380 63.33333333333333,380.0005 95,380.00075 C95,380.00075 110.83333333333333,380.00087499999995 118.75,380.00093749999996 C118.75,380.00093749999996 122.70833333333333,380.00096874999997 124.6875,380.000984375 C124.6875,380.000984375 125.67708333333333,380.00099218749995 126.171875,380.00099609374996 C126.171875,380.00099609374996 126.66666666666666,380.001 126.66666666666666,380.001 "
716
+ fill="none"
717
+ stroke="black"
718
+ stroke-width="2"
719
+ />
720
+ </g>
721
+ <g
722
+ class="branch-layer"
723
+ >
724
+ <g>
725
+ <text
726
+ alignment-baseline="baseline"
727
+ text-anchor="middle"
728
+ transform="translate(126.66666666666666,89) rotate(0)"
729
+ >
730
+ 1
731
+ </text>
732
+ </g>
733
+ <g>
734
+ <text
735
+ alignment-baseline="baseline"
736
+ text-anchor="middle"
737
+ transform="translate(316.66666666666663,-6) rotate(0)"
738
+ >
739
+ 2
740
+ </text>
741
+ </g>
742
+ <g>
743
+ <text
744
+ alignment-baseline="baseline"
745
+ text-anchor="middle"
746
+ transform="translate(316.66666666666663,184) rotate(0)"
747
+ >
748
+ 3
749
+ </text>
750
+ </g>
751
+ <g>
752
+ <text
753
+ alignment-baseline="baseline"
754
+ text-anchor="middle"
755
+ transform="translate(63.33333333333333,374) rotate(0)"
756
+ >
757
+ 4
758
+ </text>
759
+ </g>
760
+ </g>
761
+ </g>
762
+ </g>
763
+ </svg>
764
+ </div>
765
+ </body>,
766
+ "container": <div>
767
+ <svg
768
+ data-testid="figure"
769
+ height="400px"
770
+ width="400px"
771
+ xmlns="http://www.w3.org/2000/svg"
772
+ >
773
+ <g>
774
+ <g
775
+ transform="translate(10,10)"
776
+ >
777
+ <g
778
+ class="branch-layer"
779
+ >
780
+ <path
781
+ d="M 0.001 237.5 C0.001,237.5 0,95 0,95 C0,95 126.66666666666666,95.0005 190,95.00075000000001 C190,95.00075000000001 221.66666666666666,95.00087500000001 237.5,95.0009375 C237.5,95.0009375 245.41666666666666,95.00096875 249.375,95.000984375 C249.375,95.000984375 251.35416666666666,95.0009921875 252.34375,95.00099609375 C252.34375,95.00099609375 253.33333333333331,95.001 253.33333333333331,95.001 "
782
+ fill="none"
783
+ stroke="black"
784
+ stroke-width="2"
785
+ />
786
+ <path
787
+ d="M 253.33433333333332 95 C253.33433333333332,95 253.33333333333331,0 253.33333333333331,0 C253.33333333333331,0 316.66666666666663,0.0005 348.3333333333333,0.00075 C348.3333333333333,0.00075 364.16666666666663,0.000875 372.0833333333333,0.0009375 C372.0833333333333,0.0009375 376.04166666666663,0.00096875 378.0208333333333,0.000984375 C378.0208333333333,0.000984375 379.01041666666663,0.0009921875 379.5052083333333,0.00099609375 C379.5052083333333,0.00099609375 380,0.001 380,0.001 "
788
+ fill="none"
789
+ stroke="black"
790
+ stroke-width="2"
791
+ />
792
+ <path
793
+ d="M 253.33433333333332 95 C253.33433333333332,95 253.33333333333331,190 253.33333333333331,190 C253.33333333333331,190 316.66666666666663,190.0005 348.3333333333333,190.00074999999998 C348.3333333333333,190.00074999999998 364.16666666666663,190.000875 372.0833333333333,190.00093750000002 C372.0833333333333,190.00093750000002 376.04166666666663,190.00096875000003 378.0208333333333,190.00098437500003 C378.0208333333333,190.00098437500003 379.01041666666663,190.0009921875 379.5052083333333,190.00099609375002 C379.5052083333333,190.00099609375002 380,190.001 380,190.001 "
794
+ fill="none"
795
+ stroke="black"
796
+ stroke-width="2"
797
+ />
798
+ <path
799
+ d="M 0.001 237.5 C0.001,237.5 0,380 0,380 C0,380 63.33333333333333,380.0005 95,380.00075 C95,380.00075 110.83333333333333,380.00087499999995 118.75,380.00093749999996 C118.75,380.00093749999996 122.70833333333333,380.00096874999997 124.6875,380.000984375 C124.6875,380.000984375 125.67708333333333,380.00099218749995 126.171875,380.00099609374996 C126.171875,380.00099609374996 126.66666666666666,380.001 126.66666666666666,380.001 "
800
+ fill="none"
801
+ stroke="black"
802
+ stroke-width="2"
803
+ />
804
+ </g>
805
+ <g
806
+ class="branch-layer"
807
+ >
808
+ <g>
809
+ <text
810
+ alignment-baseline="baseline"
811
+ text-anchor="middle"
812
+ transform="translate(126.66666666666666,89) rotate(0)"
813
+ >
814
+ 1
815
+ </text>
816
+ </g>
817
+ <g>
818
+ <text
819
+ alignment-baseline="baseline"
820
+ text-anchor="middle"
821
+ transform="translate(316.66666666666663,-6) rotate(0)"
822
+ >
823
+ 2
824
+ </text>
825
+ </g>
826
+ <g>
827
+ <text
828
+ alignment-baseline="baseline"
829
+ text-anchor="middle"
830
+ transform="translate(316.66666666666663,184) rotate(0)"
831
+ >
832
+ 3
833
+ </text>
834
+ </g>
835
+ <g>
836
+ <text
837
+ alignment-baseline="baseline"
838
+ text-anchor="middle"
839
+ transform="translate(63.33333333333333,374) rotate(0)"
840
+ >
841
+ 4
842
+ </text>
843
+ </g>
844
+ </g>
845
+ </g>
846
+ </g>
847
+ </svg>
848
+ </div>,
849
+ "debug": [Function],
850
+ "findAllByAltText": [Function],
851
+ "findAllByDisplayValue": [Function],
852
+ "findAllByLabelText": [Function],
853
+ "findAllByPlaceholderText": [Function],
854
+ "findAllByRole": [Function],
855
+ "findAllByTestId": [Function],
856
+ "findAllByText": [Function],
857
+ "findAllByTitle": [Function],
858
+ "findByAltText": [Function],
859
+ "findByDisplayValue": [Function],
860
+ "findByLabelText": [Function],
861
+ "findByPlaceholderText": [Function],
862
+ "findByRole": [Function],
863
+ "findByTestId": [Function],
864
+ "findByText": [Function],
865
+ "findByTitle": [Function],
866
+ "getAllByAltText": [Function],
867
+ "getAllByDisplayValue": [Function],
868
+ "getAllByLabelText": [Function],
869
+ "getAllByPlaceholderText": [Function],
870
+ "getAllByRole": [Function],
871
+ "getAllByTestId": [Function],
872
+ "getAllByText": [Function],
873
+ "getAllByTitle": [Function],
874
+ "getByAltText": [Function],
875
+ "getByDisplayValue": [Function],
876
+ "getByLabelText": [Function],
877
+ "getByPlaceholderText": [Function],
878
+ "getByRole": [Function],
879
+ "getByTestId": [Function],
880
+ "getByText": [Function],
881
+ "getByTitle": [Function],
882
+ "queryAllByAltText": [Function],
883
+ "queryAllByDisplayValue": [Function],
884
+ "queryAllByLabelText": [Function],
885
+ "queryAllByPlaceholderText": [Function],
886
+ "queryAllByRole": [Function],
887
+ "queryAllByTestId": [Function],
888
+ "queryAllByText": [Function],
889
+ "queryAllByTitle": [Function],
890
+ "queryByAltText": [Function],
891
+ "queryByDisplayValue": [Function],
892
+ "queryByLabelText": [Function],
893
+ "queryByPlaceholderText": [Function],
894
+ "queryByRole": [Function],
895
+ "queryByTestId": [Function],
896
+ "queryByText": [Function],
897
+ "queryByTitle": [Function],
898
+ "rerender": [Function],
899
+ "unmount": [Function],
900
+ }
901
+ `;