mermaid-js / mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
https://mermaid.js.org
MIT License
70.14k stars 6.23k forks source link

Requirement Diagram node title overflow #5312

Open Mikek16 opened 6 months ago

Mikek16 commented 6 months ago

Description

The additional << >> on rendered Requirement diagram node titles can overflow

Steps to reproduce

Run the dev server and look at the Requirements diagram page

Screenshots

Screenshot from 2024-02-23 10-05-47

Code Sample

interfaceRequirement test_req4 {
    id: 1.2.1
    text: the fourth test text.
    risk: medium
    verifymethod: analysis
    }

Setup

Suggested Solutions

No response

Additional Context

No response

ecaromeo commented 3 months ago

The same happens with Requirement titles.

Screenshots

image