Skip to content

how to display a long string text for node? #5794

Answered by aloisklink
furyNerd asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @furyNerd, this is a known bug with the Firefox web browser, see #5785 and #5787

As a temporary work-around, you can set config.flowchart.htmlLabels: false which works around this issue, e.g.

---
config:
    flowchart:
        htmlLabels: false
---
graph LR
    a-->b[12345678901234567890123]
    c-->d[123456789012345678901234]

See https://mermaid.live/edit#pako:eNp1jrkOwjAQRH8l2jqWuA8XVJSpoMQUi72JI_mIHFsIRfl3DElDwVSzqzfSG0B6RcCBMSac9K5uGy5ckVMb_5QaQ5zvT3S0psIHmZ4XNZqehPsOm4CdLqrLRCJjp8dtuVpvtrv94bj4afeJkZlR_5jNHUqwFCy2KrsNn4mAqMmSAJ6rohqTiQKEGzOKKfrry0ngMSQqIfjUaOBfwxJSpzDSucVsaefv-AYzDkqD

Alternatively, you could try an older version of Mermaid, e.g. https://cdn.jsdelivr.net/npm/merm…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@furyNerd
Comment options

Answer selected by furyNerd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants