From e564c395ba7a5a9fc9a01aa22ac851d19ca8559a Mon Sep 17 00:00:00 2001 From: jayaprabhakar Date: Tue, 10 Sep 2024 13:46:35 -0700 Subject: [PATCH] Sequence Diagram: Start participant timeline from the bottom of the participant --- packages/mermaid/src/diagrams/sequence/svgDraw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mermaid/src/diagrams/sequence/svgDraw.js b/packages/mermaid/src/diagrams/sequence/svgDraw.js index 51968ef9fe..c681c94918 100644 --- a/packages/mermaid/src/diagrams/sequence/svgDraw.js +++ b/packages/mermaid/src/diagrams/sequence/svgDraw.js @@ -329,7 +329,7 @@ export const fixLifeLineHeights = (diagram, actors, actorKeys, conf) => { const drawActorTypeParticipant = function (elem, actor, conf, isFooter) { const actorY = isFooter ? actor.stopy : actor.starty; const center = actor.x + actor.width / 2; - const centerY = actorY + 5; + const centerY = actorY + actor.height; const boxplusLineGroup = elem.append('g').lower(); var g = boxplusLineGroup;