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
72.39k stars 6.59k forks source link

multi directional arrows with mixed types don't work #1665

Open 816-8055 opened 4 years ago

816-8055 commented 4 years ago

When using different arrow types on multi directional arrows only the second head is rendered and the length is increased:

flowchart LR
    A o--> B
    B x--o C
    C <--x D
    E <--> F

see in live editor

Xyz00777 commented 2 years ago

In addition to the above, when you add text in between, then there are no arrows at all

flowchart LR
    A o--> B
    A o-- test1 --> B
    B x--o C
    B x-- test2 --o C
    C <--x D
    C <-- test3 --x D
    E <--> F
    E <-- test4 --> F

Live editor

aliouas commented 1 year ago

I am new to Mermaid and I will be working on this issue hoping to make my first contribution.