make default sequence numbers a little smaller

This commit is contained in:
Bland, Paul
2018-08-23 14:30:47 -04:00
parent 8035572fac
commit 0fdddfe548
2 changed files with 4 additions and 4 deletions

View File

@@ -266,10 +266,10 @@ const drawMessage = function (elem, startx, stopx, verticalPos, msg, sequenceInd
if (conf.showSequenceNumbers) { if (conf.showSequenceNumbers) {
line.attr('marker-start', 'url(' + url + '#sequencenumber)') line.attr('marker-start', 'url(' + url + '#sequencenumber)')
g.append('text') g.append('text')
.attr('x', startx - 1) .attr('x', startx)
.attr('y', verticalPos + 5) .attr('y', verticalPos + 4)
.attr('font-family', 'sans-serif') .attr('font-family', 'sans-serif')
.attr('font-size', '16px') .attr('font-size', '12px')
.attr('text-anchor', 'middle') .attr('text-anchor', 'middle')
.attr('textLength', '16px') .attr('textLength', '16px')
.attr('class', 'sequenceNumber') .attr('class', 'sequenceNumber')

View File

@@ -195,7 +195,7 @@ export const insertSequenceNumber = function (elem) {
.append('circle') .append('circle')
.attr('cx', 15) .attr('cx', 15)
.attr('cy', 15) .attr('cy', 15)
.attr('r', 7) .attr('r', 6)
// .style("fill", '#f00'); // .style("fill", '#f00');
} }
/** /**