-
-
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
feat: add name field to the actors #5284
Conversation
✅ Deploy Preview for mermaid-js ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #5284 +/- ##
========================================
Coverage 79.14% 79.15%
========================================
Files 175 175
Lines 14512 14516 +4
Branches 866 867 +1
========================================
+ Hits 11486 11490 +4
Misses 2823 2823
Partials 203 203
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@sidharthv96 friendly reminder :) |
Any update on this PR? |
Was really busy. This should be out in 10.9.0 soon. |
Awesome thanks @sidharthv96 |
📑 Summary
name
field to the actors for easier identification in SVG nodes.sequence.html
cc @sidharthv96
📏 Design Decisions
The final goal is to make the overall API better as mentioned in #5017 (comment), this is an alternative to get the attributes easily from
svg
since right now there is no way to identify both actor nodes belonging to one particular actor as there is no unique identifier. Hence I am adding aname
identifier so the nodes can be identified in SVG easily as well.📋 Tasks
Make sure you
MERMAID_RELEASE_VERSION
is used for all new features.develop
branch