mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 23:39:50 +02:00
Test of font-settings for correct image snapshots
This commit is contained in:
@@ -404,8 +404,6 @@ export const drawEdge = function(elem, path, relation) {
|
||||
const g = elem.append('g').attr('class', 'stateLabel');
|
||||
const label = g
|
||||
.append('text')
|
||||
.attr('class', 'label')
|
||||
.attr('fill', 'red')
|
||||
.attr('text-anchor', 'middle')
|
||||
.text(relation.title);
|
||||
const { x, y } = utils.calcLabelPosition(path.points);
|
||||
|
Reference in New Issue
Block a user