From 9ff2b35ae05f43b5476e8511800d12a94a3f707b Mon Sep 17 00:00:00 2001 From: Tyler Long Date: Wed, 21 Oct 2015 18:07:51 +0800 Subject: [PATCH] Fix a typo: crosshead --> arrowhead Fix https://github.com/knsv/mermaid/issues/227 --- src/diagrams/sequenceDiagram/sequenceRenderer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diagrams/sequenceDiagram/sequenceRenderer.js b/src/diagrams/sequenceDiagram/sequenceRenderer.js index f343a90377..7b2f6eb875 100644 --- a/src/diagrams/sequenceDiagram/sequenceRenderer.js +++ b/src/diagrams/sequenceDiagram/sequenceRenderer.js @@ -236,7 +236,7 @@ var drawMessage = function(elem, startx, stopx, verticalPos, msg){ line.attr('stroke', 'black'); line.style('fill', 'none'); // remove any fill colour if (msg.type === sq.yy.LINETYPE.SOLID || msg.type === sq.yy.LINETYPE.DOTTED){ - line.attr('marker-end', 'url(' + url + '#crosshead)'); + line.attr('marker-end', 'url(' + url + '#arrowhead)'); } if (msg.type === sq.yy.LINETYPE.SOLID_CROSS || msg.type === sq.yy.LINETYPE.DOTTED_CROSS){