mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-19 04:04:28 +01:00
Directive support added to journey
Fixed an issue in journey svgDraw.drawText expected an attribute (textMargin) but did not receive one and raised an error: <tspan> attribute x: Expected length, "NaN". Added parseDirective to journeyDb
This commit is contained in:
@@ -70,7 +70,8 @@ function drawActorLegend(diagram) {
|
||||
x: 40,
|
||||
y: yPos + 7,
|
||||
fill: '#666',
|
||||
text: person
|
||||
text: person,
|
||||
textMargin: conf.boxTextMargin | 5
|
||||
};
|
||||
svgDraw.drawText(diagram, labelData);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user