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

An example of how to add UML-style triggers, guards, actions to state diagrams #5512

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

emmby
Copy link

@emmby emmby commented May 11, 2024

📑 Summary

Adds an example showing how to add text to a node below the title, specifically so that it can be used for UML-style triggers/guards/actions.

It would be nice to be able to say something like "You may use the XXX feature to add additional text to the state, for example for adding triggers, actions, and guards." But I wasn't sure what the XXX feature is called. What do you call it when you add additional lines to a mermaid box diagram using the colon? Subtitle? Label? Multiple lines?

📋 Tasks

Make sure you

Add a note about how to add triggers/guards/actions to state diagrams
Copy link

netlify bot commented May 11, 2024

Deploy Preview for mermaid-js ready!

Name Link
🔨 Latest commit 07011df
🔍 Latest deploy log https://app.netlify.com/sites/mermaid-js/deploys/66423ee4aa3a120008912a2c
😎 Deploy Preview https://deploy-preview-5512--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

codecov bot commented May 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 5.73%. Comparing base (4f64242) to head (07011df).
Report is 4 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           develop   #5512   +/-   ##
=======================================
  Coverage     5.72%   5.73%           
=======================================
  Files          278     278           
  Lines        42046   41978   -68     
  Branches       490     490           
=======================================
  Hits          2409    2409           
+ Misses       39637   39569   -68     
Flag Coverage Δ
unit 5.73% <ø> (+<0.01%) ⬆️

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

see 1 file with indirect coverage changes

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.

None yet

1 participant