diff --git a/cypress/platform/per.html b/cypress/platform/per.html new file mode 100644 index 000000000..4fca4c808 --- /dev/null +++ b/cypress/platform/per.html @@ -0,0 +1,82 @@ + +
+ + + + + + + ++flowchart LR +A-->B ++
+ mindmap + root + ch1 + ch2 ++ + + + + + diff --git a/packages/mermaid/src/dagre-wrapper/markers.js b/packages/mermaid/src/dagre-wrapper/markers.js index fa229d231..c231eb3e5 100644 --- a/packages/mermaid/src/dagre-wrapper/markers.js +++ b/packages/mermaid/src/dagre-wrapper/markers.js @@ -143,7 +143,7 @@ const point = (elem, type) => { .attr('id', type + '-pointEnd') .attr('class', 'marker ' + type) .attr('viewBox', '0 0 10 10') - .attr('refX', 9) + .attr('refX', 10) .attr('refY', 5) .attr('markerUnits', 'userSpaceOnUse') .attr('markerWidth', 12)