feat: redo draw state labels algo

This commit is contained in:
Azgaar 2024-10-19 13:22:48 +02:00
parent 0f1bfeec29
commit 9c393f73b9
5 changed files with 142 additions and 131 deletions

View file

@ -122,7 +122,7 @@ function editLabel() {
function redrawLabelPath() {
const path = byId("textPath_" + elSelected.attr("id"));
lineGen.curve(d3.curveBundle.beta(1));
lineGen.curve(d3.curveNatural);
const points = [];
debug
.select("#controlPoints")