-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
PR 1482 redux #1484
PR 1482 redux #1484
Conversation
…nder cleanup helper dom elements before rendering
1474 missplaced transitions
…ping enabled and disabled
Thank, I am glad you took the time. Will merge, then results wil show up here. |
Ideally percy should run for all PRs but it only runs for PRs from members. |
Ah. I've never had the need to pay for github. Maybe this could be my impetus. |
Grr. I thought I had |
Found the issue. As always. Simple fix. |
Some of the detected changes is due to some fonmt setting that is not set properly. The member thing is beeing a member is mermaid. If you want I can invite you, then you can commit to this branch and percy will trigger without my involvement. If to you our slack channel and ping knsv, then I will invite you. |
📑 Summary
Take a look. I don't have access to Percy (Looks neat) for your project.
I also fixed the issue you saw with loop titles not wrapping. I set the default for loop titles to always wrap no matter what. I'm not sure if this should really be configurable as all it can really do is make the diagram look really bad if it's unwrapped.
Resolves #1483
📏 Design Decisions
Lots and lots of maths.
I added some naughty functions to sequenceDiagram's config object. The merging of config from mermaidAPI/etc should not affect it. The reason for the functions are to simplify getting a font object for calculating text dimensions and for wrapping text.