@euphrasiologist/lwphylo 1.2.11 → 1.2.12
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.
- package/dist/drawPhylogeny.cjs +17 -7
- package/dist/drawPhylogeny.cjs.map +1 -1
- package/dist/drawPhylogeny.esm.js +17 -7
- package/dist/drawPhylogeny.esm.js.map +1 -1
- package/dist/drawPhylogeny.umd.js +1 -1
- package/dist/drawPhylogeny.umd.js.map +1 -1
- package/dist/index.cjs +17 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +17 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1345,14 +1345,24 @@ function drawPhylogeny(
|
|
|
1345
1345
|
.data(rad.arcs)
|
|
1346
1346
|
.join("path")
|
|
1347
1347
|
.attr("d", (d) =>
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1348
|
+
d.sweep == null
|
|
1349
|
+
? describeArc(
|
|
1350
|
+
centerX,
|
|
1351
|
+
centerY,
|
|
1352
|
+
radiusPx(d.radius),
|
|
1353
|
+
d.start,
|
|
1354
|
+
d.end
|
|
1355
|
+
)
|
|
1356
|
+
: describeArcSweep(
|
|
1357
|
+
centerX,
|
|
1358
|
+
centerY,
|
|
1359
|
+
radiusPx(d.radius),
|
|
1360
|
+
d.start,
|
|
1361
|
+
d.end,
|
|
1362
|
+
d.sweep
|
|
1363
|
+
)
|
|
1355
1364
|
)
|
|
1365
|
+
|
|
1356
1366
|
.attr("fill", "none")
|
|
1357
1367
|
.attr("stroke", "#777")
|
|
1358
1368
|
.attr("stroke-width", strokeWidth);
|