Skip to content

Mermaid test branch #3824

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

Closed
wants to merge 4 commits into from
Closed

Mermaid test branch #3824

wants to merge 4 commits into from

Conversation

brandtkeller
Copy link
Member

@brandtkeller brandtkeller commented May 19, 2025

Description

Testing mermaid diagram configurations

Between v10.x and v11.x the switch (and upgrade) of the layout engine (dagre → dagre/elk, plus internal refactors) changed how ports and bend points are chosen. The algorithm now aggressively avoids node overlaps and minimizes crossings by routing the loop all the way around, yielding those giant, erratic curves instead of a tidy arc.

Related Issue

Relates to #3696

Checklist before merging

dependabot bot and others added 3 commits April 28, 2025 17:32
Bumps [dompurify](https://github.com/cure53/DOMPurify) to 3.2.5 and updates ancestor dependency [mermaid](https://github.com/mermaid-js/mermaid). These dependencies need to be updated together.


Updates `dompurify` from 3.1.6 to 3.2.5
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](cure53/DOMPurify@3.1.6...3.2.5)

Updates `mermaid` from 10.9.3 to 11.6.0
- [Release notes](https://github.com/mermaid-js/mermaid/releases)
- [Changelog](https://github.com/mermaid-js/mermaid/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/mermaid-js/mermaid/compare/[email protected])

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.2.5
  dependency-type: indirect
- dependency-name: mermaid
  dependency-version: 11.6.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Brandt Keller <[email protected]>
Copy link

netlify bot commented May 19, 2025

Deploy Preview for zarf-docs ready!

Name Link
🔨 Latest commit 2dab0d1
🔍 Latest deploy log https://app.netlify.com/projects/zarf-docs/deploys/682bb5bd3b886400086c0814
😎 Deploy Preview https://deploy-preview-3824--zarf-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

codecov bot commented May 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Signed-off-by: Brandt Keller <[email protected]>
@brandtkeller
Copy link
Member Author

Closing as none of the workarounds I tried resolved the issue with how the mermaid diagrams are now rendered (expected).

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

Successfully merging this pull request may close these issues.

1 participant