From 579e4d2df1c66d9de6f1cc6ff1965428368f121c Mon Sep 17 00:00:00 2001
From: cesare <cesare@cesares-mbp-2>
Date: Thu, 18 Jan 2024 11:31:05 +0100
Subject: [PATCH] spostate label del grafo sint

---
 node_modules/commarcdiag/d019e1db56ab1d8c@1540.js | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

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(`