Skip to content

feat: (devx/demo page) add flowchart expanded node page - #7510

Merged
knsv merged 3 commits into
mermaid-js:developfrom
lee-treehouse:flowchart-new-shapes
Apr 9, 2026
Merged

knsv merged 3 commits into
mermaid-js:developfrom
lee-treehouse:flowchart-new-shapes

Conversation

@lee-treehouse

@lee-treehouse lee-treehouse commented Mar 20, 2026 •

Copy link
Copy Markdown
Collaborator

📑 Summary

In issue #7502 we discuss a regression to node borders that has affected representing datastores in dataflow diagrams.

I wondered if it might be useful to have a dedicated flowchart shape (rails-rectangle or similar), rather than or as well as fixing the regression so borders can be customized to achieve the shape.

This PR doesn't do that :)

While I was wondering about adding new shapes, I realised i don't have an easy way to understand or visualise all the expanded node shapes that are mentioned here

So this page adds such a page, for developers, showing the expanded node shapes in their original and hand drawn versions.

CleanShot 2026-03-20 at 14 34 46@2x CleanShot 2026-03-20 at 14 36 25@2x

No changeset, e2e tests requires as this is developer facing only.

📋 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:.

@netlify

netlify Bot commented Mar 20, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for mermaid-js ready!

Name Link
🔨 Latest commit 10bc6c5
🔍 Latest deploy log https://app.netlify.com/projects/mermaid-js/deploys/69d7718a81369f00084515b0
😎 Deploy Preview https://deploy-preview-7510--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 project configuration.

@changeset-bot

changeset-bot Bot commented Mar 20, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 10bc6c5

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

@pkg-pr-new

pkg-pr-new Bot commented Mar 20, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@mermaid-js/examples

npm i https://pkg.pr.new/@mermaid-js/examples@7510

mermaid

npm i https://pkg.pr.new/mermaid@7510

@mermaid-js/layout-elk

npm i https://pkg.pr.new/@mermaid-js/layout-elk@7510

@mermaid-js/layout-tidy-tree

npm i https://pkg.pr.new/@mermaid-js/layout-tidy-tree@7510

@mermaid-js/mermaid-zenuml

npm i https://pkg.pr.new/@mermaid-js/mermaid-zenuml@7510

@mermaid-js/parser

npm i https://pkg.pr.new/@mermaid-js/parser@7510

@mermaid-js/tiny

npm i https://pkg.pr.new/@mermaid-js/tiny@7510

commit: 10bc6c5

@argos-ci

argos-ci Bot commented Mar 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ⚠️ Changes detected (Review) 2 changed Apr 9, 2026, 9:41 AM

@codecov

codecov Bot commented Mar 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 3.33%. Comparing base (49938d6) to head (10bc6c5).
⚠️ Report is 6 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           develop   #7510      +/-   ##
==========================================
- Coverage     3.33%   3.33%   -0.01%     
==========================================
  Files          535     536       +1     
  Lines        56238   56249      +11     
  Branches       820     820              
==========================================
  Hits          1876    1876              
- Misses       54362   54373      +11     
Flag Coverage Δ
unit 3.33% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes

🚀 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.

@lee-treehouse lee-treehouse mentioned this pull request Mar 26, 2026
4 tasks done
@knsv
knsv enabled auto-merge April 9, 2026 09:30
@knsv
knsv added this pull request to the merge queue Apr 9, 2026
Merged via the queue into mermaid-js:develop with commit 57e5f54 Apr 9, 2026
22 of 23 checks passed
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.

3 participants