-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Add history nodes to state diagram #5700
base: develop
Are you sure you want to change the base?
Add history nodes to state diagram #5700
Conversation
✅ Deploy Preview for mermaid-js ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #5700 +/- ##
==========================================
- Coverage 4.49% 4.49% -0.01%
==========================================
Files 382 383 +1
Lines 53914 53997 +83
Branches 621 622 +1
==========================================
Hits 2425 2425
- Misses 51489 51572 +83
Flags with carried forward coverage won't be shown. Click here to find out more.
|
The latest updates on your projects. Learn more about Argos notifications ↗︎ Waiting for the first build to start… |
cba730e
to
9b161b6
Compare
🦋 Changeset detectedLatest commit: e453aea The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
9b161b6
to
2dbeec2
Compare
2dbeec2
to
228c987
Compare
commit: |
228c987
to
855de7b
Compare
855de7b
to
9c8f5fb
Compare
ba34ed9
to
2f300c5
Compare
2f300c5
to
832c538
Compare
832c538
to
e453aea
Compare
📑 Summary
This PR adds shallow and deep history nodes to state diagrams. I also updated the docs and added a test case.
Resolves #2901
📏 Design Decisions
Defining a history node works similar to creating a fork or a join. Use
<<history>>
or<<deephistory>>
to mark a state as a history node. You can also use the shorthand variants<<H>>
and<<H*>>
.Example:
📋 Tasks
Make sure you
MERMAID_RELEASE_VERSION
is used for all new features.develop
branch