Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrows don't turn to the node side when curve is stepAfter #6138

Open
Clopos-Rovshan-Badirkhanov opened this issue Dec 19, 2024 · 0 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@Clopos-Rovshan-Badirkhanov

Description

The direction of arrows is wrong. They should turned to the node side

I don't is it issue of Mermaid itself or Mermaid plugin or WebStorm. So I'm starting here :)

Steps to reproduce

  1. Create some md file
  2. Copypaste the provided code

Screenshots

image

Code Sample

%%{
    init: {
        'fontFamily': 'monospace',
        'flowchart': {
            'curve': 'stepAfter'
        }
    }
}%%
flowchart TD
    D(DISH)
    D1(DISH)
    P(Preparation)
    G(Good)
    G1(Good)
    I(Ingredient)
    I1(Ingredient)
    S(Store)
    S ---> G
    S ---> G1
    S ---> I
    S ---> I1
    D --> D1
    P --> D
    G --> D
    I --> D
    G1 --> P
    I1 --> P

Setup

Suggested Solutions

No response

Additional Context

No response

@Clopos-Rovshan-Badirkhanov Clopos-Rovshan-Badirkhanov added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

1 participant