Skip to content

Arrows are too short in timeline #6610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Adam-Antios opened this issue May 21, 2025 · 0 comments · May be fixed by #6616
Open

Arrows are too short in timeline #6610

Adam-Antios opened this issue May 21, 2025 · 0 comments · May be fixed by #6616
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@Adam-Antios
Copy link

Description

If you have a lot of stacked fields in a timeline then the arrows get too short.

Steps to reproduce

Run the sample code or create a timeline with a lot of stacked fields.

Screenshots

Image

Code Sample

---
config:
    theme: base
    themeVariables:
        fontFamily: Fira Sans
        fontSize: 17px
        cScale0: '#b3cde0'
        cScale1: '#f49090'
        cScale2: '#85d5b8'
---

timeline
    title Medical Device Lifecycle
    section Planning
        Quality Management System (4): Regulatory Compliance (4.1.1)
            : Risk Management (4.1.2)
        Management Resposibility (5): Planning Activities (5.4)
            : Management Reviews (5.6)
         Resource Management (6): Human Resources (6.2)
            : Infrastructure (6.3)
    section Realization
        Research and Development (7.3): RnD Planning (7.3.2)
            : Inputs (7.3.3)
            : Outputs (7.3.4)
            : Review (7.3.5)
            : Verification (7.3.6)
            : Validation (7.3.7)
        Purchasing (7.4): Purchasing Process (7.4.1)
            : Purchasing Information (7.4.2)
        Production (7.5): Production Activities (7.5.1)
            : Production Feedback (8.2.1)
        Installation (7.5.3): Installation Activities (7.5.3)
        Servicing (7.5.4): Servicing Activities (7.5.4)
    section Post-Production
        Post-Market Activities (8): Feedback (8.2.1)
            : Complaints (8.2.2)
            : Adverse Events (8.2.3)

Setup

No response

Suggested Solutions

No response

Additional Context

No response

@Adam-Antios Adam-Antios added Type: Bug / Error Something isn't working or is incorrect Status: Triage Needs to be verified, categorized, etc labels May 21, 2025
@Adam-Antios Adam-Antios changed the title Arrows to short in timeline Arrows are too short in timeline May 22, 2025
ashishjain0512 added a commit that referenced this issue May 26, 2025
…rrowheads

- Fixed inconsistent vertical line lengths in timeline diagrams
- All vertical lines now extend to same depth regardless of event count
- Added sufficient padding for clear visibility of dashed lines and arrowheads
- Added comprehensive test case and demo example

Fixes #6610
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant