Skip to content

Arrow crossing in ELK flowchart #4458

@anchernyaev

Description

@anchernyaev

Description

The arrows are crossing in ELK flowchart diagram.
The default render has not this problem.

Does mermaid has extra config or other workarounds?

Steps to reproduce

Example with trouble in Live editor

Example with default render has not this problem in Live editor

Screenshots

image

Code Sample

%%{ init : { "flowchart" :  {"defaultRenderer": "elk" }}}%%
flowchart TD
    Start(Start) --> A
    A{Node A?} --> |No| B
    B{Node B?} -->|No| C
    B -->|Yes| F
    C{Node C?} -->|No| D
    C -->|Yes| E
    E{Node E?} -->|Yes| D
    E --> |No| F(Node F)
    D{Node D?} --> |No| G
    D --> |Yes| H
    H{Node H?} --> |Yes| I
    H{Node H?} --> |No| M
    I(Node I) --> M
    M{Node M?} --> |Yes| K(Node K)
    M{Node M?} --> |No| F
    G{Node G?} --> |Yes| Z

Setup

  • Mermaid version: 10.2.2
  • Browser and Version: Chrome

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageNeeds to be verified, categorized, etcType: Bug / ErrorSomething isn't working or is incorrect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions