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

Connector lines in elk diagram is different in some cases #6131

Open
furqanms opened this issue Dec 13, 2024 · 0 comments
Open

Connector lines in elk diagram is different in some cases #6131

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

Comments

@furqanms
Copy link

furqanms commented Dec 13, 2024

Description

it is not render correctly

flowchart TD

	X["Lorem Ipsum is simply dummy text of the printing and typesetting industry."]
	Z["Lorem Ipsum is simply dummy text of the printing and typesetting industry."]

subgraph A ["Lorem Ipsum is simply dummy text of the printing and typesetting industry."]
	X
end


subgraph B ["Lorem Ipsum is simply dummy text of the printing and typesetting industry."]
	Z
end

	X -->|"Lorem Ipsum is simply dummy text of the printing and typesetting industry."| Z 
	X -->|"Lorem Ipsum is simply dummy text of the printing and typesetting industry."| Z
	X -->|"Lorem Ipsum is simply dummy text of the printing and typesetting industry."| Z
	X -->|"Lorem Ipsum is simply dummy text of the printing and typesetting industry."| Z
	X -->|"Lorem Ipsum is simply dummy text of the printing and typesetting industry."| Z
	X -->|"Lorem Ipsum is simply dummy text of the printing and typesetting industry."| Z


linkStyle 0 stroke-width:4px 
linkStyle 1 stroke-width:4px 
linkStyle 2 stroke-width:4px 
linkStyle 3 stroke-width:4px 
linkStyle 4 stroke-width:4px 
linkStyle 5 stroke-width:4px 


classDef default stroke:#333,stroke-width:1px,rx:10px;
classDef group stroke:#333,stroke-width:1px,rx:10px;
{
  "theme": "default",
  "layout": "elk"
}

Where is the issue in the calculation and how to fix ?
Your suggest is valuable to me. My project is suffering due to this issue.
Thanks.

Steps to reproduce

To reproduce add configuration and mermaid code in https://mermaid.live/

Screenshots

image
image

Code Sample

As Above in the description

Setup

  • Mermaid version: 11.4.1
  • elkLayouts: 0.1.7
  • Browser and Version: [Chrome Version 131.0.6778.140 (Official Build) (64-bit)]

Suggested Solutions

No response

Additional Context

No response

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