mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-08 08:39:38 +02:00
Work with loop rendering for sequence diagrams
This commit is contained in:
@@ -459,7 +459,6 @@ describe('when rendering a sequenceDiagram',function() {
|
||||
'loop Cheers\n' +
|
||||
'Bob->Alice: Fine!\n' +
|
||||
'end';
|
||||
|
||||
sq.parse(str);
|
||||
sd.draw(str,'tst');
|
||||
|
||||
|
@@ -205,7 +205,6 @@ var drawMessage = function(elem, startx, stopx, verticalPos, msg){
|
||||
.attr("stroke", "black")
|
||||
.attr("class", "link")
|
||||
.attr("marker-end", "url(#arrowhead)");
|
||||
//.attr("d", diagonal);
|
||||
}
|
||||
|
||||
g.append("text") // text label for the x axis
|
||||
@@ -214,7 +213,6 @@ var drawMessage = function(elem, startx, stopx, verticalPos, msg){
|
||||
.style("text-anchor", "middle")
|
||||
.text(msg.message);
|
||||
|
||||
//console.log('Setting message bounds');
|
||||
exports.bounds.insert(startx, exports.bounds.getVerticalPos() -10, stopx, exports.bounds.getVerticalPos());
|
||||
}
|
||||
else{
|
||||
|
Reference in New Issue
Block a user