Skip to content

Arrows in sequence diagrams are drawn slightly out of position #5133

Closed
@simonborje

Description

Description

When a sequence diagram with at least two levels are drawn the line and arrow heads that connect the second (or later) level with the next is placed slightly too high compared to the "activation box", leaving a small gap between the box and the arrow. The lines connecting the first level and the second level looks good on the other hand.

Additionally, the arrow heads themselves look like they are missing the top "corner" as illustrated in a screenshot below.

Steps to reproduce

Use code sample and observe line/arrow positions.

Screenshots

First to second level (good)
image

Second to third level (slightly off)
image

Missing top "corner"
image

Code Sample

Example in live editor

Setup

  • Mermaid version: 10.6.1
  • Browser and Version: Firefox 120.0.1

Suggested Solutions

No response

Additional Context

No response

Metadata

Assignees

No one assigned

    Labels

    Status: TriageNeeds to be verified, categorized, etcType: Bug / ErrorSomething isn't working or is incorrect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions