-
-
Notifications
You must be signed in to change notification settings - Fork 8k
6617: Support Per-Link Curve Styling in Flowcharts #6744
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
6617: Support Per-Link Curve Styling in Flowcharts #6744
Conversation
Edited flowDB.ts which already had interpolate for styling links individually. Added the ability to modify this parameter using the newer @ syntax using the curve property.
🦋 Changeset detectedLatest commit: 000308c The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
✅ Deploy Preview for mermaid-js ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
@mermaid-js/examples
mermaid
@mermaid-js/layout-elk
@mermaid-js/mermaid-zenuml
@mermaid-js/parser
@mermaid-js/tiny
commit: |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #6744 +/- ##
==========================================
- Coverage 3.85% 3.70% -0.15%
==========================================
Files 455 454 -1
Lines 44772 44739 -33
Branches 707 707
==========================================
- Hits 1725 1659 -66
- Misses 43047 43080 +33
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Hi @SpecularAura , Thanks for contribution. Please add some visual tests as well in |
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.
Looks great. Can merge after some visual tests and an example in documentation is added (so people can easily know the feature exists).
Thanks for the feedback @shubham-mermaid @sidharthv96 ! I'll add visual tests and update the documentation with an example. Will push the changes shortly. |
…o feature/6617_per-link-style
@shubham-mermaid @sidharthv96 Could you have a look? |
@SpecularAura, Thank you for the contribution! |
📑 Summary
This PR introduces support for per link curve styling in flowcharts by making use of edge id as explained in this comment
Resolves #6617
📏 Design Decisions
The ability to add per link curve styles is added in the same way animate works for flowcharts
📋 Tasks
Make sure you
MERMAID_RELEASE_VERSION
is used for all new features.pnpm changeset
and following the prompts. Changesets that add features should beminor
and those that fix bugs should bepatch
. Please prefix changeset messages withfeat:
,fix:
, orchore:
.Examples: