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

Nodes aren't aligned properly (just need an explanation) #568

Closed
ghost opened this issue Sep 1, 2017 · 1 comment
Closed

Nodes aren't aligned properly (just need an explanation) #568

ghost opened this issue Sep 1, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 1, 2017

Hi ! first of all thank you for this amazing library. I've decided to use it in one of my project. I needed to build a process tree and your library suits that perfectly.

Today, while testing, we found a strange error : some nodes aren't aligned properly. I think that I should just show it to you :

mermaid_error

As you can see in the last row, on the right side of the perfect middle, some nodes aren't aligned properly (the arrow goes farer than expected).

My boss asked me to find why it does that, and I legit tried to read each file of the source, but after a couple of hours, I gave up.

All I need to know is why it does that, and not to correct it (for now at least). I thought that it was a symmetry issue since the arrow next door is behaving as silly as this one. But why would it put the symmetry line not in the middle ?

Thank you in advance for any help on that !

@tylerlong
Copy link
Collaborator

Sorry for the late reply but flowchart layout is powered by https://github.com/dagrejs/dagre and https://github.com/dagrejs/dagre-d3. Maybe you can find an answer there.

mgenereu pushed a commit to mgenereu/mermaid that referenced this issue Jun 25, 2022
…yarn/develop/daisyui-1.21.0

chore(deps): bump daisyui from 1.19.0 to 1.21.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant