spostate label del grafo sint
This commit is contained in:
parent
cdbaadf82e
commit
579e4d2df1
|
@ -1106,9 +1106,9 @@ function _sentenceArcsStructs_new(d3,DOM,width,margin,sentenceheight,lisid,data_
|
||||||
const radius = 4
|
const radius = 4
|
||||||
const sty=24
|
const sty=24
|
||||||
const titleposy=15
|
const titleposy=15
|
||||||
const titleposx=100
|
const titleposx=margin.lef-10 //100
|
||||||
const nodehpos=480
|
const nodehpos=483
|
||||||
const labelhpos=nodehpos-175
|
const labelhpos=nodehpos-178
|
||||||
const maxlabelwidth=40
|
const maxlabelwidth=40
|
||||||
const container = d3.select(DOM.svg(width+margin.left+margin.right,
|
const container = d3.select(DOM.svg(width+margin.left+margin.right,
|
||||||
sentenceheight+margin.top+margin.bottom+24))
|
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("alignment-baseline", "middle")
|
||||||
//.attr("class","text-warning")
|
//.attr("class","text-warning")
|
||||||
.attr("font-family", 'inherit')
|
.attr("font-family", 'inherit')
|
||||||
.text("Frase");
|
.style("text-anchor", "start")
|
||||||
|
.text("Frasi");
|
||||||
|
|
||||||
container
|
container
|
||||||
.append("text")
|
.append("text")
|
||||||
.attr("x", titleposx+275)
|
.attr("x", margin.left+labelhpos)
|
||||||
.attr("y", titleposy)
|
.attr("y", titleposy)
|
||||||
.attr("text-anchor", "middle")
|
.attr("text-anchor", "middle")
|
||||||
.attr("alignment-baseline", "middle")
|
.attr("alignment-baseline", "middle")
|
||||||
//.attr("class","synt__label")
|
//.attr("class","synt__label")
|
||||||
.attr("font-family", 'inherit')
|
.attr("font-family", 'inherit')
|
||||||
.text("Funzione e tipo");
|
.style("text-anchor", "start")
|
||||||
|
.text("Funzioni e tipi");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
container.append("style").text(`
|
container.append("style").text(`
|
||||||
|
|
Loading…
Reference in New Issue