diff --git a/node_modules/commarcdiag/d019e1db56ab1d8c@1540.js b/node_modules/commarcdiag/d019e1db56ab1d8c@1540.js index fbecd70..9c031e6 100644 --- a/node_modules/commarcdiag/d019e1db56ab1d8c@1540.js +++ b/node_modules/commarcdiag/d019e1db56ab1d8c@1540.js @@ -1106,9 +1106,9 @@ function _sentenceArcsStructs_new(d3,DOM,width,margin,sentenceheight,lisid,data_ const radius = 4 const sty=24 const titleposy=15 - const titleposx=100 - const nodehpos=480 - const labelhpos=nodehpos-175 + const titleposx=margin.lef-10 //100 + const nodehpos=483 + const labelhpos=nodehpos-178 const maxlabelwidth=40 const container = d3.select(DOM.svg(width+margin.left+margin.right, sentenceheight+margin.top+margin.bottom+24)) @@ -1122,17 +1122,19 @@ function _sentenceArcsStructs_new(d3,DOM,width,margin,sentenceheight,lisid,data_ .attr("alignment-baseline", "middle") //.attr("class","text-warning") .attr("font-family", 'inherit') - .text("Frase"); + .style("text-anchor", "start") + .text("Frasi"); container .append("text") - .attr("x", titleposx+275) + .attr("x", margin.left+labelhpos) .attr("y", titleposy) .attr("text-anchor", "middle") .attr("alignment-baseline", "middle") //.attr("class","synt__label") .attr("font-family", 'inherit') - .text("Funzione e tipo"); + .style("text-anchor", "start") + .text("Funzioni e tipi"); /* container.append("style").text(`