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

Feature/1233 set height of text on edge #6214

Draft
wants to merge 26 commits into
base: develop
Choose a base branch
from

Conversation

megantriplett
Copy link

📑 Summary

Brief description about the content of your PR.

Resolves #

📏 Design Decisions

Describe the way your implementation works or what design decisions you made if applicable.

📋 Tasks

Make sure you

  • 📖 have read the contribution guidelines
  • 💻 have added necessary unit/e2e tests.
  • 📓 have added documentation. Make sure MERMAID_RELEASE_VERSION is used for all new features.
  • 🦋 If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Copy link

changeset-bot bot commented Jan 22, 2025

⚠️ No Changeset found

Latest commit: 80c28dc

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the Type: Enhancement New feature or request label Jan 22, 2025
Copy link

netlify bot commented Jan 22, 2025

Deploy Preview for mermaid-js ready!

Name Link
🔨 Latest commit 80c28dc
🔍 Latest deploy log https://app.netlify.com/sites/mermaid-js/deploys/67a6700dea734f000806ab53
😎 Deploy Preview https://deploy-preview-6214--mermaid-js.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 site configuration.

Copy link

pkg-pr-new bot commented Jan 22, 2025

Open in Stackblitz

npm i https://pkg.pr.new/mermaid-js/mermaid@6214
npm i https://pkg.pr.new/mermaid-js/mermaid/@mermaid-js/layout-elk@6214
npm i https://pkg.pr.new/mermaid-js/mermaid/@mermaid-js/mermaid-zenuml@6214
npm i https://pkg.pr.new/mermaid-js/mermaid/@mermaid-js/parser@6214

commit: 80c28dc

Copy link

codecov bot commented Jan 22, 2025

Codecov Report

Attention: Patch coverage is 0.33175% with 4206 lines in your changes missing coverage. Please review.

Project coverage is 4.46%. Comparing base (d16e46a) to head (80c28dc).
Report is 280 commits behind head on develop.

Files with missing lines Patch % Lines
packages/mermaid/src/diagrams/flowchart/flowDb.ts 0.00% 999 Missing ⚠️
packages/mermaid/src/diagrams/class/classDb.ts 0.00% 689 Missing ⚠️
packages/mermaid/src/diagrams/kanban/kanbanDb.ts 0.00% 253 Missing ⚠️
packages/mermaid/src/diagrams/class/shapeUtil.ts 0.00% 223 Missing ⚠️
...ndering-util/rendering-elements/shapes/classBox.ts 0.00% 207 Missing ⚠️
...aid/src/rendering-util/rendering-elements/edges.js 0.00% 187 Missing ⚠️
...ering-util/rendering-elements/shapes/kanbanItem.ts 0.00% 163 Missing ⚠️
.../src/rendering-util/rendering-elements/clusters.js 0.00% 119 Missing ⚠️
...c/rendering-util/rendering-elements/shapes/util.ts 0.00% 113 Missing ⚠️
packages/mermaid/src/diagrams/kanban/styles.ts 0.00% 109 Missing ⚠️
... and 92 more
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           develop   #6214      +/-   ##
==========================================
- Coverage     4.64%   4.46%   -0.19%     
==========================================
  Files          374     384      +10     
  Lines        51965   54323    +2358     
  Branches       613     623      +10     
==========================================
+ Hits          2414    2425      +11     
- Misses       49551   51898    +2347     
Flag Coverage Δ
unit 4.46% <0.33%> (-0.19%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
packages/mermaid/src/defaultConfig.ts 45.38% <100.00%> (+0.61%) ⬆️
...ages/mermaid/src/diagrams/sankey/sankeyRenderer.ts 0.00% <ø> (ø)
...ages/mermaid/src/diagrams/state/stateDiagram-v2.ts 0.00% <ø> (ø)
...ackages/mermaid/src/diagrams/state/stateDiagram.ts 0.00% <ø> (ø)
...ackages/mermaid/src/docs/.vitepress/theme/index.ts 0.00% <ø> (ø)
scripts/tsc-check.ts 0.00% <ø> (ø)
.build/jsonSchema.ts 0.00% <0.00%> (ø)
.../src/diagrams/flowchart/flowRenderer-v3-unified.ts 0.00% <0.00%> (ø)
packages/mermaid/src/docs/.vitepress/config.ts 0.00% <0.00%> (ø)
packages/mermaid/src/mermaidAPI.ts 0.00% <0.00%> (ø)
... and 98 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants