centering emoji

This commit is contained in:
Garry Ing
2021-04-25 20:38:08 -04:00
parent ccbe31e4c0
commit b62b69303b
2 changed files with 6 additions and 1 deletions

View File

@ -306,7 +306,7 @@ if (typeof window.graphData !== 'undefined') {
.text((d) => d.status)
.attr('font-size', '18px')
.attr('text-anchor', 'middle')
.attr('alignment-baseline', 'central')
.attr('dominant-baseline', 'central')
.merge(status)
node = node.data(nodesData, (d) => d.id).enter().append('circle')