Vertical line starts from the top of the participant box instead of the bottom #5716
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
In a sequence diagram, for each participant there is a vertical line (lifeline/timeline) dropping from participant box to the bottom.
This line should start from the bottom edge of the participant. But in the current implementation the vertical line starts from the top.
With most themes, this is not an issue because the participant box has a non-transparent fill color that hides the line crossing through the box. But if we use rough mode (For example, in the live editor), the line gets visible, that looks a bit ugly.
Take this simple example:
In the live editor, check Rough slider to enabled. You will see the vertical line going across the participants boxes at the top. The bottom ones are correct.
Inspecting the SVG, it looks like the y1 of the line is set to
5
instead of setting it to theheight
of the box.Instead of participant, if we change to Actor, this works correctly. So, I believe this is an issue specific to participant rendering only.
Steps to reproduce
Screenshots
Code Sample
Setup
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: