mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 23:09:49 +02:00
changed tspan as default of sequence actor text placement
This commit is contained in:
@@ -34,8 +34,8 @@ var conf = {
|
|||||||
// width of activation box
|
// width of activation box
|
||||||
activationWidth:10,
|
activationWidth:10,
|
||||||
|
|
||||||
//text placement as: tspan | fo | <else> only text as before
|
//text placement as: tspan | fo | old only text as before
|
||||||
textPlacement: 'fo',
|
textPlacement: 'tspan',
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.bounds = {
|
exports.bounds = {
|
||||||
|
@@ -326,6 +326,6 @@ var _drawTextCandidateFunc = (function() {
|
|||||||
|
|
||||||
return function(conf) {
|
return function(conf) {
|
||||||
return conf.textPlacement==='fo' ? byFo : (
|
return conf.textPlacement==='fo' ? byFo : (
|
||||||
conf.textPlacement==='tspan' ? byTspan : byText);
|
conf.textPlacement==='old' ? byText: byTspan);
|
||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
Reference in New Issue
Block a user