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

Direction tag isn't working if inner node doesn't have link #5835

Open
soichisumi opened this issue Sep 7, 2024 · 0 comments
Open

Direction tag isn't working if inner node doesn't have link #5835

soichisumi opened this issue Sep 7, 2024 · 0 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@soichisumi
Copy link

Description

Direction tag isn't working if inner node doesn't have link.
As workaround, we can use invisible link.

Problem

flowchart LR
A-->B
subgraph sub
direction TB
    C
    D
    F
end
flowchart LR
A-->B
subgraph sub
direction TB
    C
    D
    F
end
Loading

Workaround

flowchart LR
A-->B
subgraph sub
direction TB
    C~~~D~~~F
end
flowchart LR
A-->B
subgraph sub
direction TB
    C~~~D~~~F
end
Loading

Steps to reproduce

described as above

Screenshots

described as above

Code Sample

described as above

Setup

  • Mermaid version: the version github is using. https://mermaid.live/ is also same.
  • Browser and Version: [Chrome]

Suggested Solutions

No response

Additional Context

No response

@soichisumi soichisumi added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Sep 7, 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