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

Elk rendering of Diamond shape can have incorrect intersection calculations #6080

Closed
knsv opened this issue Nov 25, 2024 · 0 comments · Fixed by #6081
Closed

Elk rendering of Diamond shape can have incorrect intersection calculations #6080

knsv opened this issue Nov 25, 2024 · 0 comments · Fixed by #6081
Assignees
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@knsv
Copy link
Collaborator

knsv commented Nov 25, 2024

Description

image

Steps to reproduce

---
config:
  layout: elk
---
flowchart LR
 subgraph s1["Untitled subgraph"]
        n1["Evaluate"]
        n2["Option 1"]
        n3["Option 2"]
        n4["fa:fa-car Option 3"]
  end
 subgraph s2["Untitled subgraph"]
        n5["Evaluate"]
        n6["Option 1"]
        n7["Option 2"]
        n8["fa:fa-car Option 3"]
  end
    A["Start"] -- Some text --> B("Continue")
    B --> C{"Evaluate"}
    C -- One --> D["Option 1"]
    C -- Two --> E["Option 2"]
    C -- Three --> F["fa:fa-car Option 3"]
    n1 -- One --> n2
    n1 -- Two --> n3
    n1 -- Three --> n4
    n5 -- One --> n6
    n5 -- Two --> n7
    n5 -- Three --> n8
    n1@{ shape: diam}
    n2@{ shape: rect}
    n3@{ shape: rect}
    n4@{ shape: rect}
    n5@{ shape: diam}
    n6@{ shape: rect}
    n7@{ shape: rect}
    n8@{ shape: rect}```

### Screenshots

_No response_

### Code Sample

_No response_

### Setup

- Mermaid version:
- Browser and Version: [Chrome, Edge, Firefox]

### Suggested Solutions

_No response_

### Additional Context

_No response_
@knsv knsv added Type: Bug / Error Something isn't working or is incorrect Status: Triage Needs to be verified, categorized, etc labels Nov 25, 2024
@knsv knsv self-assigned this Nov 25, 2024
knsv added a commit that referenced this issue Nov 25, 2024
@ashishjain0512 ashishjain0512 mentioned this issue Nov 27, 2024
4 tasks
Shahir-47 pushed a commit to SeniorSeniorMath-SciLib2k24/mermaid that referenced this issue Dec 5, 2024
Shahir-47 pushed a commit to SeniorSeniorMath-SciLib2k24/mermaid that referenced this issue Dec 5, 2024
Shahir-47 pushed a commit to SeniorSeniorMath-SciLib2k24/mermaid that referenced this issue Dec 5, 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

Successfully merging a pull request may close this issue.

1 participant