Mermaid-Chart / issue-tracker

Other
11 stars 2 forks source link

Broken graph arrow order logic #86

Open M1gael opened 3 months ago

M1gael commented 3 months ago

To Reproduce Enter the following graph LR A[Source
192.168.0.8] -->|SYN + Port 80| B[Destination
192.168.0.10] B -->|SYN/ACK| A A -->|RST| B

style A fill:#f9f,stroke:#333,stroke-width:2px
style B fill:#bbf,stroke:#333,stroke-width:2px

*Now render and observe that line 2 and 3 (Below Graph LR) are reversed and not displaying in the order expected.**

Expected behavior Two boxes should appear displaying arrows in the order : A[Source
192.168.0.8] -->|SYN + Port 80| B[Destination
192.168.0.10] B -->|SYN/ACK| A A -->|RST| B

Screenshots image

Desktop (please complete the following information):