diff --git a/build/js/dld4e-process.js b/build/js/dld4e-process.js index 434b6f94..b6bc32e3 100644 --- a/build/js/dld4e-process.js +++ b/build/js/dld4e-process.js @@ -147,9 +147,9 @@ function textPositions(x1, y1, x2, y2, fontSize) { rightMiddle: { x: x2 - (fontSize/2), y: y1 + (y2 - y1)/2, textAnchor: "middle", rotate: 90 }, rightBottom: { x: x2 - (fontSize/2), y: y2 - (fontSize/4), textAnchor: "end", rotate: 90 }, - bottomLeft: { x: x1 + (fontSize/4), y: y2 , textAnchor: "start", rotate: 0 }, - bottomMiddle: { x: (x2 - x1)/2 + x1 , y: y2, textAnchor: "middle", rotate: 0 }, - bottomRight: { x: x2 - (fontSize/4), y: y2 , textAnchor: "end", rotate: 0 }, + bottomLeft: { x: x1 + (fontSize/4), y: y2 - (fontSize/2), textAnchor: "start", rotate: 0 }, + bottomMiddle: { x: (x2 - x1)/2 + x1 , y: y2 - (fontSize/2), textAnchor: "middle", rotate: 0 }, + bottomRight: { x: x2 - (fontSize/4), y: y2 - (fontSize/2), textAnchor: "end", rotate: 0 }, center: { x: (x2 - x1)/2 + x1 , y: y1 + (y2 - y1)/2 , textAnchor: "middle", rotate: 0 }, } diff --git a/examples/sample.yaml b/examples/sample.yaml index f8f15a9d..d1d960c8 100644 --- a/examples/sample.yaml +++ b/examples/sample.yaml @@ -1,4 +1,4 @@ -#1:36 +#1:45 diagram: fill: "#3d3935" columns: 5 diff --git a/templates/aws-filled.yaml b/templates/aws-filled.yaml index 3a0daf60..664ef179 100644 --- a/templates/aws-filled.yaml +++ b/templates/aws-filled.yaml @@ -2,7 +2,6 @@ diagram: fill: "#FF9900" rows: 5 columns: 5 - gridPaddingInner: .05 aspectRatio: "17:11" gridLines: false title: