-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
docs: change from stateDiagram to stateDiagram-v2 #7263
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
base: develop
Are you sure you want to change the base?
Conversation
|
✅ Deploy Preview for mermaid-js ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates state diagram documentation examples to use the newer stateDiagram-v2 syntax instead of the legacy stateDiagram syntax.
- Updates four code examples in the state diagram documentation to use
stateDiagram-v2 - Maintains consistency with the rest of the documentation where
stateDiagram-v2is already the standard
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #7263 +/- ##
==========================================
- Coverage 3.57% 3.57% -0.01%
==========================================
Files 473 474 +1
Lines 47475 47486 +11
Branches 734 734
==========================================
Hits 1696 1696
- Misses 45779 45790 +11
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
@mermaid-js/examples
mermaid
@mermaid-js/layout-elk
@mermaid-js/layout-tidy-tree
@mermaid-js/mermaid-zenuml
@mermaid-js/parser
@mermaid-js/tiny
commit: |
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
|
hope the bazillion AIs liked to review those 12 markdown LOC |
📑 Summary
Change from stateDiagram to stateDiagram-v2 in the documentation
📏 Design Decisions
Simple "-v2" appending
📋 Tasks
Make sure you
MERMAID_RELEASE_VERSIONis used for all new features.pnpm changesetand following the prompts. Changesets that add features should beminorand those that fix bugs should bepatch. Please prefix changeset messages withfeat:,fix:, orchore:.