@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,327 @@
1
+ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
+
3
+ exports[`Figures > renders a single highlight 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 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 "
23
+ fill="none"
24
+ stroke="black"
25
+ stroke-width="2"
26
+ />
27
+ <path
28
+ 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 "
29
+ fill="none"
30
+ stroke="black"
31
+ stroke-width="2"
32
+ />
33
+ <path
34
+ 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 "
35
+ fill="none"
36
+ stroke="black"
37
+ stroke-width="2"
38
+ />
39
+ <path
40
+ 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 "
41
+ fill="none"
42
+ stroke="black"
43
+ stroke-width="2"
44
+ />
45
+ </g>
46
+ <g
47
+ class="node-layer"
48
+ >
49
+ <path
50
+ d="M 253.33333333333331 95 C253.33333333333331,95 380,190 380,190 C380,190 380,0 380,0 C380,0 316.66666666666663,47.5 285,71.25 C285,71.25 269.16666666666663,83.125 261.25,89.0625 C261.25,89.0625 257.29166666666663,92.03125 255.31249999999997,93.515625 C255.31249999999997,93.515625 253.33333333333331,95 253.33333333333331,95 "
51
+ fill="red"
52
+ opacity="0.5"
53
+ />
54
+ </g>
55
+ </g>
56
+ </g>
57
+ </svg>
58
+ </div>
59
+ </body>,
60
+ "container": <div>
61
+ <svg
62
+ data-testid="figure"
63
+ height="400px"
64
+ width="400px"
65
+ xmlns="http://www.w3.org/2000/svg"
66
+ >
67
+ <g>
68
+ <g
69
+ transform="translate(10,10)"
70
+ >
71
+ <g
72
+ class="branch-layer"
73
+ >
74
+ <path
75
+ 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 "
76
+ fill="none"
77
+ stroke="black"
78
+ stroke-width="2"
79
+ />
80
+ <path
81
+ 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 "
82
+ fill="none"
83
+ stroke="black"
84
+ stroke-width="2"
85
+ />
86
+ <path
87
+ 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 "
88
+ fill="none"
89
+ stroke="black"
90
+ stroke-width="2"
91
+ />
92
+ <path
93
+ 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 "
94
+ fill="none"
95
+ stroke="black"
96
+ stroke-width="2"
97
+ />
98
+ </g>
99
+ <g
100
+ class="node-layer"
101
+ >
102
+ <path
103
+ d="M 253.33333333333331 95 C253.33333333333331,95 380,190 380,190 C380,190 380,0 380,0 C380,0 316.66666666666663,47.5 285,71.25 C285,71.25 269.16666666666663,83.125 261.25,89.0625 C261.25,89.0625 257.29166666666663,92.03125 255.31249999999997,93.515625 C255.31249999999997,93.515625 253.33333333333331,95 253.33333333333331,95 "
104
+ fill="red"
105
+ opacity="0.5"
106
+ />
107
+ </g>
108
+ </g>
109
+ </g>
110
+ </svg>
111
+ </div>,
112
+ "debug": [Function],
113
+ "findAllByAltText": [Function],
114
+ "findAllByDisplayValue": [Function],
115
+ "findAllByLabelText": [Function],
116
+ "findAllByPlaceholderText": [Function],
117
+ "findAllByRole": [Function],
118
+ "findAllByTestId": [Function],
119
+ "findAllByText": [Function],
120
+ "findAllByTitle": [Function],
121
+ "findByAltText": [Function],
122
+ "findByDisplayValue": [Function],
123
+ "findByLabelText": [Function],
124
+ "findByPlaceholderText": [Function],
125
+ "findByRole": [Function],
126
+ "findByTestId": [Function],
127
+ "findByText": [Function],
128
+ "findByTitle": [Function],
129
+ "getAllByAltText": [Function],
130
+ "getAllByDisplayValue": [Function],
131
+ "getAllByLabelText": [Function],
132
+ "getAllByPlaceholderText": [Function],
133
+ "getAllByRole": [Function],
134
+ "getAllByTestId": [Function],
135
+ "getAllByText": [Function],
136
+ "getAllByTitle": [Function],
137
+ "getByAltText": [Function],
138
+ "getByDisplayValue": [Function],
139
+ "getByLabelText": [Function],
140
+ "getByPlaceholderText": [Function],
141
+ "getByRole": [Function],
142
+ "getByTestId": [Function],
143
+ "getByText": [Function],
144
+ "getByTitle": [Function],
145
+ "queryAllByAltText": [Function],
146
+ "queryAllByDisplayValue": [Function],
147
+ "queryAllByLabelText": [Function],
148
+ "queryAllByPlaceholderText": [Function],
149
+ "queryAllByRole": [Function],
150
+ "queryAllByTestId": [Function],
151
+ "queryAllByText": [Function],
152
+ "queryAllByTitle": [Function],
153
+ "queryByAltText": [Function],
154
+ "queryByDisplayValue": [Function],
155
+ "queryByLabelText": [Function],
156
+ "queryByPlaceholderText": [Function],
157
+ "queryByRole": [Function],
158
+ "queryByTestId": [Function],
159
+ "queryByText": [Function],
160
+ "queryByTitle": [Function],
161
+ "rerender": [Function],
162
+ "unmount": [Function],
163
+ }
164
+ `;
165
+
166
+ exports[`Figures > renders a single polar highlight 1`] = `
167
+ {
168
+ "asFragment": [Function],
169
+ "baseElement": <body>
170
+ <div>
171
+ <svg
172
+ data-testid="figure"
173
+ height="400px"
174
+ width="400px"
175
+ xmlns="http://www.w3.org/2000/svg"
176
+ >
177
+ <g>
178
+ <g
179
+ transform="translate(10,10)"
180
+ >
181
+ <g
182
+ class="branch-layer"
183
+ >
184
+ <path
185
+ 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 "
186
+ fill="none"
187
+ stroke="black"
188
+ stroke-width="2"
189
+ />
190
+ <path
191
+ 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 "
192
+ fill="none"
193
+ stroke="black"
194
+ stroke-width="2"
195
+ />
196
+ <path
197
+ 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 "
198
+ fill="none"
199
+ stroke="black"
200
+ stroke-width="2"
201
+ />
202
+ <path
203
+ 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 "
204
+ fill="none"
205
+ stroke="black"
206
+ stroke-width="2"
207
+ />
208
+ </g>
209
+ <g
210
+ class="node-layer"
211
+ >
212
+ <path
213
+ d="M 181.75434113881508 316.32553945344205 C181.75434113881508,316.32553945344205 378.9557435633311,218.09400302282052 378.9557435633311,218.09400302282052 C364.25646194002144,316.41263235044033 276.2530341366638,386.7792823342337 177.1093834898882,379.4883091801629 C77.96573284311258,372.19733602609216 1.2028252269547295,289.71385435008824 1.0444974084363707,190.3026040541325 C1.0444974084363707,190.3026040541325 91.39941927362572,253.3140717537873 136.5768802062204,284.81980560361467 C136.5768802062204,284.81980560361467 159.16561067251774,300.57267252852836 170.4599759056664,308.44910599098523 C170.4599759056664,308.44910599098523 181.75434113881508,316.32553945344205 181.75434113881508,316.32553945344205 "
214
+ fill="red"
215
+ opacity="0.5"
216
+ />
217
+ </g>
218
+ </g>
219
+ </g>
220
+ </svg>
221
+ </div>
222
+ </body>,
223
+ "container": <div>
224
+ <svg
225
+ data-testid="figure"
226
+ height="400px"
227
+ width="400px"
228
+ xmlns="http://www.w3.org/2000/svg"
229
+ >
230
+ <g>
231
+ <g
232
+ transform="translate(10,10)"
233
+ >
234
+ <g
235
+ class="branch-layer"
236
+ >
237
+ <path
238
+ 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 "
239
+ fill="none"
240
+ stroke="black"
241
+ stroke-width="2"
242
+ />
243
+ <path
244
+ 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 "
245
+ fill="none"
246
+ stroke="black"
247
+ stroke-width="2"
248
+ />
249
+ <path
250
+ 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 "
251
+ fill="none"
252
+ stroke="black"
253
+ stroke-width="2"
254
+ />
255
+ <path
256
+ 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 "
257
+ fill="none"
258
+ stroke="black"
259
+ stroke-width="2"
260
+ />
261
+ </g>
262
+ <g
263
+ class="node-layer"
264
+ >
265
+ <path
266
+ d="M 181.75434113881508 316.32553945344205 C181.75434113881508,316.32553945344205 378.9557435633311,218.09400302282052 378.9557435633311,218.09400302282052 C364.25646194002144,316.41263235044033 276.2530341366638,386.7792823342337 177.1093834898882,379.4883091801629 C77.96573284311258,372.19733602609216 1.2028252269547295,289.71385435008824 1.0444974084363707,190.3026040541325 C1.0444974084363707,190.3026040541325 91.39941927362572,253.3140717537873 136.5768802062204,284.81980560361467 C136.5768802062204,284.81980560361467 159.16561067251774,300.57267252852836 170.4599759056664,308.44910599098523 C170.4599759056664,308.44910599098523 181.75434113881508,316.32553945344205 181.75434113881508,316.32553945344205 "
267
+ fill="red"
268
+ opacity="0.5"
269
+ />
270
+ </g>
271
+ </g>
272
+ </g>
273
+ </svg>
274
+ </div>,
275
+ "debug": [Function],
276
+ "findAllByAltText": [Function],
277
+ "findAllByDisplayValue": [Function],
278
+ "findAllByLabelText": [Function],
279
+ "findAllByPlaceholderText": [Function],
280
+ "findAllByRole": [Function],
281
+ "findAllByTestId": [Function],
282
+ "findAllByText": [Function],
283
+ "findAllByTitle": [Function],
284
+ "findByAltText": [Function],
285
+ "findByDisplayValue": [Function],
286
+ "findByLabelText": [Function],
287
+ "findByPlaceholderText": [Function],
288
+ "findByRole": [Function],
289
+ "findByTestId": [Function],
290
+ "findByText": [Function],
291
+ "findByTitle": [Function],
292
+ "getAllByAltText": [Function],
293
+ "getAllByDisplayValue": [Function],
294
+ "getAllByLabelText": [Function],
295
+ "getAllByPlaceholderText": [Function],
296
+ "getAllByRole": [Function],
297
+ "getAllByTestId": [Function],
298
+ "getAllByText": [Function],
299
+ "getAllByTitle": [Function],
300
+ "getByAltText": [Function],
301
+ "getByDisplayValue": [Function],
302
+ "getByLabelText": [Function],
303
+ "getByPlaceholderText": [Function],
304
+ "getByRole": [Function],
305
+ "getByTestId": [Function],
306
+ "getByText": [Function],
307
+ "getByTitle": [Function],
308
+ "queryAllByAltText": [Function],
309
+ "queryAllByDisplayValue": [Function],
310
+ "queryAllByLabelText": [Function],
311
+ "queryAllByPlaceholderText": [Function],
312
+ "queryAllByRole": [Function],
313
+ "queryAllByTestId": [Function],
314
+ "queryAllByText": [Function],
315
+ "queryAllByTitle": [Function],
316
+ "queryByAltText": [Function],
317
+ "queryByDisplayValue": [Function],
318
+ "queryByLabelText": [Function],
319
+ "queryByPlaceholderText": [Function],
320
+ "queryByRole": [Function],
321
+ "queryByTestId": [Function],
322
+ "queryByText": [Function],
323
+ "queryByTitle": [Function],
324
+ "rerender": [Function],
325
+ "unmount": [Function],
326
+ }
327
+ `;